-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
111 lines (111 loc) · 1.78 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Biryani", sans-serif;
}
body {
background-color: #e3dfff;
}
header {
padding-top: 10px;
height: 4.7rem;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
h1 {
font-size: 36px;
font-weight: 900;
}
.body-wrap {
height: 560px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.calculator-wrap {
display: block;
background-color: black;
padding: 2rem;
border-radius: 2rem;
box-shadow: 8px 8px 20px 10px rgb(0 0 0 / 20%);
}
.output {
background-color: #9e9e9e;
min-height: 6.6rem;
max-height: 10rem;
overflow: auto;
max-width: 281.5px;
padding: 7px;
display: flex;
align-items: flex-end;
justify-content: space-around;
flex-direction: column;
border-radius: 1rem;
margin-bottom: 10px;
word-wrap: break-word;
word-break: break-all;
}
.output .display-previous {
color: #575757;
font-size: 1.25rem;
}
.output .display-current {
font-size: 2rem;
}
button {
border: none;
border-radius: 1.5rem;
outline: none;
font-size: 1.5rem;
color: #efefef;
height: 4rem;
width: 4rem;
margin: 0.2rem;
user-select: none;
}
button:hover {
opacity: 0.6;
cursor: pointer;
}
button:active {
transform: translateY(1.5px);
}
.row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.block {
background-color: #191c2f;
}
.block.AC {
background-color: #e74c06;
}
.block.C {
background-color: #e74c06;
}
.block.equals {
background-color: #1a5b6d;
}
.num {
background-color: #121212;
}
footer {
width: 100%;
text-align: center;
font-weight: 200;
opacity: 0.7;
}
.github {
display: flex;
justify-content: center;
align-items: center;
}
a:hover {
opacity: 0.8;
}