Center column

merge-requests/8/head
Bob Mottram 2020-09-30 19:15:43 +01:00
parent ae8242ea05
commit fe19d84e88
2 changed files with 19 additions and 8 deletions

View File

@ -62,6 +62,7 @@
--quote-font-size: 120%;
--line-spacing: 130%;
--column-left-width: 0%;
--column-center-width: 100%;
--column-right-width: 0%;
}
@ -929,6 +930,10 @@ aside .toggle-inside li {
float: left;
width: var(--column-left-width);
}
.column-center {
display: inline-block;
width: var(--column-center-width);
}
.column-right {
float: right;
width: var(--column-right-width);
@ -1386,6 +1391,10 @@ aside .toggle-inside li {
float: left;
width: var(--column-left-width);
}
.column-center {
display: inline-block;
width: var(--column-center-width);
}
.column-right {
float: right;
width: var(--column-right-width);

View File

@ -5331,6 +5331,7 @@ def htmlTimeline(defaultTimeline: str,
tlStr += '<div class="row">\n'
tlStr += ' <div class="column-left">\n'
tlStr += ' </div>\n'
tlStr += ' <div class="column-center">\n'
# first button
if defaultTimeline == 'tlmedia':
@ -5624,6 +5625,7 @@ def htmlTimeline(defaultTimeline: str,
if boxName == 'tlmedia':
tlStr += '</div>\n'
tlStr += ' </div>\n'
tlStr += ' <div class="column-right">\n'
tlStr += ' </div>\n'
tlStr += '</div>'