-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (109 loc) · 1.93 KB
/
Copy pathstyle.css
File metadata and controls
127 lines (109 loc) · 1.93 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
html,
body {
/* footer support */
height: 100%;
margin: 0;
}
body {
background-color: #E8E8E8;
margin: 0px;
padding: 0px;
display: flex;
flex-direction: column;
align-items: center;
font-family: Verdana, Arial, sans-serif;
}
.main {
display: flex;
justify-content: center;
align-items: center;
min-height: 500px;
margin-top: 100px;
}
.calculator {
background-color: #555555;
width: 400px;
border: 2px solid black;
border-radius: 15px;
padding: 20px
}
.screen {
min-height: 50px;
text-align: end;
font-size: 40px;
border: 2px solid black;
padding: 10px 20px;
margin-bottom: 20px;
border-radius: 5px;
background-color: #EAEAEA;
}
.buttons-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 10px;
}
.btn {
padding: 20px;
border: 2px solid black;
font-size: 20px;
border-radius: 5px;
cursor: pointer;
font-size: 24px;
font-weight: bold;
}
#allClearBtn,
#deleteBtn {
background-color: #555555;
color: #8B00FF;
}
#allClearBtn:hover {
background-color: #FF5555;
color: white;
}
#deleteBtn:hover {
background-color: #555FFF;
color: white;
}
[data-number],
#decimalBtn {
background-color: #555555;
}
[data-number]:hover,
#decimalBtn:hover {
background-color: #8B00FF;
}
[data-operator],
#percentBtn {
font-size: 35px;
background-color: #555555;
color: #8B00FF;
}
[data-operator]:hover,
#percentBtn:hover,
#equalBtn {
background-color: #8B00FF;
color: white;
}
#equalBtn:hover {
background-color: #7100D1;
}
.span-2 {
grid-column: span 2;
}
/* footer */
.footer {
display: flex;
justify-content: center;
align-items: center;
/* footer support */
margin-top: auto;
gap: 10px;
}
.fa-github {
color: black;
font-size: 24px;
transition: transform 300ms ease;
}
.fa-github:hover {
transform: scale(1.3);
}