MediaWiki:Common.css: Difference between revisions
m lineheight for header wraps on notices |
add category page css |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/************************************************/ | /************************************************/ | ||
/** Category Page **/ | |||
.cat-but-container{ | |||
display:flex; | |||
flex-direction:column; | |||
justify-content:center; | |||
align-items:center; | |||
background-color: #e1e1e1; | |||
} | |||
.cat-but-row{ | |||
display:flex; | |||
flex-direction:row; | |||
flex-wrap:wrap | |||
justify-content:space-around; | |||
gap:8px; | |||
} | |||
.cat-but{ | |||
display: inline-block; | |||
box-sizing: border-box; | |||
margin: 0; | |||
padding:0.2rem; | |||
text-align: center; | |||
vertical-align: middle; | |||
line-height: 1.5em; | |||
font-size: 1em; | |||
background-color:#f8f8f8; | |||
border: solid 2px #aaa; | |||
border-radius: 0.25em; | |||
font-family: inherit; | |||
font-weight: bold; | |||
} | |||
.cat-but:hover{ | |||
border-color: #ada; | |||
background-color:#fff; | |||
} | |||
/** Templates **/ | /** Templates **/ | ||
/* Notices - Coloured boxes */ | /* Notices - Coloured boxes */ | ||
Line 66: | Line 102: | ||
font-size:125%; | font-size:125%; | ||
} | } | ||
/* Hatnote - temp test */ | /* Hatnote - temp test */ | ||
/* {{pp|small=y}} */ | /* {{pp|small=y}} */ |