Update Asciidoctor styling

This commit is contained in:
Gabriel Arazas 2023-04-09 13:28:29 +08:00
parent 7d10114154
commit ec0c4fde79
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 10 additions and 10 deletions

View File

@ -44,7 +44,7 @@ sup.footnote {
}
[class$="block"],
:is(.admonitionblock, .dialogblock) {
:where(.admonitionblock, .dialogblock, .listingblock, .literalblock) {
margin: 1rem 0 0;
.title > code {
@ -60,7 +60,7 @@ p.tableblock {
margin: unset;
}
*:not(.listingblock, .openblock) {
*:not(.listingblock, .literalblock, .openblock) {
> .attribution,
> .title {
background: var(--foreground);
@ -276,3 +276,11 @@ p {
margin-left: auto;
}
}
@media all and (max-width: 860px) {
.imageblock {
> .content {
width: 100% !important;
}
}
}

View File

@ -162,11 +162,3 @@ code[data-lang] {
color: unset;
}
}
@media all and (max-width: 860px) {
.imageblock {
> .content {
width: 100% !important;
}
}
}