-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (93 loc) · 1.99 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
body {
font-family: Roboto, sans-serif;
font-size: 30px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 100px;
margin: 0;
min-height: 100vh;
}
.header {
font-family: 'Press Start 2P', Roboto;
font-size: 50px;
text-align: center;
}
.app-container {
display: flex;
flex-direction: column;
align-items: center;
align-self: center;
border: 6px solid black;
border-bottom: 15px solid black;
border-right: 10px solid black;
border-radius: 8px;
padding: 50px;
gap: 20px;
flex-basis: 600px;
width: 450px;
box-sizing: border-box;
}
.display-container {
font-family: 'Press Start 2P', Roboto;
display: flex;
justify-content: flex-end;
flex-grow: 0;
border: 3.5px solid black;
border-bottom: 8px solid black;
border-radius: 6px;
min-height: 50px;
min-width: 340px;
padding: 5px;
}
.btn-container {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 70%;
width: 100%;
}
.row {
display: flex;
justify-content: space-between;
}
.number-btn,
.operator-btn,
.app-btn {
font-family: Roboto, sans-serif;
font-size: 22px;
font-weight: 900;
background-color: transparent;
border: 3.5px solid black;
border-bottom: 8px solid black;
border-right: 5px solid black;
transition-duration: 0.45s;
min-height: 60px;
width: 65px;
}
.number-btn:hover,
.operator-btn:hover,
.app-btn:hover {
background: black;
color: whitesmoke;
cursor: pointer;
}
.number-btn:active,
.operator-btn:active,
.app-btn:active {
background: black;
color: whitesmoke;
cursor: pointer;
border: 1px solid black;
}
.footer {
min-height: 55px;
background: black;
font-weight: 900;
font-size: 30px;
color: whitesmoke;
display: flex;
justify-content: center;
align-items: center;
}