-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
162 lines (141 loc) · 2.99 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
body {
font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans",
serif;
font-size: 27px;
margin: 0;
box-sizing: border-box;
padding: 0;
-webkit-appearance: none;
--background-color: rgb(19, 18, 18);
--accent-color: rgb(23, 49, 19);
background-color: var(--background-color);
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.inner-box {
max-width: 385px;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
padding: 25px 15px;
border-radius: 20px;
outline: rgb(44, 46, 45) 5px solid;
}
::placeholder {
color: black;
opacity: 1;
}
input {
font-weight: bold;
transition: all ease-in 120ms;
display: inline-block;
color: rgb(255, 255, 255);
font-size: 1.3em;
text-align: center;
cursor: pointer;
height: 100%;
width: 100%;
background-color: rgb(47, 51, 50);
border: none;
outline: white;
border-radius: 17px;
}
.inner-box .row {
width: 100%;
display: flex;
flex-grow: 1;
}
input:disabled {
transition: none !important;
opacity: 40% !important;
cursor: not-allowed !important;
}
.btn-wrapper {
display: inline-block;
flex-grow: 1;
flex-basis: 25%;
padding: 1.8%;
aspect-ratio: 1/1;
max-height: 9vh;
}
input[type="text"] {
background-color: rgb(172, 180, 177);
font-size: 1.5em;
text-align: end;
color: black;
cursor: default;
padding: 16px 15px 16px 3px;
margin-bottom: 18px;
box-shadow: 0 0 2px 3px inset rgb(47, 51, 50);
}
input[type="button"] {
cursor: pointer;
opacity: 100%;
}
input[type="button"]:hover {
opacity: 85%;
}
.accent_button {
background-color: var(--accent-color);
}
#clear_button {
background-color: #621515;
}
#memory_read_button {
background-color: #544210;
}
*.unselectable {
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@media screen and (max-width: 375px), screen and (max-height: 624px) {
.inner-box {
font-size: 6vmin;
}
input[type="text"] {
font-size: 8vmin;
padding: 3vmin 4vmin 3vmin 3px;
}
}
@media screen and (max-width: 422px), screen and (max-height: 624px) {
.inner-box {
outline: none;
}
}
/* Loader */
.loader-container {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
background: var(--background-color);
z-index: 1;
}
.spinner {
width: 2.5em;
height: 2.5em;
border: 7px solid #3d3d3d;
border-bottom-color: #47bd30;
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
animation: rotation 1s infinite;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}