aboutsummaryrefslogtreecommitdiff
path: root/static/sass
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-11-29 19:38:44 +0100
committerDaniel Schadt <kingdread@gmx.de>2023-11-29 19:44:42 +0100
commit2a93de1760618eb0a5bffdb61c14f73f6416ad66 (patch)
treee49a15fef05ba426aefff4a4c7bb2c7486b18e6d /static/sass
parentba110d4ca59695b604b1c5a9e72c6fc1635436aa (diff)
downloadmoeka-2a93de1760618eb0a5bffdb61c14f73f6416ad66.tar.gz
moeka-2a93de1760618eb0a5bffdb61c14f73f6416ad66.tar.bz2
moeka-2a93de1760618eb0a5bffdb61c14f73f6416ad66.zip
add setting for an logo image
Diffstat (limited to 'static/sass')
-rw-r--r--static/sass/main.scss8
1 files changed, 7 insertions, 1 deletions
diff --git a/static/sass/main.scss b/static/sass/main.scss
index 0cb73ab..81c4500 100644
--- a/static/sass/main.scss
+++ b/static/sass/main.scss
@@ -191,6 +191,9 @@ blockquote {
/* Side menu styling */
#sideBanner {
+ #mainLogo img {
+ max-width: 100%;
+ }
#mainTitle {
font-size: 20pt;
font-weight: bold;
@@ -255,7 +258,7 @@ img.social-icon {
display: none;
}
#sideBanner {
- max-width: 20%;
+ max-width: calc($breakpoint - 48em - 8px);
position: fixed;
padding-top: $spacing;
padding-left: $spacing;
@@ -269,6 +272,9 @@ img.social-icon {
/* Style for small screens */
@media (max-width: $breakpoint) {
+ #mainLogo {
+ display: none;
+ }
#openSideBanner {
position: absolute;
top: 0;