Icon width in third column

main
Bob Mottram 2020-10-03 20:15:09 +01:00
parent 37045b395f
commit 97412c9ac4
2 changed files with 12 additions and 6 deletions

View File

@ -64,12 +64,14 @@
--quote-font-weight: normal; --quote-font-weight: normal;
--quote-font-size: 120%; --quote-font-size: 120%;
--line-spacing: 130%; --line-spacing: 130%;
--column-left-width: 9vw; --column-left-width: 10vw;
--column-center-width: 80vw; --column-center-width: 80vw;
--column-right-width: 9vw; --column-right-width: 10vw;
--column-left-header-background: #555; --column-left-header-background: #555;
--column-left-header-color: #fff; --column-left-header-color: #fff;
--column-left-header-size: 20px; --column-left-header-size: 20px;
--column-left-icon-size: 20%;
--column-right-icon-size: 20%;
} }
@font-face { @font-face {
@ -972,11 +974,11 @@ aside .toggle-inside li {
.col-left img.leftColEdit { .col-left img.leftColEdit {
background: var(--column-left-color); background: var(--column-left-color);
margin: 40px 0; margin: 40px 0;
width: 20%; width: var(--column-left-icon-size);
} }
.col-left img.leftColEditImage { .col-left img.leftColEditImage {
background: var(--column-left-color); background: var(--column-left-color);
width: 20%; width: var(--column-left-icon-size);
float: right; float: right;
} }
.col-left img.leftColImg { .col-left img.leftColImg {
@ -1012,11 +1014,11 @@ aside .toggle-inside li {
.col-right img.rightColEdit { .col-right img.rightColEdit {
background: var(--column-left-color); background: var(--column-left-color);
margin: 40px 0; margin: 40px 0;
width: 20%; width: var(--column-right-icon-size);
} }
.col-right img.rightColEditImage { .col-right img.rightColEditImage {
background: var(--column-left-color); background: var(--column-left-color);
width: 20%; width: var(--column-right-icon-size);
float: left; float: left;
} }
.col-right img.rightColImg { .col-right img.rightColImg {

View File

@ -297,6 +297,10 @@ def setThemeIndymedia(baseDir: str):
"title-text": "white", "title-text": "white",
"title-background": "#003366", "title-background": "#003366",
"quote-right-margin": "0.1em", "quote-right-margin": "0.1em",
"column-left-width": "10vw",
"column-center-width": "70vw",
"column-right-width": "20vw",
"column-right-icon-size": "11%"
} }
setThemeFromDict(baseDir, name, themeParams, bgParams) setThemeFromDict(baseDir, name, themeParams, bgParams)