forked from
atpota.to/flushes.app
The 1st decentralized social network for sharing when you're on the toilet. Post a "flush" today! Powered by the AT Protocol.
1/* Login page styling to match the about page card-like sections */
2
3.container {
4 max-width: 600px;
5 margin: 0 auto;
6 padding: 2rem 1.5rem;
7 color: var(--foreground-rgb);
8 min-height: 70vh;
9 display: flex;
10 flex-direction: column;
11 justify-content: center;
12}
13
14.loginBox {
15 background-color: var(--card-background);
16 border-radius: 1rem;
17 padding: 2rem;
18 border: 1px solid var(--tile-border);
19}
20
21.title {
22 font-size: 2rem;
23 font-weight: 800;
24 margin-bottom: 0.5rem;
25 color: var(--primary-color);
26 text-align: center;
27 margin-top: 0;
28}
29
30.subtitle {
31 font-size: 1.1rem;
32 color: var(--secondary-foreground);
33 text-align: center;
34 margin-bottom: 2rem;
35 font-style: italic;
36}
37
38.form {
39 margin-bottom: 2rem;
40}
41
42.inputGroup {
43 margin-bottom: 1.5rem;
44}
45
46.label {
47 display: block;
48 font-weight: 600;
49 margin-bottom: 0.5rem;
50 color: var(--foreground-rgb);
51}
52
53.input {
54 width: 100%;
55 padding: 0.75rem 1rem;
56 border: 1px solid var(--input-border);
57 border-radius: 0.5rem;
58 font-size: 1rem;
59 background-color: var(--input-background);
60 color: var(--text-color);
61 transition: border-color 0.2s ease;
62 box-sizing: border-box;
63}
64
65.input:focus {
66 outline: none;
67 border-color: var(--primary-color);
68}
69
70.hint {
71 margin-top: 0.5rem;
72 font-size: 0.9rem;
73 color: var(--secondary-foreground);
74 margin-bottom: 0;
75}
76
77.error {
78 background-color: #fee;
79 border: 1px solid #fcc;
80 color: #c33;
81 padding: 0.75rem;
82 border-radius: 0.5rem;
83 margin-bottom: 1rem;
84 font-size: 0.95rem;
85}
86
87.submitButton {
88 width: 100%;
89 background-color: var(--primary-color);
90 color: white;
91 border: none;
92 border-radius: 0.5rem;
93 padding: 0.875rem 1.5rem;
94 font-size: 1rem;
95 font-weight: 500;
96 cursor: pointer;
97 transition: all 0.2s ease;
98 display: flex;
99 align-items: center;
100 justify-content: center;
101 gap: 0.5rem;
102}
103
104.submitButton:hover:not(:disabled) {
105 background-color: var(--secondary-color);
106 transform: translateY(-1px);
107}
108
109.submitButton:disabled {
110 background-color: #ccc;
111 cursor: not-allowed;
112 transform: none;
113}
114
115.spinner {
116 width: 16px;
117 height: 16px;
118 border: 2px solid transparent;
119 border-top: 2px solid currentColor;
120 border-radius: 50%;
121 animation: spin 1s linear infinite;
122}
123
124@keyframes spin {
125 0% { transform: rotate(0deg); }
126 100% { transform: rotate(360deg); }
127}
128
129.info {
130 margin-bottom: 1.5rem;
131 padding-top: 1.5rem;
132 border-top: 1px solid var(--tile-border);
133}
134
135.info h3 {
136 margin: 0 0 1rem 0;
137 font-size: 1.1rem;
138 font-weight: 600;
139 color: var(--foreground-rgb);
140}
141
142.info ul {
143 margin: 0;
144 padding-left: 1.5rem;
145 color: var(--secondary-foreground);
146}
147
148.info li {
149 margin-bottom: 0.5rem;
150 line-height: 1.4;
151}
152
153.footer {
154 text-align: center;
155 padding-top: 1rem;
156 border-top: 1px solid var(--tile-border);
157}
158
159.backButton {
160 background: none;
161 border: none;
162 color: var(--link-color);
163 cursor: pointer;
164 font-size: 0.95rem;
165 text-decoration: none;
166 transition: color 0.2s ease;
167 padding: 0.5rem;
168}
169
170.backButton:hover {
171 color: var(--primary-color);
172 text-decoration: underline;
173}
174
175/* Responsive styles */
176@media (max-width: 768px) {
177 .container {
178 padding: 1.5rem 1rem;
179 }
180
181 .loginBox {
182 padding: 1.5rem;
183 }
184
185 .title {
186 font-size: 1.75rem;
187 }
188
189 .subtitle {
190 font-size: 1rem;
191 }
192}
193
194@media (max-width: 480px) {
195 .container {
196 padding: 1rem 0.5rem;
197 }
198
199 .loginBox {
200 padding: 1.25rem;
201 }
202
203 .title {
204 font-size: 1.5rem;
205 }
206}