This repository has been archived by the owner on Dec 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbig-screen-blaseball.user.css
127 lines (125 loc) · 3.16 KB
/
big-screen-blaseball.user.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/* ==UserStyle==
@name BIG SCREEN Blaseball [No longer includes Emoji Fix]
@namespace holmesmr.github
@version 0.0.17
@author cepheus (https://github.com/holmesmr)
@homepageURL http://holmesmr.github.io/Blaseball-Userstyles/
@license Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
==/UserStyle== */
@-moz-document domain("blaseball.com") {
.League-Countdown + ul,
.League-Countdown + ul > ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.GameWidget {
flex: 0 1 20%;
min-width: 300px;
padding: 2px;
margin-bottom: 0;
display: flex;
flex-direction: column;
gap: 0;
}
.GameWidget > :nth-last-child(2) {
flex-grow: 1;
}
.GameWidget > *:first-child {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.GameWidget > *:not(:first-child):not(:last-child) {
border-radius: 0;
}
.GameWidget > *:last-child {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.GameWidget-Full-Live,
.GameWidget-Full-Upcoming {
display: block;
}
.GameWidget-ScoreBacking {
padding: 5px 0;
}
.GameWidget-ScoreTeamColorBar {
margin-left: 0;
}
.GameWidget-ScoreLine {
grid-gap: 0;
gap: 0;
padding-right: 5px;
}
.Main {
padding: 0;
}
.Header,
.Navigation {
padding-left: 20px;
padding-right: 20px
}
.Widget-Log {
min-height: 0;
}
.Widget-Log-Content {
min-height: 115px;
overflow-y: auto;
}
.Widget-Display-Body {
padding: 0;
}
.Widget-Log,
.Widget-Upcoming-Bets {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.GameWidget-Full-Live .Widget-Status {
border-bottom-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.GameWidget-Full-Upcoming .Widget-Status {
border-bottom-left-radius: 0;
}
.Widget-StatusBar .WeatherIcon {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.Widget-Header-Wrapper {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.Offseason-Body,
.Standings-Subleague-Container {
padding: 0 calc(50% - 512px);
}
.Bulletin {
padding-left: 20px;
padding-right: 20px;
}
/* Reduce vertical space used by outcome text */
.GameWidget-Outcome {
min-height: 140px;
justify-content: flex-start;
}
.GameWidget-Outcome-Blurb {
padding: 5px 0;
}
.GameWidget-Outcome + .Widget-Log .Widget-Log-Content {
/* needed to prevent the log counter being clipped */
min-height: 20px;
}
/* Styles that only apply to the wider layout. */
@media(min-width: 1081px) {
.GameWidget > :nth-last-child(2) {
flex-grow: 0;
}
.GameWidget > :last-child {
flex-grow: 1;
}
.GameWidget-Upcoming-BetButtons {
margin-bottom: 10px;
}
}
}