forked from Dartameill/JS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
67 lines (57 loc) · 1.08 KB
/
Copy pathstyle.css
File metadata and controls
67 lines (57 loc) · 1.08 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
64
65
66
67
*, *::before, *::after {
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
}
body {
font-family: sans-serif;
}
.calculator {
width: 250px;
height: 350px;
border: 2px solid black;
margin: 100px auto 0;
text-align: center;
background-color: darkseagreen;
box-shadow: 0 0 30px grey;
border-radius: 4px;
}
.calculator__form {
height: 100%;
padding: 20px;
}
.calculator__row {
margin: 10px 0;
display: flex;
justify-content: space-between;
}
.calculator__display {
margin: 0 0 20px;
width: 100%;
border: 1px solid darkslateblue;
padding: 4px 2px;
text-align: right;
font: 700 16px/1 Arial, sans-serif;
color: darkslateblue;
background-color: whitesmoke;
}
.calculator__key {
width: 41px;
height: 35px;
cursor: pointer;
border: none;
transition: all .2s;
text-transform: uppercase;
}
.calculator__key--equal {
width: 98px;
}
.calculator__key:hover {
background-color: yellow;
font-weight: 700;
}
.calculator__key::-moz-focus-inner {
border: none
}