Added box shadow to main div's

Added a uniform box-shadow for a more crisp and interesting look of the website
This commit is contained in:
Jonas_Jones 2023-10-14 21:17:29 +02:00
parent b9d4e0bb90
commit a6be8f3715
4 changed files with 11 additions and 3 deletions

View file

@ -3,7 +3,7 @@
</script>
<!-- Footer.svelte -->
<footer>
<footer class="box-shadow">
<div class="footer-flex">
<a href="/">Home</a>
<nav>

View file

@ -33,6 +33,7 @@
flex-wrap: wrap;
justify-content: space-between;
border-radius: 0.5rem;
box-shadow: 2px 2px rgb(0, 180, 0);
}
ul {

View file

@ -15,6 +15,7 @@
--text-color: #fff;
--link-text-color: #afb9c4;
--collapsed-background-color: #414753;
--box-shadow-color: #111316;
}
@media (prefers-color-scheme: light) {
@ -23,6 +24,8 @@
--container-background-color: #d9d6d0;
--text-color: #000;
--link-text-color: #50463b;
--collapsed-background-color: #c4c4c4;
--box-shadow-color: #aaa;
}
}
@ -87,6 +90,10 @@ ul {
display: flex;
}
.box-shadow {
box-shadow: 2px 2px var(--box-shadow-color);
}
.row:after {
content: "";
display: table;

View file

@ -6,8 +6,8 @@
<Header />
<div class="container">
<div class="column"><Navbar /></div>
<div class="column content flex_grow">
<div class="column box-shadow"><Navbar /></div>
<div class="column box-shadow content flex_grow">
<main>
<slot />
</main>