-
Notifications
You must be signed in to change notification settings - Fork 0
/
calculator.css
92 lines (76 loc) · 1.54 KB
/
calculator.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
91
92
@font-face {
font-family: "pokemon-classic";
src:
url("font/pokemon-classic.ttf") format("truetype"),
url("font/pokemon-classic.woff2") format("woff2"),
url("font/pokemon-classic.woff") format("woff");
font-weight: normal;
font-style: normal;
}
input[type='number'] {
-moz-appearance:textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
* {
box-sizing: border-box;
font-family: "pokemon-classic" !important;
}
body {
background: #405010;
padding-bottom: 30px;
padding-top: 30px;
}
#calculator {
background-color: #d0d058;
max-width: 400px;
margin: 0 auto;
border: 3px solid #111;
border-radius: 5px;
}
.button {
background: #a0a840;
border: 2px solid #111;
padding: 20px;
color: black;
border-radius: 5px;
font-size: 22px;
cursor: pointer;
}
#calculator input {
background: none;
border: none;
box-shadow: none;
outline: none;
background-color: #708028;
margin-top: 20px;
margin-left: 22px;
padding: 10px;
width: 89%;
height: 50%;
border: 3px solid #111;
color: black;
text-align: right;
font-size: 40px;
border-radius: 0;
}
#calculator-buttons {
padding: 20px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-gap: 15px;
}
#clear,
#delete {
grid-column: span 2;
width: 100%;
font-size: 120%;
}
#delete {
background-color: #708028;
}
#clear {
background-color: #708028;
}