-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
81 lines (69 loc) · 1.52 KB
/
index.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
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@500&display=swap');
:root {
--color-terminal: #292b36;
--borde-redondo: 4px;
}
* {
font-family: 'Source Code Pro', monospace;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #c9600a;
color: white;
}
input, button {
border: none;
outline: none;
}
main {
padding: 25px;
box-shadow: 8px 8px 35px 0px rgb(0 0 0 / 75%);
border-radius: var(--borde-redondo);
}
h1 {
margin: 0;
}
#input-original, #resultado {
background-color: var(--color-terminal);
width: -webkit-fill-available;
}
#input-original {
margin: 10px 0 0;
padding: 10px;
color: white;
border-top-left-radius: var(--borde-redondo);
border-top-right-radius: var(--borde-redondo);
}
#resultado {
height: 20px;
color: #5af78d;
padding: 0 10px 10px;
border-bottom-left-radius: var(--borde-redondo);
border-bottom-right-radius: var(--borde-redondo);
}
.rango {
margin-top: 10px;
display: grid;
grid-template-columns: 1fr 30px;
text-align: center;
align-items: center;
}
input[type='range'] {
-webkit-appearance: none;
border-radius: var(--borde-redondo);
background:var(--color-terminal);
margin: 0;
padding: 0 5px;
height: 20px;
}
input[type='range']::-webkit-slider-thumb {
cursor: pointer;
-webkit-appearance: none;
background:white;
border-radius: 50%;
height:10px;
width:10px;
}