-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtimer.css
103 lines (98 loc) · 2.04 KB
/
timer.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
body {
overflow:hidden;
}
.backgroundImageDIV {
background-image:url("assets/BG.jpg");
/*this option isn't bad but 100vw also works instead of auto if you have the right kind of background where dimensions aren't critical*/
background-size:auto 100vh;
background-repeat: no-repeat;
}
.fullWidthTitle {
text-align: center;
background:rgb(0,0,0,.5);
padding-top:25vh;
padding-right:5vh;
height:75vh;
}
.holder {
overflow:auto;
position:absolute;
height: 100vh;
width: 105vw
}
html, body, .grid-container {
margin: 0;
padding: 0;
font-family: 'Exo', sans-serif;
font-weight: 300;
width: 100%;
font-size:1.3rem;
}
h1, h2 {
font-weight: 300;
margin:0;
padding:0;
color:white;
}
.sizeit {
margin: 0;
padding:0;
width: 500px;
height: 100vh;
margin-left:auto;
margin-right:auto;
}
.grid-container {
display: grid;
text-align: center;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
gap: 1px 1px;
/*removed header template area*/
/*"timer-header timer-header timer-header timer-header"*/
grid-template-areas: "minutes-area minutes-area seconds-area seconds-area" "minutes-label minutes-label seconds-label seconds-label";
}
/*
.timer-header {
grid-area: timer-header;
text-align: center;
padding:0;
margin:0;
}*/
.minutes-area {
grid-area: minutes-area;
text-align: center;
padding:0;
margin:0;
}
.seconds-area {
grid-area: seconds-area;
text-align: center;
padding:0;
margin:0;
vertical-align:top;
}
.minutes-label {
grid-area: minutes-label;
text-align: center;
padding:0;
margin:0;
padding:0;
margin:0;
vertical-align:top;
}
.seconds-label {
grid-area: seconds-label;
text-align: center;
padding:0;
margin:0;
vertical-align:top;
}
/* For presentation only, no need to copy the code below */
/*
.grid-container * {
border: 1px solid red;
position: relative;
text-align: center;
}
*/