-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
92 lines (74 loc) · 1.1 KB
/
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
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
body {
font-family: arial;
}
.container {
display: flex;
flex-direction: column;
min-height: 100vh;
}
@media (min-width: 768px) {
.container {
display: grid;
grid-template-columns: 200px 1fr 200px;
grid-template-rows: auto 1fr auto;
}
}
header {
grid-column: span 3;
padding: 30px;
text-align: center;
font-size: 1.4em;
background-color: #8B1F41;
color: white;
}
main {
flex: 1;
padding: 20px;
}
nav {
background-color: #E87722;
padding: 20px;
}
nav li {
padding: 5px;
}
aside {
padding: 20px;
background-color: #75787B;
color: white;
}
figcaption {
font-style: italic;
}
footer {
grid-column: span 3;
padding: 30px;
text-align: center;
font-size: 1.4em;
background-color: #8B1F41;
color: white;
}
h1 {
margin-bottom: 1em;
font-size: 1.4em;
font-weight: bolder;
}
h2 {
margin-bottom: 1em;
font-size: 1.2em;
font-weight: bold;
}
h3 {
margin-bottom: 1em;
font-size: 1em;
font-style: italic;
}
p {
margin-bottom: 1em;
}
.responsive {
max-width: 100%;
height: auto;
padding-top: 3%;
padding-bottom: 3%;
}