-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (97 loc) · 2.11 KB
/
style.css
File metadata and controls
111 lines (97 loc) · 2.11 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
* {
font-family: 'Open Sans', sans-serif;
box-sizing: border-box;
margin: 0;
padding: 0;
}
.container {
display: flex;
flex-direction: column;
height: 100vh;
height: 100dvh;
background-color: #000000;
}
body {
background-color: #000000;
}
.display {
flex: 1;
display: flex;
align-items: center;
justify-content: flex-end;
font-size: 4rem;
padding: 0.5rem;
color: white;
overflow-x: auto;
/* white-space: nowrap; */
display: inline-block;
line-height: 28vh;
line-height: 28dvh;
text-align: right;
}
.buttons {
flex: 2;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(5, 1fr);
gap: 0.5rem;
padding: 0.5rem;
touch-action: manipulation;
}
.button {
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
font-weight: bold;
border-radius: 1.5rem;
color: white;
background-color: #004A77;
-webkit-user-select: none;
/* Safari */
user-select: none;
/* Standard syntax */
touch-action: manipulation;
}
.symbol{
fill: fff;
height: 2.5rem;
}
.button:hover {
filter: brightness(0.9);
}
.button:active {
filter: brightness(0.8);
}
.button.zero {
/* grid-column: span 2; */
-webkit-user-select: none;
/* Safari */
user-select: none;
/* Standard syntax */
}
.button.equal {
/* grid-row: span 2; */
background-color: #4caf50;
}
.button.clear {
background-color: #ce382d;
}
@media only screen and (min-width: 700px) {
.container {
display: flex;
flex-direction: row;
height: 100vh;
height: 100dvh;
background-color: #121212;
width: 100vw;
}
.display {
overflow-wrap: break-word;
line-height: 20vh;
line-height: 20dvh;
}
.buttons {
max-width: 50%;
}
}