blob: e50ac4a2c7710fd4de9eee698d566ae457a43de4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
///
/// Big Picture by Pixelarity
/// pixelarity.com | hello@pixelarity.com
/// License: pixelarity.com/license
///
/* Header */
#header {
position: fixed;
z-index: 10000;
left: 0;
top: 0;
width: 100%;
background: transparentize(_palette(bg), 0.05);
height: 3em;
line-height: 3em;
box-shadow: 0 0 0.15em 0 rgba(0,0,0,0.1);
h1 {
position: absolute;
left: 1em;
top: 0;
height: 3em;
line-height: 3em;
cursor: default;
a {
font-size: 1.25em;
}
}
nav {
position: absolute;
right: 0.5em;
top: 0;
height: 3em;
line-height: 3em;
ul {
margin: 0;
li {
display: inline-block;
margin-left: 0.5em;
font-size: 0.9em;
a {
display: block;
color: inherit;
text-decoration: none;
height: 3em;
line-height: 3em;
padding: 0 0.5em 0 0.5em;
outline: 0;
}
}
}
}
@include breakpoint('<=small') {
height: 2.5em;
line-height: 2.5em;
h1 {
text-align: center;
position: relative;
left: 0;
top: 0;
height: 2.5em;
line-height: 2.5em;
a {
font-size: 1em;
}
}
nav {
display: none;
}
}
}
body {
padding-top: 3em;
@include breakpoint('<=small') {
padding-top: 2.5em;
}
}
|