Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commita3d4349

Browse files
committed
remove unnecessary styles, add media query
1 parentd5f476e commita3d4349

File tree

1 file changed

+10
-33
lines changed

1 file changed

+10
-33
lines changed

‎src/css/custom.css‎

Lines changed: 10 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,6 @@ a[docid="docs"] > svg {
9090
align-items: center;
9191
}
9292

93-
@media screenand (max-width:480px) {
94-
a.navbar__item.navbar__link[docid="docs"] {
95-
display: none!important;
96-
}
97-
}
98-
99-
@media screenand (max-width:480px) {
100-
a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"]
101-
{
102-
display: none;
103-
}
104-
}
105-
10693
[data-theme="light"]img[src$="#gh-dark-mode-only"],
10794
[data-theme="dark"]img[src$="#gh-light-mode-only"] {
10895
display: none;
@@ -157,19 +144,6 @@ a[docid="docs"] > svg {
157144
align-items: center;
158145
}
159146

160-
@media screenand (max-width:480px) {
161-
a.navbar__item.navbar__link[docid="docs"] {
162-
display: none!important;
163-
}
164-
}
165-
166-
@media screenand (max-width:480px) {
167-
a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"]
168-
{
169-
display: none;
170-
}
171-
}
172-
173147
/* Light mode Discord icon */
174148
/* .header-discord-link:before {
175149
-webkit-filter: invert(100%);
@@ -303,13 +277,16 @@ a[docid="docs"] > svg {
303277
.center-image {
304278
text-align: center;
305279
}
306-
/* Hide "docs" text that overlays the logo */
307-
.navbar__itemsa[href="/"] {
308-
font-size:0;
309-
visibility: hidden;
280+
281+
@media screenand (max-width:480px) {
282+
a.navbar__item.navbar__link[href="/"] {
283+
display: none;
284+
}
310285
}
311286

312-
/* Ensure the logo remains visible */
313-
.navbar__logo {
314-
visibility: visible;
287+
@media screenand (max-width:480px) {
288+
a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"]
289+
{
290+
display: none;
291+
}
315292
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp