-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
76 lines (64 loc) · 1.23 KB
/
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
71
72
73
74
75
76
@import url("https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap");
:root {
--main-background: #111340;
--main-text: #faedf0;
--main-font: "Courier Prime", Courier, monospace;
--button-primary: #ed255a;
--button-hover: #ff4879;
}
/* Resets */
* {
font-family: var(--main-font) !important;
}
body {
padding: 0;
margin: 0;
box-sizing: border-box;
}
input[type="text"] {
border: none;
width: 15rem;
height: 2em;
}
button {
border: none;
}
h1 {
font-weight: normal;
font-size: 48px;
}
/* Styles */
main {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: var(--main-background);
color: var(--main-text);
min-height: 100vh;
overflow-y: hidden;
text-align: center;
}
button {
margin: 0em 0.5em;
padding: 0.8em 1em;
font-size: 22px;
border-radius: 6px;
background-color: var(--button-primary);
color: var(--main-text);
}
button:hover {
background-color: var(--button-hover);
cursor: pointer;
}
input[type="text"] {
margin-bottom: 3em;
border-radius: 6px;
font-size: 23px;
padding: 0.4em 0.5em;
text-align: center;
}
input[type="text"]:focus-visible {
outline: none;
border: 1px solid var(--main-text);
}