-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (90 loc) · 1.49 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
*::before,
*::after {
box-sizing: inherit;
}
html,
body {
font-size: 16px;
font-family: sans-serif;
height: 100%;
}
body {
background: #10131c;
display: flex;
align-items: center;
justify-content: center;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
}
input {
border: none;
outline: none;
}
input:focus {
outline: none;
}
button {
border: none;
outline: none;
background: none;
cursor: pointer;
}
button:focus {
outline: none;
}
.calculator {
background: #212532;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: .75rem;
width: 325px;
border: 1px solid #333;
padding: .75rem;
border-radius: 1rem;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.screen {
grid-column: 1 / 5;
border-radius: .75rem;
font-size: 2rem;
height: 6rem;
color: #fff;
background: #333849;
text-align: end;
padding: .5rem;
}
::placeholder {
color: #fff;
}
.symbol,
.number {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
aspect-ratio: 1;
font-size: 1.25rem;
color: #fff;
border-radius: 50%;
transition: .15s ease;
}
.symbol {
background: #5d68e2;
}
.symbol:hover {
background: #4d55b1;
}
.number {
background: #333849;
}
.number:hover {
background: #333849ac;
}