-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
107 lines (91 loc) · 1.46 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
/* resets */
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
}
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
input,
button,
textarea,
select {
font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
/* main styles */
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-color: #555;
}
.container {
width: 464px;
height: 464px;
padding: 16px;
border-radius: 16px;
color: #9C27B0;
background-color: #E1BEE7;
display: flex;
flex-direction: column;
}
.container__display {
font-size: 48px;
margin: 16px 0;
background-color: #fff;
border-radius: 8px;
flex: 1;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 12px;
overflow: hidden;
}
.container__buttons {
display: flex;
flex-direction: column;
gap: 4px;
flex: 4;
}
.container__buttons__group {
display: flex;
gap: 4px;
flex: 1;
}
.container__buttons__group button {
flex: 1;
border-radius: 8px;
font-size: 32px;
border: none;
color: #9C27B0;
background-color: #fff;
}
.container__buttons__group button:hover {
background-color: #eee;
}
#clear {
color: #de1738;
}
#equals {
background-color: #9C27B0;
color: #fff;
}
button.operator {
color: #555;
}