aboutsummaryrefslogtreecommitdiff
path: root/static/pages/login/index.css
blob: 8a59d839159bbf9943334c1bee3ce81fcb449607 (plain)
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
#container {
	background: var(--page-background);
	overflow: hidden;
	width: 100%;
	height: 100%;
}

#box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 300px;
	width: 100%;
	padding: 20px;
	box-shadow: #223223aa 1px 1px 4px;
	border-radius: var(--border-radius);
	background: #ffffff99;
	backdrop-filter: blur(10px);
	z-index: 2000;
}

#title {
	font-family: 'Pacifico';
	position: absolute;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0px;
	padding-top: 50px;
	font-size: 2.5em;
	z-index: 1000;
	text-shadow: -1px -1px 0 var(--page-background),
	              1px  1px 0 var(--page-background),
	              1px -1px 0 var(--page-background),
	             -1px  1px 0 var(--page-background);
	overflow: hidden;
}

@keyframes left-bubble {
	from {
		width: 0px;
		height: 0px;
	}
	to {
		width: 100vw;
		height: 100vw;
	}
}

#title:before {
	content: '';
	display: block;
	position: absolute;
	top: -30px;
	left: 0px;
	background: var(--primary);
	transform: translate(-50%, -50%);
	border-radius: 100%;
	z-index: -1;
	animation: left-bubble 1s normal forwards ease;
	width: 100vw;
	height: 100vw;
}

@keyframes right-bubble {
	from {
		width: 0px;
		height: 0px;
	}
	to {
		width: 200vw;
		height: 200vw;
	}
}

#title:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 55%;
	right: 0px;
	width: 200vw;
	height: 200vw;
	transform: translate(50%, 50%);
	background: var(--fg);
	border-radius: 100%;
	z-index: -2;
	animation: right-bubble 1s normal forwards ease;
}

#form {
	display: grid;
	grid-template-columns: 100px auto;
	max-width: 300px;
	width: 100%;
	margin: 0;
	margin-bottom: 20px;
	border-radius: 3px;
	gap: 10px;
}

#form input {
	width: 100%;
}

#form label {
	margin: auto 0px;
	font-weight: bold;
}

button {
	width: 100%;
}

#subtitle {
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translate(-50%, 0);
	white-space: nowrap;
	font-family: 'Pacifico';
	color: #69717d;
	z-index: 1000;
	text-shadow: -1px -1px 0 var(--page-background),
	              1px  1px 0 var(--page-background),
	              1px -1px 0 var(--page-background),
	             -1px  1px 0 var(--page-background);
}