-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
199 lines (180 loc) · 4.35 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
/* #region Styles for the entire document*/
/*Import Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Bungee+Shade&family=Concert+One&family=Stick+No+Bills:wght@200&display=swap');
/*Variables*/
:root {
/*Colors*/
--background: rgba(18, 115, 105, 1);
--section: rgba(16, 64, 59, 0.5);
--section-hover: rgba(16, 64, 59, 1);
--section-Lighter: rgba(16, 64, 59, 0.5);
--section-lighter-hover: rgba(16, 64, 59, 1);
--text: rgba(255, 255, 255, 1);
--text-hover: rgba(192, 192, 192, 1);
--link: rgba(192, 192, 192, 1);
--link-hover: rgba(255, 255, 255, 1);
--active-tab: rgba(175, 175, 175, 1);
}
html {
background-color: var(--background);
overflow-x: hidden;
}
/*#endregion*/
/* #region Styles for headers*/
h1 {
font-family: 'Bungee Shade', 'stick no bills', 'concert one', cursive;
font-weight: 800;
font-size: 2.25rem;
line-height: 1;
margin-top: 5px;
margin-bottom: 10px;
color: var(--text);
overflow: hidden;
}
h2 {
font-family: 'Bungee Shade', 'stick no bills', 'concert one', cursive;
font-weight: 800;
font-size: 2rem;
line-height: 1;
margin-top: 30px;
margin-bottom: -5px;
color: var(--text);
overflow: hidden;
}
h3 {
font-weight: 800;
line-height: 1;
margin-top: 17.25px;
margin-bottom: -15px;
font-size: 1.75rem;
color: var(--text);
}
/*#endregion*/
/* #region Styles for the Text*/
p {
line-height: 1.125;
font-weight: 800;
font-size: 1.25rem;
margin-bottom: 0px;
color: var(--text);
}
/* #endregion */
/* #region Styles for the Links */
a {
font-weight: 800;
font-size: 1.25rem;
color: var(--link);
}
a:hover {
color: var(--link-hover);
}
/* #endregion */
/* #region Styles for the Icons*/
ion-icon {
pointer-events: none;
}
/*#endregion*/
/* #region Styles for the Sections*/
.section {
background-color: var(--section);
border-radius: 15px;
margin: 10px;
padding: 10px 20px;
min-height: 50px;
}
.section:hover {
background-color: var(--section-hover);
}
/*#endregion*/
/* #region Styles for the header*/
header {
display: grid;
place-content: center;
text-align: center;
}
header h1 {
font-family: 'Bungee Shade', 'stick no bills', 'concert one', cursive;
font-weight: 800;
font-size: clamp(30px, 9.5vw, 25vh); /*Keep the title within the screen*/
color: var(--text);
margin-top: 15px;
margin-bottom: 30px;
overflow: hidden;
}
/*#endregion*/
/* #region Styles for the Navigation Bar*/
nav {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
nav .section {
display: flex;
flex-grow: 1;
}
nav a {
color: var(--text);
font-size: 35px;
text-decoration: none;
display: flex;
justify-content: center;
}
nav a:hover {
color: var(--text-hover);
}
nav ion-icon {
transform: translate3d(-5px, 1px, 0);
}
.active-tab {
color: var(--active-tab);
background-color: var(--section-hover);
}
.active-tab:hover {
color: var(--active-tab);
background-color: var(--section);
}
/*#endregion*/
/* #region Styles for the Images and Text*/
/*keeping the Image and the Text on the page side by side when the screen is large enough and on top of each other on smaller displays*/
@media only screen and (min-width: 1200px) {
.content {
display: grid;
grid-template-columns: 1fr 1fr;
}
}
.img{
width: calc(100% - 60px);
height: auto;
padding-top: 20px;
padding-bottom: 20px;
}
/*#endregion*/
/* #region Styles for the Footer*/
footer{
padding: 10px 10px !important;
}
footer:hover{
background-color: var(--section) !important;
}
/*Styles for Footer Buttons*/
footer a{
color: var(--link);
font-size: 2rem;
width: 0.0025px;
}
footer a:hover{
color: var(--link-hover);
font-size: 2rem;
}
/*Styles for keeping the two parts of the Footer beside eachother on large screens and one above the other on smaller screens*/
@media only screen and (min-width: 644px) {
footer{
display: grid;
grid-template-columns: 1fr 1fr;
}
}
/*Styles for Footer Contact Us section*/
footer h1{
text-align: center;
}
/*#endregion*/