-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathstyle.css
More file actions
145 lines (108 loc) · 2.36 KB
/
style.css
File metadata and controls
145 lines (108 loc) · 2.36 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
/* 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;
}
.btn {
display: inline-block;
padding: 6px .5px;}
/* ===================================== HEADER STYLE ========================================= */
.main-header {
width: 100%;
height: 79px;
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:10px;}
h1 {font-weight: bold; margin-left: 10px;}
#main {
margin-left: 140px;
}
#display {
border: 1px #aaa solid;
padding:10px;
min-height:300px;
background:#eee;
}
#menu {
float: left;
width: 100px;
margin: 0 0 0 10px;
}
#menu ul {
list-style-type: none;
}
#menu li {
margin-bottom: 10px;
}
#menu button {
width: 120px;
}