Skip to content
Snippets Groups Projects
Commit dbfd5adc authored by khawkins98's avatar khawkins98
Browse files
parent 3ba23b0c
No related branches found
No related tags found
No related merge requests found
...@@ -88,14 +88,43 @@ ...@@ -88,14 +88,43 @@
// image tweaks // image tweaks
body .thumbnail { box-shadow: none; } body .thumbnail { box-shadow: none; }
// captions as a legacy class and figure > figcaption
.caption { .caption {
line-height: 1.3em; line-height: 1.4em;
font-family: sans-serif; font-size: .9rem;
font-size: .85rem;
opacity: .8; opacity: .8;
overflow: hidden; overflow: hidden;
} }
figure.image {
display: table;
width: 1px;
padding-left: .5rem;
img, figcaption {
max-width: inherit;
}
figcaption {
margin: .75rem 0;
line-height: 1.4em;
font-family: sans-serif;
font-size: .9rem;
opacity: .8;
overflow: hidden;
display: table-row;
}
// Don't inherit figcaption width when image is responsive
.columns > &,
.columns > & img {
max-width: 100%;
width: auto;
display: block;
}
}
// image .highlight-caption // image .highlight-caption
a.highlight-caption, a.highlight-caption,
.highlight-caption { .highlight-caption {
...@@ -120,7 +149,6 @@ ...@@ -120,7 +149,6 @@
margin-bottom: 0; margin-bottom: 0;
} }
body .has-tip { font-weight: normal; line-height: 1em; background: rgba(0,0,0,.03); } body .has-tip { font-weight: normal; line-height: 1em; background: rgba(0,0,0,.03); }
/* Float left for pullquotes */ /* Float left for pullquotes */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment