aboutsummaryrefslogtreecommitdiff
path: root/static/pages/login/index.css
blob: f4a99ba49c0bae0af4b2bb9edc6cabf7d5258f0d (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
#container {
	background: var(--page-background);
	overflow: hidden;
	width: 100%;
	height: 100%;
	z-index: 1000;
	position: absolute;
	top: 0;
	bottom: 0;
	transition: top 0.2s ease;
}

#container.hidden {
	top: -100%;
}

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

#box input {
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
	background: #0000;
}

#box button {
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
	background: var(--page-background);
	color: var(--fg);
	padding: 5px;
	background: #0000;
}

#username {
	position: absolute;
	top: calc(50% - 40px);
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10000;
	user-select: none;
	color: var(--fg-primary);
	font-size: 0.8em;
	cursor: pointer;
}
#comment {
	position: absolute;
	top: calc(50% + 40px);
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10000;
	user-select: none;
	color: var(--primary);
	font-size: 0.8em;
	cursor: pointer;
}

#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;
}
#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);
}