0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 00:20:26 +03:00

Refactor Astro components and layouts

This commit is contained in:
2024-09-12 16:39:06 +00:00
parent 3376c53b2e
commit a93400f090
3 changed files with 46 additions and 45 deletions

View File

@ -2,6 +2,52 @@
---
<style lang="scss">
@import "../scss/_variables.scss";
header {
background-color: $colorBg;
border-bottom: 1px solid $colorHeader;
box-shadow: 0 5px 5px $colorBg;
left: 0;
line-height: 3.5em;
opacity: 0.975;
position: fixed;
right: 0;
top: 0;
}
nav {
margin: auto;
max-width: 60em;
padding: 0 4em;
text-align: right;
a {
color: $colorText;
padding: 0 1em;
&:visited {
color: $colorText;
}
}
}
@media (width <=684px) {
header {
box-shadow: none;
}
nav {
padding: 0 2em;
span {
display: none;
}
}
}
</style>
<header>
<nav>
<a href="/feed.xml">RSS</a>