Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
| Line 11: | Line 11: | ||
} | } | ||
tr:nth-child(even) { background: rgba(0, 0, 0, 0.1); } | tr:nth-child(even) { background: rgba(0, 0, 0, 0.1); } | ||
| − | td { border: 1px solid #eeeeee; } | + | td { border: 1px solid #eeeeee; padding: 2px; } |
/* https://stackoverflow.com/questions/19450262/mediawiki-set-external-image-width-by-value */ | /* https://stackoverflow.com/questions/19450262/mediawiki-set-external-image-width-by-value */ | ||
Revision as of 16:12, 28 November 2020
/* CSS placed here will be applied to all skins */
code {
border: 0px;
}
table { border-collapse: collapse; }
thead {
background: rgba(0, 0, 0, 0.2);
text-align: left;
}
tr:nth-child(even) { background: rgba(0, 0, 0, 0.1); }
td { border: 1px solid #eeeeee; padding: 2px; }
/* https://stackoverflow.com/questions/19450262/mediawiki-set-external-image-width-by-value */
.externalimage-holder {
position: relative;
}
.externalimage-holder img {
width: 100%;
height: auto;
}
/* Float TOC to the right. */
#toc { float: right };