-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
63 lines (60 loc) · 1.1 KB
/
style.css
File metadata and controls
63 lines (60 loc) · 1.1 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
57
58
59
60
61
62
63
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Orbitron&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
overflow-x: hidden;
font-family: "Roboto", sans-serif;
}
html {
overflow-x: hidden;
}
.calc__body {
min-height: 100vh;
background-color: #2c3e50;
display: grid;
grid-template-rows: 1fr 5fr;
grid-gap: 1rem;
}
.calc__display {
width: 100%;
height: auto;
word-break: break-all;
font-size: 1.3rem;
font-family: "Orbitron", sans-serif;
margin-top: 2rem;
background-color: rgba(157, 255, 157, 0.3);
color: #95a5a6;
}
.row {
display: grid;
grid-template-columns: repeat(4, 1fr);
}
.btn {
background-color: #fff !important;
font-size: 2rem;
transition: 0.4s ease;
}
.op {
color: #f39c12;
}
.btn:hover {
background-color: #1abc9c !important;
}
@media (max-width: 768px) {
.calc__body {
grid-template-rows: 1fr 2fr;
}
.calc__btn--wrapper {
position: absolute;
bottom: 10px;
left: 0;
right: 0;
}
.btn {
font-size: 1.5rem;
}
}