-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
82 lines (72 loc) · 1.52 KB
/
style.css
File metadata and controls
82 lines (72 loc) · 1.52 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
79
80
81
82
* {
box-sizing: border-box;
margin: 0;
padding: 0;
border: none;
border-radius: 15px;
}
html {
font-size: 24px;
font-family: 'Unica One', cursive;
}
#app {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
padding: 1rem 0;
}
#app h1 {
font-size: 3rem;
letter-spacing: 0.5rem;
margin-bottom: 8px;
}
.calculator {
display: grid;
height: 700px;
width: 450px;
border: 5px yellow;
border-style: solid;
padding: 10px 30px 30px;
grid-template-rows: 125px 1fr;
background: gray;
}
.display {
display: grid;
grid-row-start: 1;
background-color: lightskyblue;
border-radius: 10px;
border: 5px yellow;
border-style: solid;
padding: 10px 30px 30px;
}
.controls {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(5, 1fr);
padding: 10px 10px 10px;
grid-gap: 10px;
}
.digits {
display: grid;
grid-column: 1 / 4;
grid-row: 2 / 6;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(4, 1fr);
grid-gap: 10px;
}
.operations {
display: grid;
grid-column: 4 / 5;
grid-row: 1 / 6;
grid-gap: 10px;
}
.memory {
display: grid;
grid-column: 1 / 4;
grid-row: 1;
grid-template-columns: 2fr 3fr;
grid-gap: 10px;
border-radius: 10px;
}