MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
/* Prettify stub boxes */ | /* Prettify stub boxes */ | ||
.stub-box { | .stub-box { | ||
display: inline-block; | |||
max-width: 100% | max-width: 100%; | ||
background-color: #e9e9e9; | background-color: #e9e9e9; | ||
border-left: 4px solid #09bb62; | border-left: 4px solid #09bb62; | ||
Line 24: | Line 22: | ||
border-radius: 8px; | border-radius: 8px; | ||
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); | ||
vertical-align: top; /* aligns better with TOC */ | |||
} | } | ||
.stub-image { | .stub-image { | ||
display: flex; | display: flex; | ||
Line 42: | Line 42: | ||
text-align: left; | text-align: left; | ||
line-height: 1.4em; | line-height: 1.4em; | ||
white-space: nowrap; | |||
} | } | ||
.stub-word { | .stub-word { |