-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
146 lines (128 loc) · 2.13 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
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
:root {
--crimson: crimson;
--dark-grey: #8d8d8d;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100dvh;
display: flex;
flex-direction: column;
font-family: "Roboto", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
h1 {
text-align: center;
font-size: 3rem;
text-shadow: 1px 1px 2px grey;
}
.grid {
border-left: black solid 1px;
border-bottom: black solid 1px;
display: flex;
flex-flow: column wrap;
height: 500px;
width: 500px;
margin-inline: auto;
}
.grid-line {
border-top: black solid 1px;
display: flex;
flex: 1;
width: auto;
flex-wrap: wrap;
}
.grid-item {
border-right: black solid 1px;
flex: 1;
}
.inputs {
display: flex;
flex-direction: column;
text-align: center;
gap: 1rem;
}
.inp_1 {
display: flex;
margin-top: 1rem;
flex-direction: column;
gap: 1rem;
}
.inp_2 {
display: flex;
flex-direction: column;
align-items: center;
}
button {
background-color: var(--crimson);
border-radius: 8px;
border: none;
color: #ffffff;
cursor: pointer;
font-size: 0.9rem;
font-weight: 500;
min-height: 40px;
list-style: none;
padding: 0.5em;
position: relative;
text-align: center;
transition: color 100ms;
}
button:hover,
button:focus {
background-color: rgb(228, 95, 121);
}
.slider {
appearance: none;
width: 250px;
min-height: 25px;
background: var(--dark-grey);
outline: none;
opacity: 0.7;
transition: opacity 0.2s;
}
.slider:hover {
opacity: 1;
}
.slider::-webkit-slider-thumb {
appearance: none;
max-width: 25px;
min-height: 25px;
background: var(--crimson);
cursor: pointer;
}
.slider::-moz-range-thumb {
max-width: 25px;
min-height: 25px;
background: var(--crimson);
cursor: pointer;
}
footer {
justify-content: center;
background-color: var(--crimson);
text-shadow: 1px 1px 2px black;
margin-top: auto;
text-align: center;
color: white;
width: auto;
}
footer img{
height: 1em;
}
footer a{
text-decoration: none;
color: aqua;
}
@media (max-width: 500px){
.grid{
height: 400px;
width: 400px;
}
}
@media (max-width: 400px){
.grid{
height: 300px;
width: 300px;
}
}