-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
70 lines (70 loc) · 984 Bytes
/
style.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
* {
box-sizing: border-box;
}
body {
margin: 0;
}
.flex {
display: flex;
}
.center {
justify-content: center;
align-items: center;
}
main {
height: 100vh;
}
a,
a:visited {
color: #ff00ff;
}
article {
padding: 3rem;
text-align: center;
}
form {
flex-direction: column;
gap: 1rem;
}
textarea {
resize: none;
height: 10rem;
width: 90vw;
max-width: 800px;
}
textarea,
input {
padding: 0.5rem;
}
button {
padding: 0.5rem 1rem;
background-color: #ff00ff;
color: white;
border: none;
cursor: pointer;
width: 100px;
align-self: center;
margin-top: 1rem;
border-radius: 3%;
}
/* use dark/light based on users web browser settings */
@media (prefers-color-scheme: dark) {
body {
background-color: #121212;
color: #fff;
}
textarea,
input {
background-color: #333;
color: #fff;
border: solid 1px #a2a2a2;
}
a,
a:visited {
color: #73ffd0;
}
button {
background-color: #73ffd0;
color: black;
}
}