Image corners style

main
Bob Mottram 2020-06-11 14:12:59 +01:00
parent d523a6354d
commit 33657bf6b7
2 changed files with 6 additions and 3 deletions

View File

@ -39,6 +39,7 @@
--button-height: 10px;
--button-height-padding-mobile: 20px;
--button-height-padding: 10px;
--image-corners: 10%,
--gallery-border: #ccc;
--gallery-hover: #777;
--gallery-text-color: #ccc;
@ -723,7 +724,7 @@ div.gallery img {
width: 5%;
padding: 0px 7px;
margin-right: 20px;
border-radius: 10%;
border-radius: var(--image-corners);
}
.container img.emojisearch {
width: 10%;
@ -1074,7 +1075,7 @@ div.gallery img {
width: 15%;
padding: 0px 7px;
margin-right: 20px;
border-radius: 10%;
border-radius: var(--image-corners);
}
.container img.emojisearch {
width: 12%;

View File

@ -270,6 +270,7 @@ def setThemeStarlight(baseDir: str):
"cw-glow-color5": "#a3d5f0",
"cw-background": "black",
"timeline-border-radius": "20px",
"image-corners": "2%"
"*font-family": "'bgrove'",
"*src": "url('fonts/bgrove.ttf') format('truetype')"
}
@ -454,7 +455,8 @@ def setThemeHacker(baseDir: str):
"event-foreground": "black",
"title-text": "black",
"title-background": "darkgreen",
"gallery-text-color": "green"
"gallery-text-color": "green",
"image-corners": "0%"
}
setThemeFromDict(baseDir, 'hacker', themeParams)