x
This commit is contained in:
1 parent
716bb98b50
commit
cb51c0faeb
11 files changed
+127
-30
No files matched your search
@@ -85,3 +85,12 @@ html {
|
||||
border-radius: 16px;
|
||||
box-shadow: var(--shadow-brutal);
|
||||
}
|
||||
|
||||
/* Announcement Bar Layout Shifting via CSS :has() */
|
||||
body:has(.announcement-bar) .global-navbar[data-scrolled="false"] {
|
||||
top: 44px; /* Adjusts Navbar down when AnnouncementBar is present at the top */
|
||||
}
|
||||
|
||||
body:has(.announcement-bar) .global-main {
|
||||
padding-top: 116px; /* 72px original pt + 44px AnnouncementBar */
|
||||
}
|
||||
Reference in new issue
Block a user