-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (102 loc) · 2.08 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
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
@import url("https://fonts.googleapis.com/css2?family=Arimo&family=Courier+Prime&family=Inter:wght@300&family=Poppins:wght@300&family=Red+Hat+Mono&display=swap");
:root {
--default-white: #fff;
--default-black: #312f2f;
--secondary-color: #4b4b49;
--black-color: #000000;
--grey-01: #bfbbbb;
--grey-00: #828282;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Red Hat Mono", sans serif;
}
body {
text-align: center;
display: flex;
justify-content: center;
align-content: center;
}
.main h1 {
margin: 25px;
text-align: center;
display: flex;
}
.hero {
background-color: var(--strong-color);
border-radius: 5px;
box-shadow: 0 0 .5em var(--secondary-color);
margin-top: 40px;
max-width: 450px;
height: 250px;
padding: 20px;
border: 1px solid var(--black-color);
}
.final-result {
height: 60px;
display: flex;
justify-content: center;
cursor: pointer;
}
#numero {
margin-top: 20px;
max-width: 200px;
height: 35px;
font-size: 1rem;
font-weight: 900;
text-align: center;
border-radius: 5px;
outline: none;
border: 1px solid var(--black-color);
color: var(--black-color);
}
.fields {
font-weight: 900;
font-family: "Courier New", Courier, monospace;
color: var(--default-black);
}
.fields input {
cursor: pointer;
}
input[type="radio"]:after {
width: 13px;
height: 13px;
border-radius: 15px;
position: relative;
background-color: var(--grey-00);
content: "";
display: inline-block;
visibility: visible;
border: 2px solid var(--grey-01);
}
input[type="radio"]:checked:after {
background-color: var(--black-color);
}
.button {
font-family: "Arimo";
font-weight: 600;
width: 95px;
height: 32px;
border-radius: 5px;
outline: none;
cursor: pointer;
transition: 0.2s;
color: var(--default-white);
background-color: var(--black-color);
}
.button:hover {
background-color: var(--default-white);
transition: 0.2s;
color: var(--black-color);
font-weight: 600;
}
@media (max-width: 480px) {
.hero {
display: flex;
margin: 0 auto;
max-width: 320px;
height: 290px;
}
}