-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
73 lines (69 loc) · 1.25 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
72
73
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Roboto:wght@700&display=swap');
body {
color: #181818;
font-size: 18px;
line-height: 1.6;
font-family: 'EB Garamond', serif;
margin: 0;
}
h1, h2 {
font-family: 'Roboto', sans-serif;
font-weight: bold;
}
h2 {
color: #2261ba;
font-weight: normal;
}
a {
text-decoration: none;
color: #4352A1;
}
/* Custom design */
.banner {
background-image: url("https://images.unsplash.com/photo-1682686581030-7fa4ea2b96c3?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
background-size: cover;
background-position: 50% 75%;
color: white;
padding: 60px 0;
text-shadow: 1.5px 1.5px black;
}
.banner h1 {
font-size: 38px;
}
.banner p {
font-size: 30px;
font-family: 'EB Garamond', serif;
opacity: 0.8;
}
.container {
width: 50%;
margin: 50px auto;
}
/* Media queries */
@media(max-width: 900px) {
.container {
width: 700px;
}
}
@media(max-width: 750px) {
.container {
width: 450px;
}
}
@media(max-width: 500px) {
.container {
width: 350px;
}
.banner {
padding: 50px 0;
}
.banner h1 {
font-size: 30px;
}
.banner p {
font-size: 20px;
}
}
a:hover {
color: #E84545;
}