-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
109 lines (91 loc) · 1.51 KB
/
index.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
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', sans-serif;
}
body {
background: url('./coffee.png') top center no-repeat;
background-size: 1000px;
background-position: -50px 75px;
}
main {
align-items: flex-end;
display: flex;
flex-direction: column;
height: 100%;
justify-content: center;
width: 100%;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
}
h1 {
color: #e74c3c;
font-weight: 600;
letter-spacing: -10px;
font-size: 160px;
}
h2 {
font-size: 40px;
line-height: 60px;
font-weight: 900;
text-transform: uppercase;
}
.text {
padding-right: 150px;
text-align: center;
}
.apostrophe {
padding: 10px;
}
@media all and (max-width: 1500px) {
body {
background-size: 1250px;
background-position: -400px 200px;
}
}
@media all and (max-width: 1280px) {
body {
background-size: 1000px;
background-position: -300px 100px;
}
h1 {
font-size: 140px;
}
}
@media all and (max-width: 1000px) {
body {
background-size: 700px;
background-position: -300px 100px;
}
h1 {
font-size: 120px;
}
h2 {
font-size: 30px;
}
}
@media all and (max-width: 768px) {
body {
background-size: 700px;
background-position: -400px 100px;
}
main {
align-items: center;
justify-content: flex-start;
padding-top: 80px;
}
.text {
padding: 0;
}
h1 {
font-size: 90px;
letter-spacing: -5px;
}
h2 {
font-size: 20px;
line-height: 30px;
}
}