Skip to content

Commit 15dec5a

Browse files
committed
Update v1.4
1 parent 2f95fd6 commit 15dec5a

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

style.css

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,27 @@
44
box-sizing: border-box;
55
}
66

7+
:root{
8+
--primary-bg: #140b27;
9+
--pure-white: #ffffff;
10+
--grey-clr: #8080809b;
11+
--light-blue: #cbe2f1a5;
12+
}
13+
714
body{
815
display: flex;
916
align-items: center;
1017
justify-content: center;
1118
height: 100vh;
12-
background-color: #140b27;
19+
background-color: var(--primary-bg);
1320
}
1421

1522
.calculator-big-screen{
1623
width: 30%;
1724
padding: 20px 10px;
1825
border-radius: 15px;
19-
background-color: #ffffff;
20-
box-shadow: 0 0 10px #8080809b;
26+
background-color: var(--pure-white);
27+
box-shadow: 0 0 10px var(--grey-clr);
2128
}
2229

2330
.number-box{
@@ -27,13 +34,13 @@ body{
2734
border-radius: 15px;
2835
margin: 20px auto;
2936
border: none;
30-
box-shadow: 0 0 7px #8080809b;
31-
pointer-events: none;
37+
box-shadow: 0 0 7px var(--grey-clr);
3238
font-size: 48px;
3339
text-align: right;
3440
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
3541
font-weight: bold;
36-
padding-right: 10px;
42+
padding-right: 15px;
43+
pointer-events: none;
3744
}
3845

3946
.calculator-container{
@@ -51,7 +58,7 @@ body{
5158
border: none;
5259
border-radius: 10px;
5360
background-color: #cbe2f1a5;
54-
box-shadow: 0 0 2px #8080809b;
61+
box-shadow: 0 0 2px var(--grey-clr);
5562
cursor: pointer;
5663
font-size: 24px;
5764
transition: 0.25s;
@@ -65,12 +72,12 @@ body{
6572

6673
.operation-btn{
6774
background-color: #4B99F7;
68-
color: white;
75+
color: var(--pure-white);
6976
}
7077

7178
.equal-to{
7279
background-color: #FC3C64;
73-
color: white;
80+
color: var(--pure-white);
7481
}
7582

7683
@media (min-width: 768px) and (max-width: 1024px){

0 commit comments

Comments
 (0)