Remove unnecessary CSS

This commit is contained in:
n 2021-07-13 21:17:40 +09:00
parent e478b47e3b
commit beaa06fa01

View file

@ -1,30 +1,14 @@
.codeberg-design .sidebar-title a { color: var(--sidebar-title-text-color); }
.codeberg-design .sidebar-title .dark-mode a { color: var(--dm-sidebar-title-text-color); }
.content h1 { font-size: 34pt; }
.content h2 { font-size: 26pt; }
.content h3 { font-size: 20pt; }
.content h4 { font-size: 16pt; }
.content h5 { font-size: 14pt; }
.content h6 { font-size: 12pt; }
.content blockquote, .content img, .content pre { box-sizing: border-box; }
.content blockquote, .content pre { background: #eee; padding: 30px; margin: 0; border-left: 5px solid #2185d0; overflow: auto; }
.content blockquote p:last-of-type { margin-bottom: 0; }
.content blockquote blockquote { background: #ddd; }
.dark-mode .content blockquote, .dark-mode .content pre { background: #21242d; border-left: 5px solid #355379; color: #7f8a95; }
.content code { background: #eee; border-radius: 5px; padding: 1px 3px; }
.content pre code { background: none; border-radius: none; padding: 0; }
.content img { border: 5px solid #eee; max-width: 100%; }
.content p { hyphens: auto; max-width: 100%; }
.contribution-invitation hr { margin-top: 70px; margin-bottom: 30px; }
@media screen and (max-width: 750px) {
.content h1 { font-size: 28pt; }
.content h2 { font-size: 22pt; }
.content h3 { font-size: 18pt; }
}
@media (prefers-color-scheme: dark) {
.content blockquote, .content pre { background: #21242d; border-left: 5px solid #355379; color: #7f8a95; }
}