-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
63 lines (59 loc) · 1.29 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
*, *::before, *::after{
box-sizing: border-box;
font-family: Gotham Rounded, sans-serif;
font-weight: normal;
}
body{
margin: 10px;
padding: 5px;
background: linear-gradient(to right, rgb(238, 240, 244), rgba(162, 162, 207, 0.862));
}
.calculator-grid {
display: grid;
margin: 20px;
align-content: center;
justify-content: center;
min-height: 100vh;
grid-template-columns: repeat(4, 100px);
grid-template-rows: minmax(120px, auto);
}
.calculator-grid >button{
cursor: pointer;
font-size: 2rem;
border: 1px, solid;
outline: none;
background-color: D9D9D9;
border-radius: 20%;
margin:5px;
padding:2px
}
.calculator-grid > button:hover {
background-color: #a9a9a9;
}
.span-two {
grid-column: span 1;
grid-row: span 2;
color: #adf802;
background-color: rgba(2, 42, 61, 0.8);
}
.output{
grid-column: 1/ -1;
background-color:aliceblue;
display: flex;
align-items:flex-end;
justify-content:space-around;
flex-direction:column;
padding: 20px;
word-wrap:break-word;
word-break: break-all;
font-size: 42px;
font-weight:bold;
}
.output .previous-operand{
color: rgb(9, 4, 18);
font-size: 1.5rem;
}
.output .currant-operand{
color: #adf802;
font-size: 2.5rem;
}