mirror of https://gitlab.com/bashrc2/epicyon
Font size for page dashes
parent
9224807880
commit
2c06db2981
|
@ -44,6 +44,8 @@
|
||||||
--border-color: #505050;
|
--border-color: #505050;
|
||||||
--border-width: 2px;
|
--border-width: 2px;
|
||||||
--border-width-header: 2px;
|
--border-width-header: 2px;
|
||||||
|
--font-page-dash-tiny: 8px;
|
||||||
|
--font-page-dash-mobile: 12px;
|
||||||
--font-size-header: 18px;
|
--font-size-header: 18px;
|
||||||
--font-size-header-mobile: 32px;
|
--font-size-header-mobile: 32px;
|
||||||
--font-size-header-tiny: 13px;
|
--font-size-header-tiny: 13px;
|
||||||
|
@ -1850,6 +1852,8 @@ h3 {
|
||||||
}
|
}
|
||||||
.pageslist mark {
|
.pageslist mark {
|
||||||
}
|
}
|
||||||
|
.pageslistDash {
|
||||||
|
}
|
||||||
.voteresult {
|
.voteresult {
|
||||||
width: var(--voteresult-width);
|
width: var(--voteresult-width);
|
||||||
height: var(--voteresult-height);
|
height: var(--voteresult-height);
|
||||||
|
@ -2642,6 +2646,9 @@ h3 {
|
||||||
}
|
}
|
||||||
.pageslist mark {
|
.pageslist mark {
|
||||||
}
|
}
|
||||||
|
.pageslistDash {
|
||||||
|
font-size: var(--font-page-dash-mobile);
|
||||||
|
}
|
||||||
.voteresult {
|
.voteresult {
|
||||||
width: var(--voteresult-width-mobile);
|
width: var(--voteresult-width-mobile);
|
||||||
height: var(--voteresult-height-mobile);
|
height: var(--voteresult-height-mobile);
|
||||||
|
@ -3430,6 +3437,9 @@ h3 {
|
||||||
}
|
}
|
||||||
.pageslist mark {
|
.pageslist mark {
|
||||||
}
|
}
|
||||||
|
.pageslistDash {
|
||||||
|
font-size: var(--font-page-dash-tiny);
|
||||||
|
}
|
||||||
.voteresult {
|
.voteresult {
|
||||||
width: var(--voteresult-width-tiny);
|
width: var(--voteresult-width-tiny);
|
||||||
height: var(--voteresult-height-tiny);
|
height: var(--voteresult-height-tiny);
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
"cw-style": "normal",
|
"cw-style": "normal",
|
||||||
"cw-weight": "bold",
|
"cw-weight": "bold",
|
||||||
"column-right-fg-color-voted-on": "red",
|
"column-right-fg-color-voted-on": "red",
|
||||||
|
"font-page-dash-tiny": "8px",
|
||||||
|
"font-page-dash-mobile": "12px",
|
||||||
"font-size-header": "18px",
|
"font-size-header": "18px",
|
||||||
"font-size-header-mobile": "32px",
|
"font-size-header-mobile": "32px",
|
||||||
"font-size-header-tiny": "16px",
|
"font-size-header-tiny": "16px",
|
||||||
|
|
|
@ -439,7 +439,9 @@ def _page_number_buttons(users_path: str, box_name: str,
|
||||||
num_str = ''
|
num_str = ''
|
||||||
for page in range(min_page_number, max_page_number):
|
for page in range(min_page_number, max_page_number):
|
||||||
if num_str:
|
if num_str:
|
||||||
num_str += html_hide_from_screen_reader('────')
|
separator_str = \
|
||||||
|
'<label class="pageslistDash">────</label>'
|
||||||
|
num_str += html_hide_from_screen_reader(separator_str)
|
||||||
aria_page_str = ''
|
aria_page_str = ''
|
||||||
page_str = ' ' + str(page) + ' '
|
page_str = ' ' + str(page) + ' '
|
||||||
curr_page_str = ''
|
curr_page_str = ''
|
||||||
|
|
Loading…
Reference in New Issue