From 34b078b21acee8cc8a7b0ec9f2e926c8d0419130 Mon Sep 17 00:00:00 2001 From: frederikpyt Date: Mon, 31 Aug 2020 14:41:44 +0200 Subject: [PATCH] v0.10.20b - Darkmode fixes --- .../resources/views/app/news/index.blade.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/skolehjem/resources/views/app/news/index.blade.php b/skolehjem/resources/views/app/news/index.blade.php index 1f40b66..7f402a1 100644 --- a/skolehjem/resources/views/app/news/index.blade.php +++ b/skolehjem/resources/views/app/news/index.blade.php @@ -10,7 +10,11 @@ margin-bottom: 7px; width: auto; heigt: auto; - background-color: white; + @if(request()->cookie("mode") == "dark") + background-color: rgba(0,0,0, 0.3); + @else + background-color: white; + @endif } div.header { @@ -56,19 +60,21 @@ .information{ text-align: center; - background-color: rgba(211, 211, 211, 0.3); + background-color: rgba(0, 0, 0, 0.2); width: 100%; height: 25px; } .card > .img > a > img, .card > .img > img { width: 100%; - } { - width: 100%; } html,body,main{ - background-color: rgb(200,200,200); + @if(request()->cookie("mode") == "dark") + + @else + background-color: rgb(200,200,200); + @endif }