-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyle.css
More file actions
222 lines (206 loc) · 5.22 KB
/
style.css
File metadata and controls
222 lines (206 loc) · 5.22 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
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
/* Core Global Styles from your provided code */
/* Styling for the Google Sign-In Button */
/* Styling for the GitHub Sign-In Button */
.github-signin-button {
/* Basic Button Styles */
display: flex;
align-items: center;
justify-content: center;
width: 100%;
padding: 10px 15px;
margin-top: 10px; /* Space between the Google and GitHub buttons */
/* GitHub Look */
background-color: #24292e; /* GitHub Black */
color: white;
border: none;
border-radius: 4px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
cursor: pointer;
font-size: 16px;
font-family: inherit; /* Use the site's default font */
font-weight: 500;
text-align: center;
transition: background-color 0.3s, box-shadow 0.3s;
}
/* Hover effect */
.github-signin-button:hover {
background-color: #333a40; /* Slightly lighter black */
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.3);
}
/* Active/Press effect */
.github-signin-button:active {
background-color: #000000; /* Pure Black */
}
.google-signin-button {
/* Basic Button Styles */
display: flex;
align-items: center;
justify-content: center;
width: 100%; /* Make it full width like your form fields */
padding: 10px 15px;
margin-top: 15px;
/* Google Look */
background-color: #4285f4; /* Google Blue */
color: white;
border: none;
border-radius: 4px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
cursor: pointer;
font-size: 16px;
font-family: Roboto, sans-serif; /* Google's font */
font-weight: 500;
text-align: center;
transition: background-color 0.3s, box-shadow 0.3s;
}
/* Hover effect for better user interaction */
.google-signin-button:hover {
background-color: #357ae8; /* A slightly darker blue */
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.3);
}
/* Active/Press effect */
.google-signin-button:active {
background-color: #3367d6; /* Even darker blue */
}
/* Ensure the image within the button is styled correctly (optional, but good practice) */
.google-signin-button img {
/* The inline style in the HTML handles size, this ensures alignment */
line-height: 0;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #f9f9f9; /* Light background */
color: #333;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* Navbar Styling */
.navbar {
background-color: #20232a; /* Dark background */
padding: 12px 20px;
display: flex;
justify-content: center;
box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
}
.navbar-content {
display: flex;
gap: 14px;
flex-wrap: wrap;
justify-content: center;
}
.navbar a {
color: #61dafb; /* Light blue/cyan */
text-decoration: none;
padding: 10px 18px;
font-weight: 600;
font-size: 14px;
border-radius: 6px;
transition: background-color 0.3s ease, color 0.3s ease;
}
.navbar a:hover {
background-color: #61dafb;
color: #20232a;
}
/* Container for the Auth Card */
.container {
display: flex;
justify-content: center;
align-items: center;
flex-grow: 1; /* Makes the container take up remaining vertical space */
padding: 20px;
}
/* Auth Card Styling (based on your .card style) */
.auth-card {
background: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 12px rgb(0 0 0 / 0.05);
width: 100%;
max-width: 400px; /* Max width for a form */
text-align: center;
}
.auth-card h2 {
font-size: 24px;
font-weight: 700;
color: #20232a;
margin-bottom: 20px;
}
/* Form and Input Styling */
.input-group {
text-align: left;
margin-bottom: 15px;
}
.input-group label {
display: block;
font-size: 14px;
font-weight: 600;
color: #555;
margin-bottom: 5px;
}
.input-group input {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 16px;
transition: border-color 0.3s;
}
.input-group input:focus {
border-color: #61dafb; /* Focus color from your theme */
outline: none;
}
/* Button Styling (based on your .card a style) */
#submit-button {
width: 100%;
cursor: pointer;
border: none;
text-decoration: none;
color: #61dafb;
font-weight: 600;
padding: 12px 18px;
border-radius: 6px;
background: #20232a;
display: inline-block;
font-size: 16px;
margin-top: 15px;
transition: background-color 0.3s ease, color 0.3s ease;
}
#submit-button:hover {
background: #61dafb;
color: #20232a;
}
/* Toggle Link Styling */
.toggle-link {
margin-top: 20px;
font-size: 14px;
color: #555;
}
.toggle-link a {
color: #20232a;
font-weight: 600;
text-decoration: none;
transition: color 0.3s;
}
.toggle-link a:hover {
color: #61dafb;
text-decoration: underline;
}
/* Message Styles */
.error-message {
color: #dc3545; /* Red for errors */
font-size: 14px;
margin-bottom: 10px;
font-weight: 600;
min-height: 18px; /* Reserve space to prevent layout shift */
}
.success-message {
color: #28a745; /* Green for success */
font-size: 16px;
margin-top: 15px;
padding: 10px;
border: 1px solid #c3e6cb;
background-color: #d4edda;
border-radius: 6px;
}