-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·70 lines (64 loc) · 2.3 KB
/
style.css
File metadata and controls
executable file
·70 lines (64 loc) · 2.3 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
/*
CSS-Tricks Example
by Chris Coyier
http://css-tricks.com
*/
* { margin: 0; padding: 0; }
html { overflow-y: scroll; }
body { font: 12px/1.4 Helvetica, sans-serif; background: #333; color: #333; }
.group:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.group { display: inline-block; clear: both; }
/* start commented backslash hack \*/ * html .group { height: 1%; } .group { display: block; } /* close commented backslash hack */
article, aside, figure, footer, header, hgroup, menu, nav, section { display: block; }
a:focus { outline: 0; }
#page-wrap {
width: 500px; margin: 40px auto 5px; background: #91c7ff;
padding: 8px;
background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ccc));
background: -moz-linear-gradient(top, #eee, #ccc);
-webkit-border-radius: 16px;
-moz-border-radius: 16px;
}
#main-content { padding: 14px; }
h1 { font: bold 32px Helvetica, Arial, Sans-Serif; letter-spacing: -1px; padding: 14px; color: #333; text-shadow: 1px 1px 1px white; }
p { margin: 0 0 15px 0; }
nav ul {
list-style: none; background: #154c85; padding: 5px 20px; width: 478px; position: relative;
left: -9px;
}
nav ul li { display: inline; }
nav ul li a {
display: block;
float: left;
border-top: 1px solid #96d1f8;
background: #3e779d;
background: -webkit-gradient(linear, left top, left bottom, from(#65a9d7), to(#3e779d));
background: -moz-linear-gradient(top, #65a9d7, #3e779d);
height: 17px;
padding: 0 10px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: rgba(0,0,0,1) 0 1px 3px;
-moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
text-shadow: rgba(0,0,0,.4) 0 1px 0;
-webkit-text-stroke: 1px transparent;
font: bold 11px/16px "Lucida Grande", "Verdana", sans-serif;
color: rgba(255,255,255,.85);
text-decoration: none;
margin: 0 5px 0 0;
}
nav ul li a:hover {
border-top: 1px solid #4789b4;
background: #28597a;
background: -webkit-gradient(linear, left top, left bottom, from(#3d789f), to(#28597a));
background: -moz-linear-gradient(top, #3d789f, #28597a);
color: rgba(255,255,255,.85);
}
nav ul li a:active, nav ul li a.current {
border-top-color: #245779;
background: #1b435e;
position: relative;
top: 1px;
}
footer { color: #999; margin: 0 auto; width: 500px; }