client: markdown style improvements

This commit is contained in:
Max Leiter 2022-03-26 22:35:34 -07:00
parent e12e20418a
commit de54754833
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA
2 changed files with 3 additions and 23 deletions

View file

@ -106,11 +106,6 @@
content: ""; content: "";
} }
.markdownPreview img {
max-width: 100%;
max-height: 350px;
}
@media screen and (max-width: 800px) { @media screen and (max-width: 800px) {
.markdownPreview h1 a::after, .markdownPreview h1 a::after,
.markdownPreview h2 a::after, .markdownPreview h2 a::after,

View file

@ -8,9 +8,11 @@ article > * + * {
margin-top: 2em; margin-top: 2em;
} }
article video,
article img { article img {
max-width: 100%; max-width: 100%;
margin: auto; width: auto;
display: block;
} }
article [id]::before { article [id]::before {
@ -111,20 +113,3 @@ article pre {
padding: 1rem; padding: 1rem;
font-size: 0.875rem; font-size: 0.875rem;
} }
/* Linkable Headers */
.header-link {
color: inherit;
text-decoration: none;
}
.header-link::after {
opacity: 0;
content: "#";
margin-left: var(--gap-half);
}
.header-link:hover::after {
opacity: 1;
}