feat: 💄 minor UI adjustments
This commit is contained in:
parent
9df8c71dbd
commit
0c5f903223
2 changed files with 3 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
|||
<div class="nsfw-bar">
|
||||
<div class="nsfw-bar__content">
|
||||
<div>
|
||||
This Page contains materials considered NSFW. Do you wish to see such
|
||||
This page contains materials considered NSFW. Do you wish to see such
|
||||
content?
|
||||
</div>
|
||||
<nsfw-switch />
|
||||
|
@ -61,10 +61,6 @@ export default {
|
|||
<style lang="scss">
|
||||
@import "@scss/_variables.scss";
|
||||
|
||||
header {
|
||||
background-color: $bg-color-dark;
|
||||
}
|
||||
|
||||
.header {
|
||||
max-width: 40em;
|
||||
margin: 1em auto;
|
||||
|
|
|
@ -69,6 +69,8 @@ export default {
|
|||
|
||||
.nav {
|
||||
&--fixed .nav__list {
|
||||
backdrop-filter: blur(1em);
|
||||
background-color: rgba($bg-color-dark, 0.5);
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
@ -77,14 +79,11 @@ export default {
|
|||
}
|
||||
|
||||
.nav__list {
|
||||
background-color: $bg-color-light;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
list-style-type: none;
|
||||
|
||||
// box-shadow: 0em 0.75em 1.25em -1em #444;
|
||||
z-index: 1;
|
||||
|
||||
overflow: auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue