-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (109 loc) · 2.2 KB
/
style.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
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
html {
background-color: #EEEEEE;
position: relative;
min-height: 100%;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
max-width: 1080px;
margin: auto;
}
.main {
display: flex;
align-items: center;
justify-content: center;
height: 75vh;
min-height: 500px;
padding: 10px;
margin-top: 50px;
}
button {
border-radius: 6px;
}
@font-face {
font-family: 'digitalClock';
src: url('assets/fonts/digital-7 (italic).ttf');
}
p {
margin: 0px;
}
.calculatorBody {
background-color: #c7b175;
padding: 100px 15px 15px 15px;
border-radius: 10px;
}
.display {
text-align: right;
font-family: 'digitalClock';
padding: 20px;
border-radius: 10px 10px 0px 0px;
}
.numpadBackground {
/*background-color: #c3ad71;*/
background-color: #141414;
display: flex;
flex-direction: column;
padding: 0px 20px 20px 20px;
}
.texasRow {
display: flex;
margin: 20px 0px;
align-items: center;
font-weight: bolder;
justify-content: space-between;
width: 290px;
height: fit-content;
padding: 0px;
}
.topGrid {
display: grid;
grid-template-columns: repeat(4, 65px);
grid-template-rows: repeat(4, 65px);
gap: 10px;
}
.bottomGrid {
margin-top: 10px;
display: grid;
grid-template-columns: 102px 65px 102px;
grid-template-rows: 65px;
gap: 10px;
}
.operatorButton {
background-color: #c7b175;
font-size: 25px;
font-family: Arial, Helvetica, sans-serif;
}
.numButton {
background-color: #f4faf6;
font-size: 25px;
font-family: Arial, Helvetica, sans-serif;
}
.equalButton {
background-color: #fa9511;
font-size: 25px;
font-weight: 500;
font-family: Arial, Helvetica, sans-serif;
}
.footer {
position: absolute;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
width: 100%;
padding: 10px;
font-size: 20px;
}
.fa-github {
color: var(--font);
font-size: 24px;
transition: transform 0.3s ease-in-out;
}
.fa-github:hover {
transform: rotate(360deg) scale(1.2);
}