From 0b552cbbf605b897c96e5a09e3a339f8a0955dc3 Mon Sep 17 00:00:00 2001 From: Doge Date: Sat, 8 May 2021 16:36:20 +0800 Subject: Draw header page --- source/css/style.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source') diff --git a/source/css/style.css b/source/css/style.css index 60e5df1..8ce9927 100644 --- a/source/css/style.css +++ b/source/css/style.css @@ -1,3 +1,19 @@ pre { background-color: none !important; +} + +@media (prefers-color-scheme: dark) { + * { + transition: backgourd-color 0.5s; + } +} + +@media screen and (max-width: 1023px) { + .navbar-menu { + box-shadow: 0 8px 16px -8px rgb(10 10 10 / 10%) !important; + } +} + +.navbar-brand .navbar-item:hover { + background-color: inherit !important; } \ No newline at end of file -- cgit v1.2.3