Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Update CSS for navbar item visibility and font size #204

Merged
merged 3 commits into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 13 additions & 26 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,6 @@ a[docid="docs"] > svg {
align-items: center;
}

@media screen and (max-width: 480px) {
a.navbar__item.navbar__link[docid="docs"] {
display: none !important;
}
}

@media screen and (max-width: 480px) {
a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"]
{
display: none;
}
}

[data-theme="light"] img[src$="#gh-dark-mode-only"],
[data-theme="dark"] img[src$="#gh-light-mode-only"] {
display: none;
Expand Down Expand Up @@ -157,19 +144,6 @@ a[docid="docs"] > svg {
align-items: center;
}

@media screen and (max-width: 480px) {
a.navbar__item.navbar__link[docid="docs"] {
display: none !important;
}
}

@media screen and (max-width: 480px) {
a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"]
{
display: none;
}
}

/* Light mode Discord icon */
/* .header-discord-link:before {
-webkit-filter: invert(100%);
Expand Down Expand Up @@ -303,3 +277,16 @@ a[docid="docs"] > svg {
.center-image {
text-align: center;
}

@media screen and (max-width: 480px) {
a.navbar__item.navbar__link[href="/"] {
display: none;
}
}

@media screen and (max-width: 480px) {
a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"]
{
display: none;
}
}
Loading