-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlight.css
More file actions
68 lines (59 loc) · 1.26 KB
/
light.css
File metadata and controls
68 lines (59 loc) · 1.26 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Quicksand', sans-serif;
}
.container {
height: 100vh;
display: flex; /* flexbox: activated */
align-items: center; /* flexbox: vertical centered */
justify-content: center; /* flexbox: horizontal centered */
background-color: #f9f9f9;
}
.calc {
display: grid; /* Grid: activated */
grid-template-columns: repeat(4, 66px); /* Button layout */
padding: 16px;
background-color: #DDDDDD;
border-radius: 20px;
box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.27); /* Calc bg shadow */
position: relative;
}
/* Screen */
input {
grid-column: span 4;
height: 80px;
width: 260px;
background-color:#f9f9f9;
border: none;
border-radius: 7px;
color: #1a1919;
text-align: end;
margin: 40px 0px 30px 0px;
padding: 20px;
font-size: 40px;
}
/* Buttons */
button {
background-color: #D9ADAD;
border: none;
width: 50px;
height: 50px;
margin: 10px;
border-radius: 12px;
font-size: 23px;
}
#dark-mode{
background-color: #DDDDDD;
}
/* Sign buttons color */
.color {
background-color: #84A9AC;
}
/* Equal button */
.equal {
width: 120px;
background-color: #89C9B8;
font-size: 25px;
}