-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
98 lines (91 loc) · 1.91 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
@font-face {
font-family: 'custom-main';
src: url('assets/CursedTimerUlil-Aznm.ttf');
}
body {
display: flex;
flex-direction: column;
box-sizing: border-box;
align-items: center;
justify-content: space-around;
gap: 0;
height: 100vh;
background-image: url('./assets/dart-bg.jpg');
/* background-color: pink; */
padding: 0;
margin: 0;
font-family: 'custom-main', Arial, 'Helvetica Neue', Helvetica, sans-serif;
color: orange;
}
* {
padding: 0;
margin: 0;
}
button.missed-btn {
height: 5vh;
width: 70vh;
font-weight: bold;
}
/* counter */
h1 {
font-size: 10vh;
/* this centers the tag */
width: fit-content;
margin: 0 auto;
}
.nowrap {
white-space: nowrap;
}
.scoreboard {
padding: 1rem 1rem 0;
background-color: #000000aa;
width: 50vw;
min-width: 500px;
text-align: center;
}
#svg8 {
width: auto;
max-width: 100vw;
height: auto;
max-height: 70vh;
}
#turns-list {
display: flex;
list-style: none;
font-size: 5vh;
justify-content: center;
gap: 5vh;
height: 1.2em;
/* height: 30vh; */
}
@media screen and (max-width: 550px) {
body {
/* display: initial; */
}
button.missed-btn {
width: 60vw;
}
/* current font size good until long message (you need to check out on double) */
h1 {
font-size: 4vh;
}
.scoreboard {
width: auto;
min-width: none;
overflow-x: hidden;
}
#svg8 {
width: 100vw;
}
#turns-list {
font-size: 3vh;
}
}
/* 4. Styling:
a. SVG not to exceed viewpot hight.
b. Score to be displayed in the middle
c. Turns list to be displayed to the side
d. LCD font for score + turns list
e. Missed button- large (width of board?) and in the middle
f. Background (billiard green? Wallpaper design?)
5. Spacebar shortcut for missed throws. */