Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
128 lines (110 loc) · 2.25 KB
/
Copy pathstyles.css
File metadata and controls
128 lines (110 loc) · 2.25 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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
@font-face {
font-family: cursedTimer;
src: url(fonts/CursedTimerUlil-Aznm.ttf);
}
@font-face {
font-family: superNintendo;
src: url(fonts/SnesItalic-1G9Be.ttf);
}
body {
height: 100%;
background: #b5b6e479;
}
p {
font-family: superNintendo;
text-decoration: underline;
text-align: center;
font-size: 50px;
margin: 0 0 10px 0;
}
.footer {
position: fixed;
bottom: 0;
width: 100%;
}
.footer p {
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
font-size: 20px;
}
.footer a {
text-decoration: none;
color: #4e5955;
}
.footer a:hover {
text-decoration: underline;
}
#calculator {
display: flex;
flex-direction: column;
width: 400px;
height: 572px;
padding: 20px;
background: #a8aaaa;
border-radius: 10px;
position: absolute;
top: 50%;
left: 50%;
margin: -286px 0 0 -200px;
}
#display {
font-family: cursedTimer;
color: #0f380f;
height: 100px;
background: #9bbc0f;
font-size: 80px;
text-align: right;
line-height: 100px;
margin-bottom: 10px;
border-radius: 5px;
}
button {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 35px;
color: white;
background: #3c3b3b;
border: 0;
border-radius: 5px;
}
button:hover, #add:hover, #subtract:hover, #multiply:hover, #divide:hover, #clear:hover, #backspace:hover {
background-image: linear-gradient(rgba(0, 0, 0, 0.4) 0 0);
cursor: pointer;
}
button:active, #add:active, #subtract:active, #multiply:active, #divide:active, #clear:active, #backspace:active {
background-image: linear-gradient(rgba(0, 0, 0, 0.6) 0 0);
cursor: pointer;
}
#add {
background: #eb1a1d;
}
#subtract {
background: #fece15;
}
#multiply {
background: #0749b4;
}
#divide {
background: #008d45
}
#buttons {
height: 400px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
grid-gap: 10px
}
#clear {
grid-row-start: 1;
grid-row-end: 2;
grid-column-start: 1;
grid-column-end: 3;
background: #4e5955;
}
#backspace {
grid-row-start: 1;
grid-row-end: 2;
grid-column-start: 3;
grid-column-end: 5;
background: #4e5955;
}