Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
78 lines (67 loc) · 1.34 KB
/
Copy pathstyles.css
File metadata and controls
78 lines (67 loc) · 1.34 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
69
70
71
72
73
74
75
76
77
78
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Lato', sans-serif;
}
.inner_main {
display: flex;
flex-direction: column;
padding: 20px;
background-color:dimgrey;
border-radius: 5px;
border: 4px solid black;
}
.output {
display: flex;
flex-direction: column;
height: 100px;
}
.display {
display: flex;
font-size: 2.5rem;
height: 60px;
width: 100%;
align-items: center;
justify-content: flex-end;
}
.output {
display: flex;
flex-direction: column;
background-color:aliceblue;
border: 3px solid black;
margin-bottom: 2px;
}
.display_upper {
display: flex;
font-size: 1.5rem;
height: 40px;
width: 100%;
align-items: center;
justify-content: flex-end;
}
.calculator-grid {
display: grid;
grid-template-columns: repeat(4, 80px);
grid-template-rows: repeat(5, 80px);
gap: 2px;
}
.calculator-grid > button{
background-color: aliceblue;
cursor: pointer;
font-size: 2rem;
border: 3px solid black;
}
.calculator-grid > button:hover{
background-color: rgb(255, 255, 255, 0.70);
}
.double-size {
grid-column: span 2;
}