This repository was archived by the owner on Nov 1, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathheader.css
More file actions
154 lines (136 loc) · 3.25 KB
/
header.css
File metadata and controls
154 lines (136 loc) · 3.25 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/* Header */
#logo {
position: relative;
height: 30px;
width: 183px;
margin: 0 auto;
padding-top: 8px;
}
#logo a {
display: block;
height: 30px;
width: 183px;
text-indent: -999px;
overflow: hidden;
background: url('../img/gh-training-logo-1x.png') no-repeat;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter: alpha(opacity=70);
opacity: 0.7;
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
#logo a {
background: url('../img/gh-training-logo-2x.png') no-repeat;
background-size: 183px 30px;
}
}
#logo a:hover {
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
}
.top-bar {
background: #0383c0;
background: -webkit-linear-gradient(#0383c0,#03599f);
background: -moz-linear-gradient(#0383c0,#03599f);
background: -o-linear-gradient(#0383c0,#03599f);
background: -ms-linear-gradient(#0383c0,#03599f);
background: linear-gradient(#0383c0,#03599f);
box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.2);
display: block;
height: 6px;
}
header {
text-align: center;
background: #b1ceea;
background: -webkit-linear-gradient(#e0f4ff,#b1ceea);
background: -moz-linear-gradient(#e0f4ff,#b1ceea);
background: -o-linear-gradient(#e0f4ff,#b1ceea);
background: -ms-linear-gradient(#e0f4ff,#b1ceea);
background: linear-gradient(#e0f4ff,#b1ceea);
box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
header .container {
padding: 22px 0 26px;
}
header .content {
padding: 0px 10px;
}
nav ul {
margin: 0;
padding: 0;
display: inline-block;
}
#nav li {
display: inline-block;
margin: .4em .15em;
}
#nav li a {
text-decoration: none;
color: #718ba8;
font-weight: bold;
font-size: 13px;
padding: 0 0 .3em;
padding: .3em .6em .4em;
border-radius: 5px;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
#nav li a:hover {
color: #02a2ee;
text-shadow: 0 1px 0 rgba(255,255,255,.9);
}
#nav li.current a, #nav li.current a:hover {
color: #fff;
text-shadow: 0 1px 3px rgba(0,0,0,.5);
border-bottom-color: #0383c0;
box-shadow: inset 0 1px 3px rgba(0,0,0,.2), 0 1px 0 rgba(255,255,255,.5);
background: #82b5e5;
background: -webkit-linear-gradient(#52a7d7,#82b5e5);
background: -moz-linear-gradient(#52a7d7,#82b5e5);
background: -o-linear-gradient(#52a7d7,#82b5e5);
background: -ms-linear-gradient(#52a7d7,#82b5e5);
background: linear-gradient(#52a7d7,#82b5e5);
}
@media screen and (min-width: 960px) {
#logo {
float: left;
width: 20%;
}
#nav {
float: right;
width: 75%;
margin-top: 2px;
text-align: right;
}
header .content {
padding: 0 20px;
}
header {
text-align: left;
}
}
@media screen and (max-width: 568px) {
#logo {
margin: 0 auto;
}
#nav .content {
margin-left: 0;
margin-right: 0;
}
#nav li {
margin: .4em 0;
}
#nav li a {
font-size: 11px;
}
}
@media screen and (max-width: 320px) {
#nav li a {
font-size: 12px;
}
}