Editing Template:Neighbor Stories/styles.css
Appearance
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
.neighbor-story .mw-heading2 { | .neighbor-story .mw-heading2 { | ||
margin-top: 1em; | margin-top: 1em; | ||
} | } | ||
.neighbor-story-image { | .neighbor-story-image { | ||
border-radius: 20px; | border-radius: 20px; | ||
background: #131836; /* fallback */ | background: #131836; /* fallback */ | ||
background: linear-gradient(to bottom, #131836 0%, #14364d 100%); | background: linear-gradient(to bottom, #131836 0%, #14364d 100%); | ||
max-width: | max-width: 128px; | ||
} | } | ||
| Line 22: | Line 17: | ||
figure[typeof~='mw:File'].mw-halign-left.neighbor-story-image { | figure[typeof~='mw:File'].mw-halign-left.neighbor-story-image { | ||
margin: 0 | margin: 0 1em 1em 0; | ||
} | } | ||
figure[typeof~='mw:File'].mw-halign-right.neighbor-story-image { | figure[typeof~='mw:File'].mw-halign-right.neighbor-story-image { | ||
margin: 0 0 | margin: 0 0 1em 1em; | ||
} | } | ||
figure[typeof~='mw:File'].mw-halign-center.neighbor-story-image { | figure[typeof~='mw:File'].mw-halign-center.neighbor-story-image { | ||
margin: | margin: 1.75em auto 0; | ||
} | } | ||
@media (max-width: 639px) { | @media (max-width: 639px) { | ||
body.skin--responsive figure[typeof~='mw:File'].mw-halign-left.neighbor-story-image, | |||
body.skin--responsive figure[typeof~='mw:File'].mw-halign-right.neighbor-story-image { | |||
margin: 0 auto 1em !important; | |||
float: none !important; | |||
} | |||
body.skin--responsive figure[typeof~='mw:File'].mw-halign-center.neighbor-story-image { | body.skin--responsive figure[typeof~='mw:File'].mw-halign-center.neighbor-story-image { | ||
margin: | margin: 1.75em auto 0 !important; | ||
float: none !important; | |||
} | } | ||
} | } | ||
.neighbor-story .poem p { | |||
.neighbor-story | margin: -0.5em 0; | ||
. | |||
margin | |||
} | } | ||
.neighbor-story hr { | .neighbor-story hr { | ||
width: 85%; | width: 85%; | ||
margin: 0.2em auto; | margin: 0.2em auto; | ||
} | } | ||