-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylemain.css
52 lines (48 loc) · 933 Bytes
/
stylemain.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
/* ------------------------- Desktop ----------------------- */
body {
font-family: "Open Sans", sans-serif;
display: block;
/* This will restrict the width of the content.
Max-width makes it so that it is fluid UNTIL it gets to Xpx*/
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
header{
padding-top: 80px;
padding-bottom: 20px;
}
h1 {
margin: auto auto 0 auto;
font-size: 72px;
font-weight: 300;
}
h2 {
margin: 0 auto 32px auto;
font-size: 36px;
font-weight: 200;
}
img {
max-width: 100%;
}
footer {
margin-top: 80px;
font-size: 12px;
}
/* ------------------------- Mobile ----------------------- */
@media (max-width: 1200px) {
body {
margin: 80px auto 10px auto;
padding: 0 60px 0 60px;
}
header{
padding: 0px
}
h1 {
font-size: 72px;
}
h2 {
font-size: 36px;
padding: 0 0 36px 0;
}
}