-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindexStyles.css
106 lines (83 loc) · 2.01 KB
/
indexStyles.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
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');
body {
background-image: url("resources/IMG_3011.jpg");
background-size: cover;
background-position: 0px -100px;
background-repeat: no-repeat;
}
.generalText {
display: flex;
flex-direction: column;
min-height: 97vh;
justify-content: center;
align-items: center;
color: rgba(190, 87, 41, 1);
}
h1 {
font-family: "Playfair Display";
font-size: 2.6rem;
}
h2 {
text-align: center;
margin-top: -6px;
font-family: "Playfair Display";
font-weight: 300;
font-size: 1.4rem;
}
.bulletPoints {
display: flex;
flex-direction: row;
gap: 60px;
font-family: 'Tinos';
align-items: center;
justify-content: center;
margin-top: 15px;
}
.bulletPoints div{
margin-top: 10px;
background-color: rgba(0, 0, 0, 0.28);
padding-top: 2%;
padding-bottom: 2%;
padding-left: 10%;
padding-right: 10%;
}
a {
text-decoration: none;
color: inherit;
transition: ease-in 0.2s;
}
.hoverLink:hover {
color: rgba(190, 87, 41, 0.5);
transition: ease-in 0.2s;
}
/* For phone */
@media (max-width: 800px) {
body {
background-image: url("resources/IMG_3011.jpg");
max-width: 100vw;
max-height: 100vh;
background-size: cover;
background-repeat: no-repeat;
background-position: -500px 0px;
}
.bulletPoints {
flex-direction: column;
align-items: center;
gap: 18px;
margin-top: 5%;
font-size: 20px;
font-family: 'Tinos';
}
.bulletPoints div{
background-color: rgba(0, 0, 0, 0.28);
padding-top: 2%;
padding-bottom: 2%;
padding-left: 30%;
padding-right: 30%;
}
h2 {
font-size: 20px;
margin-top: 2%;
}
}