Commit a108b7f6 authored by Alexandre Kaspar's avatar Alexandre Kaspar

Some padding for captions

parent 87bd4ded
Pipeline #4634 passed with stage
in 2 seconds
......@@ -885,6 +885,6 @@ i[class^="icon-"]{opacity:0.5;vertical-align:-2px;}
.affix{position:fixed;}
a:not([href]){color:#555;}
[data-caption]{position: relative;margin-top:15px;display:inline-block;}
[data-caption]::before{display:block;content:attr(data-caption);position:absolute;width:100%;background:rgba(255,255,255,0.5);color:gray;}
[data-caption]::before{display:block;content:attr(data-caption);position:absolute;width:calc(100% - 10px);background:rgba(255,255,255,0.5);color:gray;padding:0 5px;}
[data-caption].dark::before{background:rgba(0,0,0,0.5);color:white;}
img,video,iframe{margin:15px 0;}
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