forked from indymedia/epicyon
Vertical header offset
parent
7298e7c885
commit
f329352512
|
@ -129,6 +129,7 @@
|
|||
--post-separator-margin-bottom: 0;
|
||||
--post-separator-width: 95%;
|
||||
--post-separator-height: 1px;
|
||||
--header-vertical-offset: 0;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -431,14 +432,6 @@ a:focus {
|
|||
margin: var(--vertical-between-posts);
|
||||
}
|
||||
|
||||
.containerHeader {
|
||||
border: var(--border-width-header) solid var(--border-color);
|
||||
background-color: var(--main-bg-color);
|
||||
border-radius: var(--timeline-border-radius);
|
||||
padding: var(--header-button-padding);
|
||||
margin: var(--vertical-between-posts-header);
|
||||
}
|
||||
|
||||
.media {
|
||||
width: 80%;
|
||||
border-radius: 5px;
|
||||
|
@ -919,6 +912,14 @@ div.container {
|
|||
font-size: var(--font-size);
|
||||
line-height: var(--line-spacing);
|
||||
}
|
||||
.containerHeader {
|
||||
border: var(--border-width-header) solid var(--border-color);
|
||||
background-color: var(--main-bg-color);
|
||||
border-radius: var(--timeline-border-radius);
|
||||
padding: var(--header-button-padding);
|
||||
margin: var(--vertical-between-posts-header);
|
||||
transform: translateY(var(--header-vertical-offset));
|
||||
}
|
||||
.container {
|
||||
border: var(--border-width) solid var(--border-color);
|
||||
background-color: var(--main-bg-color);
|
||||
|
@ -1556,6 +1557,13 @@ div.container {
|
|||
font-size: var(--font-size);
|
||||
line-height: var(--line-spacing);
|
||||
}
|
||||
.containerHeader {
|
||||
border: var(--border-width-header) solid var(--border-color);
|
||||
background-color: var(--main-bg-color);
|
||||
border-radius: var(--timeline-border-radius);
|
||||
padding: var(--header-button-padding);
|
||||
margin: var(--vertical-between-posts-header);
|
||||
}
|
||||
.container {
|
||||
border: var(--border-width) solid var(--border-color);
|
||||
background-color: var(--main-bg-color);
|
||||
|
|
1
theme.py
1
theme.py
|
@ -1026,6 +1026,7 @@ def setThemeIndymediaModern(baseDir: str):
|
|||
fontStrItalic = \
|
||||
"url('./fonts/NimbusSanL-italic.otf') format('opentype')"
|
||||
themeParams = {
|
||||
"header-vertical-offset": "-15%",
|
||||
"publish-button-vertical-offset": "0",
|
||||
"vertical-between-posts-header": "0 0",
|
||||
"header-button-padding": "0 0",
|
||||
|
|
Loading…
Reference in New Issue