style(article.scss): add margin-top to .info class to create space below the navigation bar

style(article.scss): remove media query for positioning .info class on tablets and devices without hover support
This commit is contained in:
Sped0n
2023-10-31 00:02:28 +08:00
parent 071f53071e
commit 4b2639d669

View File

@@ -1,4 +1,5 @@
.info {
margin-top: var(--nav-height);
padding: var(--space-standard);
max-width: 25em;
@@ -40,10 +41,3 @@
margin: 1.2rem 0;
}
}
@media (max-width: $tablet), (hover: none) {
.info {
top: var(--nav-height);
position: fixed;
}
}