-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalc.css
73 lines (65 loc) · 1.21 KB
/
calc.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
/**
* @Author: Brendon Pagano <Annatsu>
* @Date: 2017/08/29 23:54:47
* @Email: [email protected]
* @Filename: calc.css
* @Last modified by: Annatsu
* @Last modified time: 2017/08/30 01:38:56
*/
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: 'Helvetica';
}
#calculator {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 300px;
width: 300px;
background-color: #E4DCCF;
border-radius: 4px;
padding: 15px;
}
#calc-display-outter {
width: 100%;
background-color: #373C40;
border-radius: 4px;
padding: 10px;
}
#level-n {
color: #fff;
text-transform: uppercase;
}
#calc-display-inner {
background-color: #A6B8A2;
border-radius: 4px;
margin-top: 5px;
padding: 10px;
}
.calc-display-info {
position: relative;
display: inline-block;
min-width: 112.5px;
width: 112.5px;
background-color: #3D3D3D;
color: #A6B8A2;
border-radius: 4px;
text-align: center;
text-transform: uppercase;
padding: 5px;
}
#calc-display-result {
font-family: 'Orbitron', sans-serif;
color: #3D3D3D;
font-size: 30px;
margin-top: 5px;
float: right;
}
.clearfix:after {
content: '';
display: table;
clear: both;
}