-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
56 lines (55 loc) · 1.03 KB
/
index.css
File metadata and controls
56 lines (55 loc) · 1.03 KB
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
body {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: black;
overflow: hidden;
}
* {
color: white
}
.calc {
display: grid;
grid-template-columns: repeat(4, 2fr);
width: 300px;
height: 300px;
cursor: pointer;
user-select: none;
font-size: 20px;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
}
.calc div {
transition: 200ms;
background-color: rgb(53, 52, 52);
height: fit-content;
border: 1px solid orange;
padding: 30px;
}
.calc div:hover {
background-color: rgb(78, 77, 77);;
}
#tab {
background-color: rgb(100, 90, 90);
cursor: text;
border: 1px solid orange;
width: 312px;
height: 30px;
font-size: 20px;
align-self: flex-start;
}
#calculator {
height: 300px;
}
@media screen and (max-width: 360px) {
body {
justify-content: left;
}
}
@media screen and (max-width: 120px) {
.calc {
grid-template-columns: repeat(4, 0.5fr);
}
}