-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalc.css
More file actions
96 lines (77 loc) · 1.5 KB
/
Copy pathcalc.css
File metadata and controls
96 lines (77 loc) · 1.5 KB
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
@import url('https://fonts.googleapis.com/css?family=Noto+Sans');
*, html, body,p{
box-sizing: border-box;
font-family: 'Noto Sans', sans-serif;
margin: 0;
padding: 0;
}
body{
margin-top: 10%;
}
/* Grid */
.main-container {
display: flex;
justify-content: center;
align-items: center;
margin: 0;
padding: 0;
width: 100%;
/* height: 100vh; */
}
.calc-container {
display: grid;
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.dot {
grid-column: span 2;
}
.equal {
grid-row: span 2;
}
#buttons-container {
display: grid;
grid-template-columns: repeat(4, auto);
text-align: center;
}
/* Input */
#input {
width: 100%;
padding-right: 10px;
font-size: 3em;
text-align: right;
height: 2em;
display: flex;
justify-content: flex-end;
align-items: center;
color: #FDFEFE;
background-color: #131111;
transition: all 0.3s ease-in;
}
/* Btn's */
.btn {
display: flex;
justify-content: center;
align-items: center;
padding: 20px 30px;
font-size: 1.2em;
cursor: pointer;
transition: all 0.3s ease-in;
border: 0.3px solid rgba(251, 253, 255, 0.171);
}
.btn-num {
background-color: #223850;
color: #6885A7;
}
.btn-num:hover {
background-color: #223850c9;
}
.btn-operator {
background-color: #e77c18;
color: #ffffff;
}
.btn-operator:hover {
background-color: #e75a18 !important
}
.equal{
background-color: #e75a18;
}