-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
104 lines (88 loc) · 1.84 KB
/
index.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
footer {
position: absolute;
bottom: 0;
}
footer > a {
color: orange;
}
span {
display: flex;
align-items: center;
padding: 0 0 0 10;
}
.preFormattedInput {
display: flex;
justify-content: center;
}
.suffix {
font-size: 1.5rem;
background-color: #444444;
border-left: 0;
padding-right: 1rem;
white-space: nowrap; /* to prevent wrapping when zooming in */
color: #aaaaaa;
border-radius: 0 0.2em 0.2em 0;
}
body {
color: lightgray;
background-color: black;
display: flex;
justify-content: space-around;
align-items: center;
}
#contForTxtInputs {
display: flex;
justify-content: center;
gap: 5rem;
}
.contForEachSport {
display: flex;
flex-direction: column;
gap: 1.1rem;
}
.incorrectInput {
/* Important is needed so that it overrides the border 0 in .paceInputs */
border-left: 0.5em red solid !important;
}
.paceInputs {
border: 0;
font-size: 1.5em;
color: white;
border-radius: 0.2em 0 0 0.2em;
text-align: right;
border-right: 0;
background-color: #444444;
}
.paceInputs:focus {
outline: 0;
}
@media screen and (orientation:portrait) {
#contForTxtInputs {
height: 100%;
flex-direction: column;
}
#theSlider
{
-webkit-appearance: slider-vertical; /* Chromium needs just this to show input range vertically. Firefox sadly doesn't accept this.*/
height: 95vh;
width: 40vw; /* need this because owise firefox throw it too much to right*/
}
.paceInputs {
width: 70%;
}
footer {
font-size: 0.7rem;
z-index: 0;
left: 10;
}
}
@media screen and (orientation:landscape) {
#theSlider{
width: 95vw;
padding: 2rem 0 2rem 0;
}
body {
height: 80%;
flex-direction: column;
}
}