generated from rocketseat-education/convert-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
162 lines (124 loc) · 2.26 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
font-family: "Inter", sans-serif;
font-size: 16px;
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background-color: #1f2151;
}
::-webkit-scrollbar-thumb {
background-color: #2f3279;
}
body {
width: 100%;
height: 100vh;
background-image: url("./img/bg.png");
background-size: contain;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 3.12rem;
color: #f1f2f6;
}
main {
width: 480px;
border-radius: 1.5rem;
border: 1px solid #2f3279;
overflow-y: hidden;
}
form {
background-color: #141534;
display: flex;
flex-direction: column;
padding: 3.5rem 4rem;
}
label {
font-size: 0.75rem;
color: #b2b8de;
text-transform: uppercase;
margin-bottom: 0.5rem;
margin-top: 1.25rem;
}
input,
select {
outline: 0;
color: #f1f2f6;
border: 1px solid #1f2151;
border-radius: 0.5rem;
background-color: #0e0f25;
padding: 1.25rem 1rem;
font-family: "Inter", sans-serif;
font-size: 1rem;
}
select {
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
background: url("./img/chevron-down.svg") no-repeat;
background-position: calc(100% - 0.75rem) center !important;
background-color: #0e0f25;
cursor: pointer;
font-size: 1rem;
}
input::placeholder,
select:invalid,
option {
color: #b2b8de;
}
input:focus,
select:focus {
border: 1px solid #4a5dcd;
}
button {
height: 3.25rem;
background-color: #2f34ab;
border: none;
border-radius: 0.5rem;
color: #f1f2f6;
font-family: "Inter", sans-serif;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.2s;
margin-top: 3rem;
outline: 0;
}
button:hover {
background-color: #4a5dcd;
}
button:focus {
outline: 1.5px solid #4a5dcd;
}
footer {
background-color: #1f2151;
padding: 2.5rem;
max-height: 196px;
text-align: center;
display: none;
overflow-y: scroll;
}
.show-result {
display: block;
}
footer span {
color: #7d8dec;
font-size: 1rem;
font-family: "IBM Plex Mono", monospace;
margin-bottom: 0.5rem;
line-height: 1.25rem;
}
footer h1 {
color: #f1f2f6;
font-weight: 700;
font-size: 2rem;
line-height: 3rem;
word-break: break-all;
}