Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | + | #pt-login, #p-tb, #ca-history, #ca-viewsource, #ca-talk{ | |
− | #p-tb, #ca-talk{ | + | display:none!important; |
− | display: none; | ||
} | } | ||
− | |||
#pradiv{ | #pradiv{ | ||
Line 14: | Line 12: | ||
} | } | ||
.flex-item{ | .flex-item{ | ||
− | border: 1px dashed | + | border: 1px dashed white; |
flex-grow: 1; | flex-grow: 1; | ||
padding: 10px; | padding: 10px; | ||
} | } | ||
.fixed{ | .fixed{ | ||
− | border: 1px solid | + | border: 1px solid white; |
width: 33%; | width: 33%; | ||
padding: 10px; | padding: 10px; | ||
Line 32: | Line 30: | ||
.pralabel a{ | .pralabel a{ | ||
background-image: none!important; | background-image: none!important; | ||
+ | display:block; | ||
+ | width:100%; | ||
+ | text-decoration:none; | ||
} | } | ||
.readmore{ | .readmore{ | ||
position: absolute; | position: absolute; | ||
bottom: 0; | bottom: 0; | ||
− | right: | + | right: 8px; |
+ | } | ||
+ | |||
+ | .fixed div p a img, .fixed p img { | ||
+ | max-width:100%; | ||
+ | height:auto; | ||
} | } |
Latest revision as of 15:00, 9 February 2021
/* CSS placed here will be applied to all skins */ #pt-login, #p-tb, #ca-history, #ca-viewsource, #ca-talk{ display:none!important; } #pradiv{ padding: 10px; } .container{ display:flex; min-height:400px; } .flex-item{ border: 1px dashed white; flex-grow: 1; padding: 10px; } .fixed{ border: 1px solid white; width: 33%; padding: 10px; position:relative; background-color: #e8ecf5; } .pralabel{ text-align: center; font-size: 1.5em; text-decoration: underline; } .pralabel a{ background-image: none!important; display:block; width:100%; text-decoration:none; } .readmore{ position: absolute; bottom: 0; right: 8px; } .fixed div p a img, .fixed p img { max-width:100%; height:auto; }