Template:Neighbor Stories/styles.css: Difference between revisions

Fixed some alignment, margin, and styling issues. Replaced text class with neighbor-story-text
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:


figure[typeof~='mw:File'].mw-halign-left.neighbor-story-image {
figure[typeof~='mw:File'].mw-halign-left.neighbor-story-image {
     margin: 0 1em 1em 0;
     margin: 0 1.75em 1.75em 0;
}
}


figure[typeof~='mw:File'].mw-halign-right.neighbor-story-image {
figure[typeof~='mw:File'].mw-halign-right.neighbor-story-image {
     margin: 0 0 1em 1em;
     margin: 0 0 1.75em 1.75em;
}
}


Line 71: Line 71:
.neighbor-story-text p + hr {
.neighbor-story-text p + hr {
     margin-top: -0.75em !important;
     margin-top: -0.75em !important;
}
.neighbor-story-text p:last-of-type + hr {
    margin-top: 0.75em !important;
}
}