-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (103 loc) · 1.78 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
117
body {
text-align: center;
background-color:aliceblue;
}
button {
background-color: #00f400;
height: 5vh;
width: 10vw;
}
.centered-div {
display: flex;
justify-content: center;
text-align: center;
}
.counter {
font-size: 4em;
}
#canvas {
border:1px solid black
}
.regular-text {
font-size: 20px;
}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
border:solid transparent;
background-color:aliceblue;
}
input[type=number] {
-moz-appearance: textfield;
border:solid transparent;
background-color:aliceblue;
width: 4ch;
}
input[type=range] {
width: 25vw;
}
input[type=checkbox]{
-webkit-appearance: none;
position: relative;
width: 40px;
height: 20px;
background: #ccc;
border-radius: 10px;
outline: none;
}
input[type=checkbox]:before {
content: "";
position: absolute;
top: 0;
left: 0;
height: 20px;
width: 20px;
background: linear-gradient(to bottom, #fff 0%, #eee 100%);
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
border-radius: 10px;
}
input[type=checkbox]:checked {
background: #56c080;
}
input[type=checkbox]:checked:before {
transform: translate(100%);
}
.mobile-only {
display: none;
}
@media (max-width: 1000px) {
button {
width: 250px;
height: 75px;
font-size: 50px;
}
input[type=range] {
width: 40vw;
transform: scale(1,1.2);
}
.counter {
font-size: 9em;
}
input[type=checkbox]{
width: 90px;
height: 45px;
border-radius: 22.5px;
}
input[type=checkbox]:before {
height: 45px;
width: 45px;
border-radius: 22.5px;
}
.regular-text {
font-size: 45px;
}
input[type=number] {
font-size: 3em;
}
.small-text{
font-size: 25px;
}
.mobile-only {
display: block;
}
}