Add whitespace below figure element. Fixes #32
This commit is contained in:
1 parent
fd0d497654
commit
39e4cf57af
3 files changed
+6
-1
No files matched your search
@@ -16,6 +16,8 @@ Here are some examples of what a post with images might look like. If you want t
|
||||
<figcaption><a href="http://www.flickr.com/photos/80901381@N04/7758832526/" title="Morning Fog Emerging From Trees by A Guy Taking Pictures, on Flickr">Morning Fog Emerging From Trees by A Guy Taking Pictures, on Flickr</a>.</figcaption>
|
||||
</figure>
|
||||
|
||||
Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater ullamco quinoa ennui assumenda, sapiente occupy delectus lo-fi. Ea fashion axe Marfa cillum aliquip. Retro Bushwick keytar cliche. Before they sold out sustainable gastropub Marfa readymade, ethical Williamsburg skateboard brunch qui consectetur gentrify semiotics. Mustache cillum irony, fingerstache magna pour-over keffiyeh tousled selfies.
|
||||
|
||||
#### Two Up
|
||||
|
||||
Apply the `half` class like so to display two images side by side that share the same caption.
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{width:100%;margin-bottom:1.5em;border-collapse:collapse;border-spacing:0}::-moz-selection{color:#343434;text-shadow:none;background-color:#dadada}::selection{color:#343434;text-shadow:none;background-color:#dadada}.all-caps{text-transform:uppercase}.pull-left{float:left}.pull-right{float:right}.image-pull-right{float:right;margin-top:0}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.unstyled-list{padding-left:0;margin-left:0;list-style:none}.unstyled-list li{list-style-type:none}b,i,strong,em,blockquote,p,q,span,figure,img,h1,h2,header,input,a{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}body{font-family:'PT Serif',serif;color:#333332}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif}h1{margin-bottom:26px;margin-bottom:1.625rem;font-size:32px;font-size:2rem;line-height:.8125}h2{margin-bottom:26px;margin-bottom:1.625rem;font-size:28px;font-size:1.75rem;line-height:.9286}h3{margin-bottom:26px;margin-bottom:1.625rem;font-size:24px;font-size:1.5rem;line-height:1.0833}h4{margin-bottom:26px;margin-bottom:1.625rem;font-size:18px;font-size:1.125rem;line-height:1.4444}h5{margin-bottom:26px;margin-bottom:1.625rem;font-size:16px;font-size:1rem;line-height:1.625}h6{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}a{color:#343434;text-decoration:none}a:visited{color:#676767}a:hover{color:#010101}a:focus{color:#010101;outline:thin dotted}a:hover,a:active{outline:0}figcaption{padding-top:10px;font-size:14px;font-size:.875rem;line-height:1.8571;line-height:1.3;color:#4d4d4b}.image-credit{display:inline;display:block;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%;font-size:12px;font-size:.75rem;font-style:italic;line-height:2.1667;line-height:1.3;color:#80807e;text-align:right}@media only screen and (min-width:37.5em){.image-credit{display:inline;float:left;width:75%;margin-right:0;margin-left:0}}@media only screen and (min-width:86.375em){.image-credit{display:inline;float:left;width:70.83333333333334%}}.image-credit a{color:#80807e}.notice{padding:.5em 1em;margin-top:1.5em;font-size:14px;font-size:.875rem;text-indent:0;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}blockquote{padding-left:20px;margin-left:-28px;font-family:'PT Serif',serif;font-style:italic;border-left:8px solid #333332}.footnotes ol,.footnotes li,.footnotes p{margin-bottom:0;font-size:14px;font-size:.875rem}p{margin:0 0 1.625rem}p+p{margin-top:-1.625rem;text-indent:1.625rem}tt,code,kbd,samp,pre{font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace}p code,li code{padding:0 5px;margin:0 2px;font-size:12px;font-size:.75rem;line-height:1.5;white-space:nowrap;background-color:#efefef;border:1px solid #f7f7f7;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre{overflow-x:auto;font-size:12px;font-size:.75rem;line-height:1.5}.highlight{margin-bottom:1.5em;font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono"Line truncated
|
||||
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{width:100%;margin-bottom:1.5em;border-collapse:collapse;border-spacing:0}::-moz-selection{color:#343434;text-shadow:none;background-color:#dadada}::selection{color:#343434;text-shadow:none;background-color:#dadada}.all-caps{text-transform:uppercase}.pull-left{float:left}.pull-right{float:right}.image-pull-right{float:right;margin-top:0}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.unstyled-list{padding-left:0;margin-left:0;list-style:none}.unstyled-list li{list-style-type:none}b,i,strong,em,blockquote,p,q,span,figure,img,h1,h2,header,input,a{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}body{font-family:'PT Serif',serif;color:#333332}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif}h1{margin-bottom:26px;margin-bottom:1.625rem;font-size:32px;font-size:2rem;line-height:.8125}h2{margin-bottom:26px;margin-bottom:1.625rem;font-size:28px;font-size:1.75rem;line-height:.9286}h3{margin-bottom:26px;margin-bottom:1.625rem;font-size:24px;font-size:1.5rem;line-height:1.0833}h4{margin-bottom:26px;margin-bottom:1.625rem;font-size:18px;font-size:1.125rem;line-height:1.4444}h5{margin-bottom:26px;margin-bottom:1.625rem;font-size:16px;font-size:1rem;line-height:1.625}h6{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}a{color:#343434;text-decoration:none}a:visited{color:#676767}a:hover{color:#010101}a:focus{color:#010101;outline:thin dotted}a:hover,a:active{outline:0}figcaption{padding-top:10px;font-size:14px;font-size:.875rem;line-height:1.8571;line-height:1.3;color:#4d4d4b}.image-credit{display:inline;display:block;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%;font-size:12px;font-size:.75rem;font-style:italic;line-height:2.1667;line-height:1.3;color:#80807e;text-align:right}@media only screen and (min-width:37.5em){.image-credit{display:inline;float:left;width:75%;margin-right:0;margin-left:0}}@media only screen and (min-width:86.375em){.image-credit{display:inline;float:left;width:70.83333333333334%}}.image-credit a{color:#80807e}.notice{padding:.5em 1em;margin-top:1.5em;font-size:14px;font-size:.875rem;text-indent:0;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}blockquote{padding-left:20px;margin-left:-28px;font-family:'PT Serif',serif;font-style:italic;border-left:8px solid #333332}.footnotes ol,.footnotes li,.footnotes p{margin-bottom:0;font-size:14px;font-size:.875rem}p{margin:0 0 1.625rem}p+p{margin-top:-1.625rem;text-indent:1.625rem}tt,code,kbd,samp,pre{font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace}p code,li code{padding:0 5px;margin:0 2px;font-size:12px;font-size:.75rem;line-height:1.5;white-space:nowrap;background-color:#efefef;border:1px solid #f7f7f7;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre{overflow-x:auto;font-size:12px;font-size:.75rem;line-height:1.5}.highlight{margin-bottom:1.5em;font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono"Line truncated
|
||||
@@ -8,6 +8,9 @@ hr {
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
/* Figures and images ==================================== */
|
||||
figure {
|
||||
margin-bottom: @indent-var;
|
||||
}
|
||||
article img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
|
||||
Reference in new issue
Block a user