-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
225 lines (193 loc) · 3.65 KB
/
style.css
File metadata and controls
225 lines (193 loc) · 3.65 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
body {
margin: 0;
padding: 0;
background: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #787878;
}
h1,
h2,
h3 {
margin: 0;
padding: 0;
font-weight: normal;
color: #3E3530;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 2.8em;
}
h3 {
font-size: 1.6em;
text-decoration: underline;
}
section,
p,
ul,
ol {
margin-top: 0;
line-height: 180%;
}
a {
text-decoration: none;
color: #339CCB;
}
.site-container {
display: grid;
align-items: end;
grid-template-rows: 1fr auto 1fr;
grid-template-areas:
"header"
"main"
"footer";
}
@media screen and (min-width: 900px) {
.site-container {
grid-template-columns: max(8%,4em) auto 8%;
grid-template-rows: 70px auto 40px;
grid-template-areas:
"header header header"
". main ."
"footer footer footer";
}
}
/* header */
.header {
background: #1582AB;
border-bottom: 10px solid #2AA1CC;
color: #FFFFFF;
align-items: end;
grid-area: header;
display: grid;
justify-items: center;
grid-template-areas:
"logo logo"
"home math"
"teach notes"
"acti link";
}
@media screen and (min-width: 320px) {
.header {
grid-area: header;
justify-items: center;
grid-template-areas:
"logo logo logo"
"home math teach"
"notes acti link";
}
}
@media screen and (min-width: 550px) {
.header {
height: max-content;
grid-area: header;
justify-items: center;
grid-template-areas:
"logo home math teach"
"logo notes acti link";
}
}
@media screen and (min-width: 930px) {
.header {
grid-area: header;
grid-template-columns: minmax(0,4em) 300px repeat(6, 105px) auto;
grid-template-areas:
". logo home math teach notes acti link .";
}
}
#logo {
/*display: inline-block;*/
height: min-content;
border: none;
background: none;
text-decoration: none;
text-align: center;
font-size: 3.8em;
color: #FFFFFF;
grid-area: logo
}
#home {
grid-area: home;
}
#math {
grid-area: math;
}
#teach{
grid-area: teach;
}
#notes{
grid-area: notes;
}
#acti {
grid-area: acti;
}
#link {
grid-area: link
}
.header>a {
display: inline-block;
padding: 15px 15px 10px 15px;
vertical-align: bottom;
text-decoration: none;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-weight: bold;
color: #FFFFFF;
border: none;
}
.header>a:hover,
a.current_page_item {
background: #2AA1CC;
text-decoration: none;
}
/* content */
.content {
padding: 10px 10px 10px 10px;
grid-area: main;
}
ul.works{
/* list-style: none; */
padding-top: .35em;
padding-left: 1em;
}
ul.works li{
list-style-type: none;
position:relative; /* positioning context for bullet */
}
ul.works li:before{
content:"\2022"; /* escaped unicode character */
font-size:1.2em; /* the default unicode bullet size is very small */
line-height:0; /* kills huge line height on resized bullet */
position:absolute; /* position bullet relative to list item */
top:.8em; /* vertical align bullet position relative to list item */
left:-.7em; /* position the bullet L- R relative to list item */
}
ul.works ul{
padding-left: 0.8em;
}
ul.works ul > li{
list-style-type:none;
}
ul.works ul > li:before{
content: "";
}
/* footer */
.footer {
background: #1582AB;
border-top: 8px solid #1ca6dd;
font-family: Arial, Helvetica, sans-serif;
line-height: normal;
font-size: 10px;
color: #FFFFFF;
text-align: center;
grid-area: footer;
}
.abt {
border-spacing: 2ch;
}
.abt th{
vertical-align: top;
}