Skip to content

Commit

Permalink
Update custom.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
HsiangNianian authored Sep 11, 2024
1 parent 2f3885c commit 8810814
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,18 +179,14 @@ div[class^="announcementBar_"] {
font-weight: bold;
color: var(--c-white);
height: var(--ifm-announcementBar-height);
}

@media (max-width: 768px) {
div[class^="announcementBar_"] {
@media (max-width: 768px) {
height: calc(var(--ifm-announcementBar-height) + 12px);
}
}

.navbar__items .documate-button {
display: none !important;
}

.navbar__link {
.navbar__items .documate-button {
@media (max-width: 768px) {
display: none !important;
}
}
Expand All @@ -206,6 +202,15 @@ footer[class="footer"] {
gap: 6px;
}

.navbar__link {
display: flex;
align-items: center;

@media (max-width: 768px) {
display: none !important;
}
}

.code-block-highlight-line {
background-color: var(--docusaurus-highlighted-code-line-bg);
display: block;
Expand Down Expand Up @@ -255,7 +260,7 @@ a {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1140px) {
@media screen and (min-width: 1140px) {
.navbar--fixed-top {
backdrop-filter: blur(8px); /* Apply the blur effect */
-webkit-backdrop-filter: blur(8px); /* Safari support */
Expand Down

0 comments on commit 8810814

Please sign in to comment.