MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
} | } | ||
.stub-box { | .stub-box { | ||
display: inline- | display: inline-flex; | ||
align-items: center; | |||
max-width: 100%; | max-width: 100%; | ||
background-color: #e9e9e9; | background-color: #e9e9e9; | ||
Line 23: | Line 23: | ||
font-size: 0.95em; | font-size: 0.95em; | ||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); | box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); | ||
margin: 1em auto; | |||
float: left; | |||
clear: both; | |||
} | } | ||
Line 30: | Line 32: | ||
align-items: center; | align-items: center; | ||
margin-right: 10px; | margin-right: 10px; | ||
} | } | ||
.stub-image img { | .stub-image img { | ||
display: block; | display: block; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
vertical-align: middle; | |||
line-height: 1; | line-height: 1; | ||
} | } | ||
.stub-text { | .stub-text { | ||
text-align: left; | text-align: left; | ||
line-height: 1.4em; | line-height: 1.4em; | ||
white-space: | white-space: normal; | ||
color: #1e1f22; | |||
} | } | ||
.stub-word { | .stub-word { | ||
color: #4f504c; | color: #4f504c; | ||
} | } | ||
/* Main page stuff */ | /* Main page stuff */ |