-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
118 lines (117 loc) · 2.46 KB
/
stylesheet.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
html, body {
font-family: 'JetBrains Mono NL', monospace;
background-color: aquamarine;
height: 100vh;
overflow: hidden;
margin: 0;
padding: 0;
}
.main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-left: auto;
margin-right: auto;
height: auto;
width: 1200px;
}
.quote {
font-size: 20px;
margin-top: 100px;
}
.quoter {
font-size: 18px;
font-weight: bold;
text-align: end;
margin-right: 25px;
}
.calculator {
height: 50vh;
width: 20vw;
display: flex;
flex-direction: column;
margin-top: 80px;
border: 5px solid black;
background-color: darkcyan;
border-radius: 10px;
}
.display {
display: flex;
justify-content: flex-end;
align-items: center;
height: 15%;
padding: 10px;
font-size: 2em;
background-color: lightgrey;
margin: 15px;
border: 3px solid black;
border-radius: 5px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, auto);
gap: 5px;
flex-grow: 1;
margin-left: 15px;
margin-right: 15px;
margin-bottom: 15px;
}
.numBtn, .opBtn, .plus-minusBtn {
border-radius: 5px;
border: 3px solid black;
background-color: rgb(61, 207, 207);
font-size: 1em;
cursor: pointer;
transition: transform 0.2s ease;
}
.numBtn:hover, .opBtn:hover, .plus-minusBtn:hover, .btnEqual:hover {
background-color: rgb(88, 182, 150);
transform: scale(.95);
}
.opBtn:disabled, .plus-minusBtn:disabled, #dot:disabled {
background-color: grey;
cursor: not-allowed;
}
.btnEqual {
grid-column: 3 / span 2;
border-radius: 5px;
border: 3px solid black;
background-color: rgb(61, 207, 207);
font-size: 1em;
cursor: pointer;
transition: transform 0.2s ease;
}
.btn-ac, .btn-del {
border-radius: 5px;
border: 3px solid black;
background-color: rgb(61, 207, 207);
font-size: 1em;
cursor: pointer;
transition: transform 0.2s ease;
}
.btn-ac:hover, .btn-del:hover {
background-color: rgb(216, 92, 70);
transform: scale(.95);
}
.footer {
position: fixed;
bottom: 0;
margin-bottom: 15px;
color: black;
font-weight: bold;
font-size: 1em;
}
/* Adjust the height/width for my 3440x1440p monitor*/
@media screen and (min-width: 2560px) {
.calculator {
width: 15vw;
height: 50vh;
}
.buttons {
font-size: 1.5em;
}
.display {
font-size: 3em;
}
}