This repository was archived by the owner on Jun 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (121 loc) · 2.12 KB
/
style.css
File metadata and controls
125 lines (121 loc) · 2.12 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
@font-face {
font-family: Silkscreen;
src: url(./src/Silkscreen.ttf);
}
@font-face {
font-family: Rajdhani;
src: url(./src/Rajdhani.ttf);
}
:root {
--col-bread1: #d39d82;
--col-bread2: #fbe8b6;
}
body, main, canvas, .login {
width: 100vw;
height: 100vh;
margin: 0;
}
canvas, .login {
position: fixed;
top: 0;
left: 0;
}
.login {
display: flex;
flex-direction: column;
justify-content: center;
color: white;
}
.login > * {
text-align: center;
width: 80%;
margin: 0 auto;
}
.login h1 {
font-family: Silkscreen;
margin: 0 auto 70px;
}
.login h1 .bread {
content: "";
display: inline-block;
height: 80%;
aspect-ratio: 1;
background-image: url(./src/bread.png);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
margin-right: 7px;
vertical-align: -10%;
}
.login h3, .howtoplay {
font-family: Rajdhani;
letter-spacing: 2px;
}
.login input {
font-size: 200%;
border: none;
outline: none;
font-family: Rajdhani;
background: none;
border-bottom: 1px solid var(--col-bread1);
color: var(--col-bread2);
}
.login button {
border: none;
background-image: linear-gradient(to right, var(--col-bread2), var(--col-bread1));
font-size: 200%;
width: fit-content;
padding: 15px;
margin: 10px auto;
border-radius: 10px;
cursor: pointer;
transition: transform .3s;
}
.login button:hover {
transform: scale(1.1);
}
.login p.error {
color: red;
min-height: 18px;
font-family: Rajdhani;
}
.lead {
display: flex;
background: #0005;
border: 2px solid white;
border-radius: 15px;
width: 300px;
color: white;
flex-direction: column;
z-index: 2;
position: fixed;
right: 20px;
top: 20px;
}
.lead h1 {
font-family: Silkscreen;
margin: 0;
text-align: center;
}
.lead div {
display: flex;
flex-direction: row;
padding: 10px;
font-family: Rajdhani;
}
.lead div lvl {
width: 20%;
text-align: left;
}
.lead div name {
width: 80%;
text-align: right;
}
.lead div.me {
background: #ff05;
border-radius: 10px;
font-weight: bold;
}
canvas {
background-image: radial-gradient(circle at center, #171717, #070707);
}