Left column image style

merge-requests/8/head
Bob Mottram 2020-10-02 16:03:19 +01:00
parent 6057b0d233
commit e9e6ad7dd5
2 changed files with 5 additions and 1 deletions

View File

@ -975,6 +975,10 @@ aside .toggle-inside li {
margin: 40px 0;
width: 20%;
}
.col-left img.leftColImg {
background: var(--column-left-color);
width: 90%;
}
.col-center {
width: var(--column-center-width);
}

View File

@ -5185,7 +5185,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
if os.path.isfile(leftColumnImageFilename):
htmlStr += \
' <center>\n' + \
' <img loading="lazy" src="/users/' + nickname + \
' <img class="leftColImg" loading="lazy" src="/users/' + nickname + \
'/left_col_image.png" />\n' + \
' </center>\n'