gallery style fixes

This commit is contained in:
Keitaroh Kobayashi
2013-08-04 17:33:33 +09:00
parent ee59355f40
commit 6b86165bb6
2 changed files with 22 additions and 6 deletions

View File

@@ -656,10 +656,6 @@ a:focus {
clear: both;
}
img {
display: none;
}
p {
margin: 0 0 14px;
}

View File

@@ -23,11 +23,13 @@ Use it to make something cool, have fun, and share what you've learned with othe
display: inline;
float: left;
margin-right: 1.5em;
margin-bottom: 0.5em;
}
.alignright {
display: inline;
float: right;
margin-left: 1.5em;
margin-bottom: 0.5em;
}
.aligncenter {
clear: both;
@@ -153,8 +155,14 @@ Use it to make something cool, have fun, and share what you've learned with othe
height: auto;
max-width: 90%;
}
.site-content .gallery dd {
margin: 0;
.site-content .gallery {
dt {
margin-bottom: 0.5em;
}
dd {
margin: 0;
}
}
.site-content .gallery-columns-4 .gallery-item {
}
@@ -226,6 +234,10 @@ object {
display: block;
}
.video-player {
margin-bottom: 0.5em;
}
/* Global styles */
%border-box {
@@ -292,4 +304,12 @@ footer {
article.post {
-ms-word-wrap: break-word;
word-wrap: break-word;
&.sticky {
.page-header {
background-color: #0A0;
}
}
}