Commit 82c3cdd0 authored by Dan Visel's avatar Dan Visel
Browse files

fix(ui): added visible figures to this branch

parent a155d655
Pipeline #26893 failed with stage
......@@ -539,5 +539,47 @@ export default css`
border-radius: 8px;
color: white;
padding: 4px 8px;
}
/* added for figure weirdness */
figure {
border: 1px solid ${darken('colorPrimary', 1)};
margin-bottom: 1rem;
padding: 1rem;
position: relative;
}
figure::before {
color: ${darken('colorPrimary', 1)};
content: 'Figure:';
font-size: 75%;
left: 0;
letter-spacing: 0.5px;
position: absolute;
text-transform: uppercase;
top: -1.25rem;
}
figure:hover:before {
content: 'Click to add a caption';
}
figcaption {
border: 1px solid ${darken('colorPrimary', 1)};
margin-top: 1rem;
padding: 1rem;
position: relative;
}
figcaption::before {
color: ${darken('colorPrimary', 1)};
content: 'Caption:';
font-size: 75%;
left: 0;
letter-spacing: 0.5px;
position: absolute;
text-transform: uppercase;
top: -1.25rem;
}
`
Markdown is supported
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