From d0d1c652fe5e091fab3bca590e21eeb5220cc443 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 9 Jul 2025 13:25:21 +0100 Subject: [PATCH] make css --- src/Yavsc/Makefile | 5 +++++ src/Yavsc/wwwroot/css/site.css | 23 ++++------------------- src/Yavsc/wwwroot/css/site.scss | 6 ++---- 3 files changed, 11 insertions(+), 23 deletions(-) diff --git a/src/Yavsc/Makefile b/src/Yavsc/Makefile index 7fd5529b..a3d03ccf 100644 --- a/src/Yavsc/Makefile +++ b/src/Yavsc/Makefile @@ -26,8 +26,13 @@ pushInProd: publish @sudo sync @sudo systemctl start $(SERVICE_PROD) +%.css: %.scss + scss $^ > $@ + %.min.js: %.js jsmin < $^ > $@ %.min.css: %.css jsmin < $^ > $@ + +css: wwwroot/css/site.css diff --git a/src/Yavsc/wwwroot/css/site.css b/src/Yavsc/wwwroot/css/site.css index 40580588..7edc006c 100644 --- a/src/Yavsc/wwwroot/css/site.css +++ b/src/Yavsc/wwwroot/css/site.css @@ -13,12 +13,10 @@ .navbar-dark .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); } -/* bootstrap.css | http://localhost:5000/lib/bootstrap/css/bootstrap.css */ div.carousel-inner > div.item > div.carousel-caption-s { margin: .5em; - background-color: #000000cf; - color:#ffffff; - + background-color: rgba(0, 0, 0, 0.6); + color: #ffffc8; font-weight: bold; padding: .5em; } @@ -26,24 +24,11 @@ img.blogphoto { max-width: 100%; max-height: 100%; } -.cmtdatetime { - font-style: italic; - font-size: x-small; - } - -.blogcomment { - display: inline-block; - padding: .3em; - border: solid black 1px; -} - input[type='checkbox'] { appearance: auto; min-width: 1em; - min-height: 1em; -} + min-height: 1em; } .container { background-color: #000000cf; - color:#ffffff; -} + color: #ffffff; } diff --git a/src/Yavsc/wwwroot/css/site.scss b/src/Yavsc/wwwroot/css/site.scss index 4ae292e5..9553b3ec 100644 --- a/src/Yavsc/wwwroot/css/site.scss +++ b/src/Yavsc/wwwroot/css/site.scss @@ -1,3 +1,5 @@ + + .grants-page { .card { margin-top: 20px; @@ -23,10 +25,6 @@ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); } - -/* bootstrap.css | http://localhost:5000/lib/bootstrap/css/bootstrap.css */ - - div.carousel-inner > div.item > div.carousel-caption-s { margin: .5em; background-color: rgba(0,0,0,.6);