Banner height

merge-requests/30/head
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-mobile: 10px;
--publish-button-vertical-offset: 10px;
--banner-height: 30vh;
--banner-height-mobile: 15vh;
}
@font-face {
@ -1080,7 +1082,7 @@ div.container {
}
.timeline-banner {
width: 98vw;
height: 15vh;
height: var(--banner-height);
}
.timeline {
border: 0;
@ -1747,7 +1749,8 @@ div.container {
display: inline;
}
.timeline-banner {
height: 6%;
width: 98vw;
height: var(--banner-height-mobile);
}
.timeline {
border: 0;

View File

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