-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
91 lines (75 loc) · 1.32 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
font-size: 1.2rem;
}
.calculator {
margin-top: 1rem;
}
.calculator__inner {
width: 400px;
height: 540px;
border: 2px solid black;
border-radius: 4px;
margin: 0 auto;
}
.calc_top {
height: 30%;
background-color: rgb(20, 19, 19);
color: rgb(255, 240, 240);
text-align: center;
}
.calc_top-title {
height: 45px;
padding-top: 0.8rem;
border-bottom: 2px solid white;
padding-bottom: 3.6rem;
}
.calc_top-output-field {
margin-top: 1rem;
padding: 0 0.7rem;
font-size: 2.7rem;
text-align: right;
}
.calc_top-output-field-min {
margin-top: 1.7rem;
padding: 0 0.7rem;
font-size: 1.7rem;
text-align: right;
}
table, td, tr {
border: 1px solid black;
text-align: center;
}
tr:first-child button {
background-color: #dadada;
}
td{
width: 99px;
height: 75px;
}
td:last-child button{
background-color: #e98e31;
}
table {
border-collapse: collapse;
}
button {
width: 100%;
height: 100%;
padding: 1rem;
font-size: 2rem;
font-weight: 400;
background-color: white;
text-decoration: none;
border: none;
}
td:hover button {
font-weight: 600;
cursor: pointer;
opacity: 50%;
}