fix css
This commit is contained in:
@@ -401,7 +401,7 @@ article.article-content {
|
|||||||
/* Sidebar styles */
|
/* Sidebar styles */
|
||||||
.article-sidebar {
|
.article-sidebar {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 100px;
|
top: 90px; /* Adjusted for header height + some margin */
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -836,11 +836,27 @@ article.article-content {
|
|||||||
padding: 10px !important;
|
padding: 10px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix overflow on article pages */
|
||||||
|
article.article-content {
|
||||||
|
overflow-x: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
article.article-content #comment-atproto {
|
||||||
|
margin-left: -10px !important;
|
||||||
|
margin-right: -10px !important;
|
||||||
|
width: calc(100% + 20px) !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Hide site title text on mobile */
|
/* Hide site title text on mobile */
|
||||||
.site-title {
|
.site-title {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Adjust TOC position for mobile header */
|
||||||
|
.article-sidebar {
|
||||||
|
top: 50px !important; /* Mobile header is smaller */
|
||||||
|
}
|
||||||
|
|
||||||
/* Left align logo on mobile */
|
/* Left align logo on mobile */
|
||||||
.logo {
|
.logo {
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
<!-- OAuth Comment System - Load globally for session management -->
|
<!-- OAuth Comment System - Load globally for session management -->
|
||||||
<script type="module" crossorigin src="/assets/comment-atproto-DnAMiyGQ.js"></script>
|
<script type="module" crossorigin src="/assets/comment-atproto-Bfd-uNe_.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-DLari4ye.css">
|
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-XXpPwqCp.css">
|
@@ -199,6 +199,18 @@
|
|||||||
.comment-header {
|
.comment-header {
|
||||||
padding: 10px !important;
|
padding: 10px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix for article pages with padding */
|
||||||
|
article.article-content .comment-section,
|
||||||
|
article.article-content .app {
|
||||||
|
margin-left: -10px !important;
|
||||||
|
margin-right: -10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
article.article-content .comments-list,
|
||||||
|
article.article-content .auth-section {
|
||||||
|
max-width: 100vw !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.gacha-section {
|
.gacha-section {
|
||||||
|
Reference in New Issue
Block a user