-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmain.css
123 lines (104 loc) · 1.87 KB
/
main.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
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: radial-gradient(
circle at 100%,
rgba(3, 6, 21, 0.9) 15%,
rgba(189, 205, 226, 0.5) 5%,
rgba(7, 9, 22, 0.9) 15%
),
url('./public/chevron.png') center/cover;
height: 100vh;
padding: 40px 0;
}
.container {
max-width: 1100px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
padding: 0 15px;
}
h1 {
color: #fff;
font-size: 1.5rem;
text-transform: uppercase;
}
.btn-wrapper {
margin-top: 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 10px;
}
button {
display: flex;
align-items: center;
column-gap: 5px;
border: none;
cursor: pointer;
padding: 12px 24px;
border-radius: 3px;
font-weight: 600;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
transition: opacity 400ms ease-in-out;
}
button:disabled {
opacity: 0.47;
cursor: default;
}
button:hover:not(:disabled) {
opacity: 0.9;
}
button > svg {
height: 1rem;
}
.btn-start {
background-color: #ff2c4f;
color: #fff;
}
.btn-stop {
background-color: rgb(7, 2, 44);
color: #fff;
}
.result {
background-color: #fff;
width: 100%;
min-height: 200px;
padding: 10px;
border-radius: 3px;
margin-top: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
text-transform: capitalize;
}
.result:empty {
display: none;
}
.hidden {
display: none !important;
}
@media screen and (min-width: 768px) {
h1 {
font-size: 3.125rem;
text-transform: capitalize;
}
.container {
padding: 0 30px;
}
.result {
padding: 15px;
}
}