-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
143 lines (116 loc) · 1.99 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
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
/* General */
* {
margin: 0;
font-family: Helvetica, sans-serif;
}
/* End General */
/* Header */
header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 64px;
}
header .metallica-logo {
height: 45px;
}
header .nav ul {
padding: 0;
width: 200px;
display: flex;
justify-content: space-between;
}
header .nav ul li {
display: inline;
list-style: none;
}
header .nav .fw-icon {
font-size: 20px;
margin-top: 16px;
}
header .nav a {
color: initial;
text-decoration: none;
}
/* End Header */
main {
max-width: 1200px;
padding: 16px 64px;
margin: 0 auto;
}
main .section-image {
text-align: center;
}
main .section-image h1 {
font-size: 36px;
margin-bottom: 16px;
}
main #img-div {
display: block;
}
main #image {
max-width: 100%;
display: block;
height: auto;
margin: 0 auto;
margin-bottom: 16px;
}
main #img-caption {
font-style: italic;
margin-bottom: 16px;
}
main .section-info h2 {
text-align: center;
margin-bottom: 16px;
font-size: 16px;
}
main .section-info .info {
display: flex;
}
main .section-info .info .info-title {
margin-right: 16px;
margin-bottom: 4px;
}
footer {
text-align: center;
padding: 10px 64px;
}
footer a {
color: initial;
}
footer h2 {
font-size: 16px;
}
/* Media queries*/
@media (max-width: 1024px) {
main {
max-width: 1000px;
}
main .section-image h1 {
font-size: 24px;
}
}
@media (max-width: 768px) {
header, main, footer {
padding: 10px 16px;
}
header .nav ul {
width: 150px;
}
}
@media (max-width: 425px) {
header {
flex-direction: column;
align-items: center;
}
main .section-image h1 {
font-size: 16px;
}
main .section-info .info {
flex-direction: column;
}
main .section-info .info .info-message {
margin-bottom: 4px;
}
}
/* End Media queries*/