-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (100 loc) · 2.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
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
/* GENERAL */
:root {
--primary-color-1: #010c17;
--primary-color-2: #789abc;
--contrasting-color-1: #dec11b;
--contrasting-color-1-filter: invert(79%) sepia(100%) saturate(590%) hue-rotate(339deg) brightness(89%) contrast(95%);
--contrasting-color-2: #F3EFE8;
--accent-color-1: #9abcde;
--accent-color-2: #f01234;
}
* {
transition-duration: 200ms;
font-family: 'Varela Round';
color: var(--primary-color-1);
font-size: 20px;
}
/* NAVIGATION */
nav ul {
list-style-type: none; /* Removes bullet points */
display: flex; /* Aligns items side by side */
justify-content: space-around; /* Distributes items evenly with space around them */
padding: 0; /* Removes default padding */
}
nav ul li a {
text-decoration: none; /* removes underline from links */
color: var(--primary-color-1);
}
nav ul li a:hover {
color: var(--contrasting-color-1);
}
body {
padding: 20px;
margin-left: 20%;
margin-right: 20%;
max-height: -webkit-fill-available;
overflow: auto;
}
html {
height: -webkit-fill-available;
overflow: hidden;
}
/* SECTIONS/CONTAINERS */
header {
text-align: center;
}
footer {
padding: 10px;
position: center;
/* display: flex; */
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.main {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* TEXT */
h1 {
font-size: 40px;
}
.fineprint {
font-size: 16px;
}
.text {
width: 100%;
text-align: center;
display: inline;
}
summary:hover, a:hover {
color: var(--contrasting-color-1); /* Replace with the color you want */
}
details:hover summary {
color: var(--contrasting-color-1); /* Replace with the color you want */
}
/* MEDIA */
.icons {
width: 30px;
margin: 5px;
}
.icons:hover {
filter: var(--contrasting-color-1-filter);
}
/* propertiers for mobile screens */
@media only screen and (max-width: 600px) {
body {
margin: 5%;
padding: 3%;
}
/* enable scrolling */
html {
overflow: auto;
}
}