-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
99 lines (86 loc) · 1.74 KB
/
Copy pathstyles.css
File metadata and controls
99 lines (86 loc) · 1.74 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
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@600;900&family=VT323&display=swap');
h1 {
font-family: 'Source Code Pro', monospace;
font-size: 56pt;
margin-top: 20%;
}
.display {
font-family: 'VT323', monospace;
font-size: 36pt;
background-color: #E6FDFF;
color: #B07BAC;
text-align: right;
padding-right: 5px;
margin: 20px;
border: 1px solid black;
width: 253px;
height: 48px;
}
body {
display: flex;
flex-direction: column;
height: 100vh;
margin: 0;
align-items: center;
}
main {
flex: 1;
display: flex;
align-items: center;
}
.calculator {
display: flex;
flex-direction: column;
background-color: #5F7367;
padding: 20px;
width: 300px;
border-radius: 20px;
height: 400px;
border: 1px solid black;
}
#clear {
align-self: flex-end;
margin-right: 20px;
margin-bottom: 5px;
}
.numpad {
display: grid;
grid-template-columns: repeat(4, 1fr);
row-gap: 20px;
column-gap: 20px;
padding: 10px;
align-self: center;
}
button {
padding: 0;
border: 2px solid black;
border-radius: 5px;
height: 40px;
width: 50px;
outline: none;
font-family: 'Source Code Pro', monospace;
color: black;
font-weight: bold;
font-size: 18pt;
background: none;
background-color: #DCCCBB;
}
button:active {
background-color: #c7b7a5;
box-shadow: inset 2px 2px 10px 2px rgba(22, 77, 17, 0.2);
}
footer {
font-family: 'Source Code Pro', monospace;
font-size: 12pt;
margin-bottom: 20px;
}
footer a {
text-decoration: none;
color: black;
font-family: 'VT323';
font-size: 24pt;
}
footer a:hover {
color: #B07BAC;
transition: 0.2s;
}