mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Fix css for figures
This commit is contained in:
@@ -737,9 +737,40 @@ section.main .content .markdown blockquote p:last-child {
|
|||||||
section.main .content .markdown p {
|
section.main .content .markdown p {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
section.main .content .markdown img {
|
}
|
||||||
margin: 1rem 0;
|
section.main .content .markdown figure {
|
||||||
max-width: 100%;
|
height: 100px;
|
||||||
|
width: 100%;
|
||||||
|
background: #fff;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
section.main .content .markdown figure img {
|
||||||
|
height: 100%;
|
||||||
|
width: auto;
|
||||||
|
display: block;
|
||||||
|
position: static;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
@media (min-width: 376px) {
|
||||||
|
section.main .content .markdown figure {
|
||||||
|
height: 140px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 426px) {
|
||||||
|
section.main .content .markdown figure {
|
||||||
|
height: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 550px) {
|
||||||
|
section.main .content .markdown figure {
|
||||||
|
height: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 769px) {
|
||||||
|
section.main .content .markdown figure {
|
||||||
|
height: 269px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
section.main .content .markdown table {
|
section.main .content .markdown table {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
Reference in New Issue
Block a user