-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathstyle.css
More file actions
118 lines (83 loc) · 2.05 KB
/
style.css
File metadata and controls
118 lines (83 loc) · 2.05 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
/* ZipcodeWilmington 2015 */
/* ===================================== FONTS ========================================= */
@import url(https://fonts.googleapis.com/css?family=Droid+Sans:400,700);
/* ===================================== GLOBAL STYLE ========================================= */
* {
margin: 0;
padding: 0;
}
body { font: 14px/1.4 arial, sans-serif; background-color: #F5F5F5;);}
article, aside, figure, footer, header, nav, section { display: block; }
a:link, a:visited {
text-decoration: none;
color: inherit;
}
a:hover, a:active {
text-decoration: none;
color: inherit;
}
.group:before,
.group:after {
content:"";
display:table;
}
.group:after {
clear:both;
}
.group {
zoom:1; /* For IE 6/7 (trigger hasLayout) */
}
#main:focus {
outline: none;
}
/* ===================================== HEADER STYLE ========================================= */
.main-header {
width: 100%;
height: 150px;
background-color: #144e64;}
.main-header .title {
float: left;
text-transform: uppercase;
font-family: 'Droid Sans', sans-serif;
font-weight: 400;
font-size: 1em;
width: 55%;
padding-left: 5%;
color: #fff;
position: relative;
top: 50%;
transform: translateY(-50%);
}
.main-header .zip-link {
float: right;
width: 16%;
height: 100%;
background-color: white;
}
.main-header .lesson-link {
float: right;
width: 16%;
height: 100%;
background-color: #3c790a;
}
.main-header div {
/* fix blurriness of children due to them
being placed on half pixels */
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.main-header div img {
display: block;
margin: auto;
width: 55%;
position: relative;
top: 50%;
transform: translateY(-50%);
}
/* page styles */
article {margin: 5%;}
article p { margin-bottom: 20px;}
section {margin: 5%;}
h1 {font-weight: bold;}
#result {border: 1px #aaa solid; padding:10px; height:30px; background:#eee;}