-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode-of-conduct-styles.scss
127 lines (109 loc) · 2.54 KB
/
code-of-conduct-styles.scss
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins";
}
header {
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 550px;
background-image: url("assets/header-background.png");
background-size: cover;
padding: 20px; /* Added padding for smaller screens */
}
.title-logo-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: white;
gap: 20px;
}
.title-logo-container h1 {
font-size: 4rem;
font-weight: 400;
margin-bottom: 20px;
text-align: center; /* Center the text on all screens */
}
.conf-details {
display: flex;
justify-content: center;
gap: 40px;
align-items: center;
color: white;
flex-wrap: wrap; /* Allow items to wrap on smaller screens */
@media (max-width: 768px) {
width: 75%;
justify-content: flex-start;
gap: 15px; /* Reduce gap on smaller screens */
.separator {
display: none; /* Hide the separator on smaller screens */
}
}
h3 {
font-size: 1.5rem;
font-weight: 400;
}
img {
width: 40px;
}
}
.date-details {
display: flex;
align-items: center;
gap: 20px;
}
.separator {
color: white;
width: 1px;
height: 30px;
background-color: white;
}
.location-details {
display: flex;
align-items: center;
gap: 20px;
}
main {
display: flex;
flex-direction: column;
gap: 50px;
margin: 5rem;
border-radius: 50px;
padding: 50px;
border: 1px solid #dff5fd;
color: black;
font-size: 2rem;
font-weight: 200;
h1 {
text-align: center;
font-size: 3rem; /* Adjust font size for main titles */
}
@media (max-width: 768px) {
padding: 20px; /* Reduce padding on smaller screens */
margin: 2rem auto; /* Reduce margin on smaller screens */
gap: 20px; /* Reduce gap on smaller screens */
border-radius: 20px; /* Reduce border-radius on smaller screens */
font-size: 1rem; /* Reduce font size on smaller screens */
border: none;
h1 {
font-size: 2rem; /* Adjust title size for smaller screens */
}
}
}
@media (max-width: 480px) {
.title-logo-container h1 {
font-size: 2.5rem; /* Further reduce the title size */
}
.conf-details h3 {
font-size: 1.2rem; /* Reduce text size */
}
.conf-details img {
width: 30px; /* Reduce icon size */
}
}