-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
143 lines (120 loc) · 2.46 KB
/
styles.css
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
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap');
:root {
--bg-color: #1a1a1a;
--text-color: #00ff00;
--accent-color: #008000;
--hover-color: #004d00;
--input-bg: #2a2a2a;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
font-family: 'Fira Code', monospace;
transition: all 0.3s ease;
}
.container {
max-width: 800px;
margin: 0 auto;
}
nav {
background-color: none;
padding: 1rem;
display: flex; /* Use flexbox for alignment */
justify-content: center; /* Center the button */
}
nav a {
color: var(--accent-color);
font-weight: bold;
text-decoration: none;
transition: color 0.3s ease;
padding: 0.5rem 1rem;
border-radius: 5px;
}
nav a:hover {
color: var(--text-color);
}
main {
padding: 2rem;
}
.bg-white {
background-color: var(--input-bg);
border: 1px solid var(--accent-color);
box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}
h1, h3, h4 {
color: var(--text-color);
text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}
form {
display: grid;
gap: 1rem;
}
label {
color: var(--text-color);
}
input, select {
background-color: var(--input-bg);
color: var(--text-color);
border: 1px solid var(--accent-color);
padding: 0.5rem;
font-family: 'Fira Code', monospace;
transition: all 0.3s ease;
}
input:focus, select:focus {
outline: none;
box-shadow: 0 0 5px var(--text-color);
}
button {
background-color: var(--accent-color);
color: var(--bg-color);
border: none;
padding: 0.5rem 1rem;
cursor: pointer;
transition: all 0.3s ease;
font-family: inherit; /* Remove the special font styling */
}
button:hover {
background-color: var(--hover-color);
box-shadow: 0 0 10px var(--text-color);
}
#progress-message {
color: var(--accent-color);
}
ul {
list-style-type: none;
padding-left: 1rem;
}
li::before {
content: '> ';
color: var(--accent-color);
}
@keyframes glow {
0% {
text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}
50% {
text-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}
100% {
text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}
}
h1 {
animation: glow 2s infinite;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
main > div {
animation: fadeIn 1s ease-out;
}
@media (max-width: 600px) {
form {
grid-template-columns: 1fr;
}
}