client: markdown style improvements
This commit is contained in:
parent
e12e20418a
commit
de54754833
2 changed files with 3 additions and 23 deletions
|
@ -106,11 +106,6 @@
|
|||
content: "";
|
||||
}
|
||||
|
||||
.markdownPreview img {
|
||||
max-width: 100%;
|
||||
max-height: 350px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
.markdownPreview h1 a::after,
|
||||
.markdownPreview h2 a::after,
|
||||
|
|
|
@ -8,9 +8,11 @@ article > * + * {
|
|||
margin-top: 2em;
|
||||
}
|
||||
|
||||
article video,
|
||||
article img {
|
||||
max-width: 100%;
|
||||
margin: auto;
|
||||
width: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
article [id]::before {
|
||||
|
@ -111,20 +113,3 @@ article pre {
|
|||
padding: 1rem;
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue