mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
Merge pull request #33 from Thiht/master
feat: style Hugo figure shortcode
This commit is contained in:
commit
a1a967ca89
2 changed files with 13 additions and 0 deletions
|
@ -202,3 +202,11 @@ h6 {
|
|||
p {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
figcaption h4 {
|
||||
font-weight: 300 !important;
|
||||
opacity: .85;
|
||||
font-size: 1em;
|
||||
text-align: center;
|
||||
margin-top: -1.5em;
|
||||
}
|
|
@ -333,6 +333,11 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
|
|||
#body img.shadow, #body .video-container.shadow {
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
#body img.inline {
|
||||
display: inline !important;
|
||||
margin: 0 !important;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
#body .bordered {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue