forked from mirror/_s
Update the main stylesheet to use the available classes
Avoid polluting the CSS specificity landscape with ids if we have suitable classes
This commit is contained in:
parent
752d08afd7
commit
3a75b8386d
16
style.css
16
style.css
|
@ -497,22 +497,22 @@ img.size-full {
|
||||||
.wp-caption .wp-caption-text {
|
.wp-caption .wp-caption-text {
|
||||||
margin: 0.8075em 0;
|
margin: 0.8075em 0;
|
||||||
}
|
}
|
||||||
#content .gallery {
|
.site-content .gallery {
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
.gallery-caption {
|
.gallery-caption {
|
||||||
}
|
}
|
||||||
#content .gallery a img {
|
.site-content .gallery a img {
|
||||||
border: none;
|
border: none;
|
||||||
height: auto;
|
height: auto;
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
#content .gallery dd {
|
.site-content .gallery dd {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
#content .gallery-columns-4 .gallery-item {
|
.site-content .gallery-columns-4 .gallery-item {
|
||||||
}
|
}
|
||||||
#content .gallery-columns-4 .gallery-item img {
|
.site-content .gallery-columns-4 .gallery-item img {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make sure embeds and iframes fit their containers */
|
/* Make sure embeds and iframes fit their containers */
|
||||||
|
@ -526,15 +526,15 @@ object {
|
||||||
/* =Navigation
|
/* =Navigation
|
||||||
----------------------------------------------- */
|
----------------------------------------------- */
|
||||||
|
|
||||||
#content .site-navigation {
|
.site-content .site-navigation {
|
||||||
margin: 0 0 1.5em;
|
margin: 0 0 1.5em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
#content .nav-previous {
|
.site-content .nav-previous {
|
||||||
float: left;
|
float: left;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
#content .nav-next {
|
.site-content .nav-next {
|
||||||
float: right;
|
float: right;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
|
Reference in New Issue