This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
94 lines (76 loc) · 1.67 KB
/
index.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
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;500;600;700&display=swap');
:root {
--outerPadding: 1em;
--innerPadding: 1em;
--borderRadius: 0.5em;
}
body {
/* Background Image */
background: url(images/background.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
/* Font be like */
font-family: 'Fredoka', sans-serif;
}
/* Remove margin, padding, and font weights */
* {
margin: 0;
padding: 0;
font-weight: normal;
}
.container {
/* Background */
backdrop-filter: blur(5px);
background: rgb(0, 0, 0, 0.25);
/* Text color */
color: white;
/* Flexboxify */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
/* Padding */
padding: var(--innerPadding);
/* Border Radius */
border-radius: var(--borderRadius);
}
.tl {
top: var(--outerPadding);
left: var(--outerPadding);
position: absolute;
}
.tr {
top: var(--outerPadding);
right: var(--outerPadding);
position: absolute;
}
.bl {
bottom: var(--outerPadding);
left: var(--outerPadding);
position: absolute;
}
.br {
bottom: var(--outerPadding);
right: var(--outerPadding);
position: absolute;
}
.rules {
margin-top: var(--innerPadding);
font-weight: lighter;
}
.bold {
font-weight: bold;
}
.process {
/* Spacing */
padding: 0.5em 1em;
margin-top: 0.25em;
margin-bottom: 0.25em;
/* Background */
background: rgb(0, 0, 0, 0.25);
/* Border */
border-radius: 0.5em;
}