This repository was archived by the owner on Nov 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
125 lines (104 loc) · 2.15 KB
/
styles.css
File metadata and controls
125 lines (104 loc) · 2.15 KB
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
:root {
--bg-aspect-ratio: 16/10;
--bg-x: 0%;
--bg-y: 0;
--bg-zoom: 1;
font-family: sans-serif;
scroll-behavior: smooth;
background-color: rgb(30, 42, 78);
background-image: url("static/img/bg-temp.png");
background-size: calc(var(--bg-zoom)*100vh* 16/10);
background-repeat: no-repeat;
background-attachment: fixed;
transition: none;
}
@media screen and (max-aspect-ratio:16/10) {
:root {
background-position: calc(var(--bg-x) + 50vw - var(--bg-zoom)*50vh* 16/10) calc(50vh - (1) * var(--bg-zoom)*50vh);
}
}
@media screen and (min-aspect-ratio:16/10) {
:root {
background-size: calc(var(--bg-zoom)*100vw);
background-position: calc(var(--bg-x) + 50vw - var(--bg-zoom)*50vw) calc(50vh - (1)*var(--bg-zoom)*50vw*10/16);
}
}
/* MAIN */
* {
transition: all 0.2s;
}
body {
margin: 0;
padding: 2rem;
color: #eeeeee;
}
body,
input,
button {
font-family: "Figtree";
}
h1 {
margin: 0;
font-size: 6rem;
color: #fff;
}
h2 {
font-size: 4rem;
}
#top-contents h2 {
font-size: 2rem;
font-style: italic;
font-weight: 100;
margin: 0;
}
#title {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 66.67%;
height: 100vh;
}
#top-contents {
backdrop-filter: blur(4px);
background: rgba(0, 0, 0, 0.165);
padding: 1rem;
border-radius: 1rem;
}
#top-contents button {
border: none;
position: relative;
margin-top: 1rem;
padding: 1rem;
border-radius: 1rem;
font-size: 1.5rem;
background-image: linear-gradient(90deg, rgba(61, 76, 119, 1) 50%, rgba(204, 221, 221, 1) 50%);
background-size: 200%;
background-position-x: 100%;
top: 0;
}
#top-contents button:hover {
cursor: pointer;
background-position-x: 0%;
color: white;
}
#top-contents button:active {
color: white;
}
#top-contents button i {
position: relative;
left: 0;
}
#top-contents button:active>i {
color: white;
left: 0.5ch;
}
@media screen and (max-width:1100px) {
#title {
width: 100%;
}
}
.section,
#top {
min-height: 100vh;
}