-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
61 lines (53 loc) · 1.15 KB
/
styles.css
File metadata and controls
61 lines (53 loc) · 1.15 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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
*, *::before,*::after{
padding : 0;
margin :0;
box-sizing : border-box;
font-weight : normal;
}
body{
background : linear-gradient(to right, rgb(52, 194, 182), rgb(51, 177, 51));
padding :0;
margin : 0;
}
.calculator-grid{
display : grid;
justify-content: center;
align-content : center;
min-height :100vh;
grid-template-columns: repeat(4,100px);
grid-template-rows: minmax(120px,auto) repeat(5,100px);
}
button
{
cursor:pointer;
font-size: 2rem;
outline:none;
background-color: rgb(148, 232, 243);
border:1px solid white;
}
button:hover{
background-color: rgb(255, 255, 255,0.9);
}
.span-two{
grid-column:span 2;
}
.display-result{
grid-column:1/-1;
background-color: rgba(0, 0, 0, 0.75);
display :flex;
align-items:flex-end;
justify-content:space-around;
flex-direction:column;
padding:10px;
word-wrap:break-word;
word-break:break-all;
}
.previous-result{
color:rgba(255, 255, 255, 0.74);
font-size:1.4rem;
}
.current-result{
color:rgb(255, 255, 255);
font-size:2.6rem;
}