Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(15 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; | ||
} | } | ||
.fixed{ | .fixed{ | ||
− | border: 1px solid | + | border: 1px solid white; |
width: 33%; | width: 33%; | ||
+ | padding: 10px; | ||
+ | position:relative; | ||
+ | background-color: #e8ecf5; | ||
} | } | ||
.pralabel{ | .pralabel{ | ||
text-align: center; | text-align: center; | ||
− | font-size: | + | 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; | ||
} | } |
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; }