-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
71 lines (60 loc) · 1.05 KB
/
style.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
body {
text-align: center;
margin: 0;
font-size: 20px;
line-height: 1.6;
font-family: 'Lora', serif;
}
h1, h2 {
font-weight: bolder;
}
h2 {
color: #A0A0A0;
font-weight: normal;
}
.banner {
background-image: url("https://source.unsplash.com/random/?zelda,game");
background-size: cover;
color: white;
padding: 120px 0;
}
.banner p {
font-size: 30px;
font-style: italic;
}
.text {
width: 700px;
margin: 50px auto;
text-align: left;
}
.fancy-link {
background-image: linear-gradient(to bottom, cyan, cyan);
font-style: italic;
font-size: 35px;
}
.fancy-link:hover {
background-image: linear-gradient(to bottom, red, red);
}
@media (max-width: 1200px) {
.text {
width: 900px;
}
}
@media (max-width: 960px) {
/* For a screen < 960px, this CSS will be read */
.text {
width: 700px;
}
}
@media (max-width: 720px) {
/* For a screen < 720px, this CSS will be read */
.text {
width: 500px;
}
}
@media (max-width: 540px) {
/* For a screen < 540px, this CSS will be read */
.text {
width: 300px;
}
}