-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
80 lines (70 loc) · 1.16 KB
/
style.css
File metadata and controls
80 lines (70 loc) · 1.16 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
*,
*::before,
*::after {
box-sizing: border-box;
font-family: Gotham Rounded, sans-serif;
font-weight: normal;
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background: linear-gradient(to right, #adb5a8, #8a9d7e, #adb5a8);
}
.container {
width: 400px;
margin: auto;
border: 1px solid #717171;
}
.screen {
display: flex;
align-items: center;
justify-content: space-around;
align-items: flex-end;
flex-direction: column;
word-wrap: break-word;
word-break: break-all;
height: 120px;
background-color: #2b4343;
color: #e8e8e8;
padding: 5px;
}
.previous-operand {
font-size: 23px;
opacity: 0.8;
}
.current-operand {
font-size: 30px;
}
.keyboard {
height: 500px;
display: grid;
grid-template-columns: repeat(4, 1fr);
}
.keyboard-button {
font-size: 30px;
cursor: pointer;
background-color: #cecece;
border: 1px solid #a9a9a9;
min-width: 90px;
outline: none;
}
.keyboard-button:hover {
background-color: #e3e3e3;
}
.span-two {
grid-column: span 2;
}
@media (max-width: 400px) {
.container {
width: 300px;
height: 500px;
}
.keyboard {
height: 378px;
}
.keyboard-button {
min-width: 60px;
}
}