Banner height

main
Bob Mottram 2020-10-28 21:31:47 +00:00
parent 15346eece3
commit 95e8f583e3
2 changed files with 26 additions and 21 deletions

View File

@ -116,6 +116,8 @@
--likes-count-offset: 5px; --likes-count-offset: 5px;
--likes-count-offset-mobile: 10px; --likes-count-offset-mobile: 10px;
--publish-button-vertical-offset: 10px; --publish-button-vertical-offset: 10px;
--banner-height: 30vh;
--banner-height-mobile: 15vh;
} }
@font-face { @font-face {
@ -1080,7 +1082,7 @@ div.container {
} }
.timeline-banner { .timeline-banner {
width: 98vw; width: 98vw;
height: 15vh; height: var(--banner-height);
} }
.timeline { .timeline {
border: 0; border: 0;
@ -1747,7 +1749,8 @@ div.container {
display: inline; display: inline;
} }
.timeline-banner { .timeline-banner {
height: 6%; width: 98vw;
height: var(--banner-height-mobile);
} }
.timeline { .timeline {
border: 0; border: 0;

View File

@ -1101,6 +1101,8 @@ def setThemeIndymediaModern(baseDir: str):
def setThemeSolidaric(baseDir: str): def setThemeSolidaric(baseDir: str):
name = 'solidaric' name = 'solidaric'
themeParams = { themeParams = {
"banner-height": "35vh",
"banner-height-mobile": "15vh",
"time-vertical-align": "-4px", "time-vertical-align": "-4px",
"time-vertical-align-mobile": "15px", "time-vertical-align-mobile": "15px",
"hashtag-background-color": "lightred", "hashtag-background-color": "lightred",