-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
47 lines (40 loc) · 839 Bytes
/
styles.css
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
.header {
grid-area: header;
}
.header > a {
text-decoration: none;
color: black;
font-family: monospace;
font-size: x-large;
}
.main {
grid-area: main;
min-height: calc(100vh - 220px);
}
.right { grid-area: right; }
.footer { grid-area: footer; }
.grid {
display: grid;
grid-template-areas:
'header'
'main'
'right'
'footer';
grid-gap: 10px;
padding: 10px;
text-size-adjust: auto;
color: black;
font-family: sans-serif;
}
@media only screen and (min-width: 1024px) and (max-resolution: 200dpi) {
.grid {
grid-template-areas:
'header header header header header header header'
'main main main main right right right'
'footer footer footer footer footer footer footer';
font-size: large;
}
.main {
width: 80%;
}
}