-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
138 lines (120 loc) · 2.73 KB
/
styles.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
129
130
131
132
133
134
135
136
137
138
@import url('https://fonts.googleapis.com/css2?family=Goldman&family=Press+Start+2P&display=swap');
html, body, main {
margin: 0;
padding: 0;
}
body {
height: 100vh;
width: 100vw;
display:flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
background: linear-gradient(#bfdbf7, #e1e5f2);
}
main {
height: 100Vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
}
#calculator {
box-sizing: border-box;
min-width: 200px;
max-width: 350px;
max-height: auto;
display:flex;
flex-direction: column;
font-family: 'Goldman', sans-serif;
box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
border: 8px outset #5f2cdc;
border-radius: 2%;
}
#calculatorScreen {
min-height: 100px;
display:flex;
flex-direction: column;
justify-content: space-around;
flex:1;
flex-wrap: wrap;
border: 2px black outset;
background: radial-gradient(circle at 10% 20%, rgb(148, 241, 246) 0%, rgb(148, 189, 246) 100.7%);
overflow:auto;
}
#lastOperation, #currentOperation {
margin-right: 30px;
padding-bottom: 10px;
display:flex;
align-items: flex-end;
justify-content: end;
font-size:25px;
flex:1;
font-weight: bold;
overflow: auto;
text-shadow:rgb(126, 203, 244) 3px 3px;
}
#topButtons {
display: flex;
flex:1;
}
#clearButton, #deleteButton {
padding: 15px;
flex:1;
font-family: 'Goldman', sans-serif;
font-size: 20px;
background: radial-gradient(465px at -15.1% -25%, rgb(17, 130, 193) 0%, rgb(67, 166, 238) 49%, rgb(126, 203, 244) 90.2%);
border: 2px black outset;
opacity: 1;
font-weight: bold;
}
#clearButton:hover, #deleteButton:hover {
opacity: .7;
}
#lowerButtons {
display: flex;
flex-wrap: wrap;
}
.button {
box-sizing: border-box;
background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
width: 25%;
height: 25%;
font-weight:bold;
text-align: center;
padding: 15px;
font-family: 'Goldman', sans-serif;
font-size: 20px;
border: 2px black outset;
opacity: 1;
}
.operator {
box-sizing: border-box;
background: radial-gradient(465px at -15.1% -25%, rgb(17, 130, 193) 0%, rgb(67, 166, 238) 49%, rgb(126, 203, 244) 90.2%);
opacity: 1;
}
.operator:hover, .button:hover {
opacity:.7;
}
footer {
display:flex;
justify-content: center;
width: 100vw;
margin-bottom: 2vmax;
align-items: center;
font-family: 'Goldman', sans-serif;
font-size: 20px;
}
a {
text-decoration: none;
color: #5f2cdc;
font-weight: bold;
}
a:hover {
opacity: .5;
}
img {
margin-bottom: -5px;
margin-right: 10px;
transform: scale(1.3);
}