-
Notifications
You must be signed in to change notification settings - Fork 2k
/
masthead.less
82 lines (68 loc) · 1.34 KB
/
masthead.less
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
.masthead {
.clearfix();
#gradient > .vertical(@masthead-background-color-start, @masthead-background-color-end);
color: @masthead-text-color;
padding: 20px;
}
.masthead a {
color: @masthead-link-color;
}
.masthead hgroup,
.masthead nav {
float: left;
}
.masthead hgroup h1,
.masthead hgroup p {
font-size: 34px;
line-height: 1.2;
display: inline;
}
.masthead hgroup p {
margin-left: 0.3em;
font-style: italic;
}
.masthead nav {
display: inline-block;
float: right;
line-height: 40px;
}
.masthead nav ul {
margin: 0;
}
.masthead nav > ul > li {
display: inline-block;
}
.masthead nav > ul > li > a {
display: block;
font-size: 14px;
font-weight: bold;
padding: 4px 10px;
}
.masthead nav > ul > li > a.active {
@inset-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
.border-radius(15px);
.box-shadow(@inset-box-shadow);
box-shadow: @inset-box-shadow, 0 1px 0 rgba(255, 255, 255, 0.3);
background-color: rgba(255, 255, 255, 0.15);
}
.masthead .account {
position: relative;
float: right;
padding-top: 7px;
margin-left: 15px;
padding-left: 40px;
}
.masthead .account .image {
position: absolute;
left: 10px;
top: 8px;
}
.masthead .account .image img {
display: block;
}
.masthead .account .links {
line-height: 11px;
}
.masthead .account .links .logout {
color: rgba(255, 255, 255, 0.6);
}