-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (84 loc) · 1.62 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
104
body {
display: block;
margin: 0px;
padding: 0px;
font-family: sans-serif;
background-color: #026fee;
}
.flex-container {
display: flex;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
flex-flow: row wrap;
justify-content: center;
}
.master div {
text-align: center;
padding: 10px 10px 0 10px;
flex: 1 100%;
}
.header span {
color: white;
font-weight: bold;
text-shadow: 0px 2px 5px rgba(0,0,0,1);
font-size: 5vw;
}
.table table {
width: 100%;
height: 100%;
}
input {
width: 100%;
height: 10vh;
border: none;
text-align: center;
box-shadow: 0px 2px 5px rgba(0,0,0,0.75);
transition: all 0.3s ease-in-out;
font-size: 5vw;
}
input:hover, input:focus {
background-color: #fff;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number]::placeholder, input[type=number]::-webkit-placeholder {
font-size: 4vw;
}
.live {background-color: #defabb;}
.dead {background-color: #f5b6da;}
.result div {
color: white;
font-weight: bold;
text-shadow: 0px 2px 5px rgba(0,0,0,1);
font-size: 4vw;
}
.result span {
font-size: 5vw;
}
@media all and (min-width: 600px) {
.master {height: 100vh;}
input {
height: 100%;
font-size: 2vw;
}
.header span {
align-self: flex-end;
padding-bottom: 20px;
}
.table, .result div {
flex: 1 0 0% !important;
}
.table table {
border-spacing: 10px;
}
.result div {font-size: 2.5vw;}
.result span {font-size: 4vw;}
input[type=number]::placeholder, input[type=number]::-webkit-placeholder {
font-size: 2.5vw;
}
}