-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
63 lines (52 loc) · 1.19 KB
/
index.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{
padding: 0%;
margin: 0%;
background: linear-gradient(to right,#a3b1b9,#515f63);
}
.calculator-grid{
display: grid;
align-content: center;
justify-content: center;
min-height: 100vh;
grid-template-columns: repeat(4, 100px);
grid-template-rows: minmax(120px, auto) repeat(5, 100px);
}
.calculator-grid> button{
cursor: pointer;
font-size: 2rem;
border: 1px solid rgb(212, 205, 205);
outline: none;
background-color: rgba(192, 191, 191, 0.75);
}
.calculator-grid> button:hover{
background-color: rgba(255, 255, 255, .9);
}
.span-two{
grid-column: span 2;
}
.outputscreen{
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-operation{
color: rgba(255, 255, 255, .75);
font-size: 1.5rem;
}
.current-operation{
color: white;
font-size: 2.5rem;
}
@media screen and (max-width: 600px){
}