MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Undo revision 6818 by Deantwo (talk) Moved to MediaWiki:Common.js.) |
(Did need some CSS.) |
||
Line 4: | Line 4: | ||
.mw-rollback-link { | .mw-rollback-link { | ||
display: none; | display: none; | ||
} | |||
/* Implements section-collapse and stop-section-collapse */ | |||
.section-collapse { | |||
border-color: #d5d4d4; | |||
border-style: solid; | |||
border-width: 2px 2px 0 0; | |||
content: ""; | |||
cursor: pointer; | |||
display: inline-block; | |||
height: 7px; | |||
margin-right: 5px; | |||
position: relative; | |||
right: 0; | |||
top: 5px; | |||
transform: rotate(-45deg); | |||
vertical-align: middle; | |||
width: 7px; | |||
} | |||
.section-collapsed { | |||
display: none; | |||
} | |||
.collapsed-icon { | |||
margin-top: 1px; | |||
transform: rotate(135deg); | |||
} | } |
Revision as of 08:57, 7 April 2019
/* CSS placed here will be applied to all skins */ /* Hides the rollback option. Not needed when we don't have large vandalism issues. */ .mw-rollback-link { display: none; } /* Implements section-collapse and stop-section-collapse */ .section-collapse { border-color: #d5d4d4; border-style: solid; border-width: 2px 2px 0 0; content: ""; cursor: pointer; display: inline-block; height: 7px; margin-right: 5px; position: relative; right: 0; top: 5px; transform: rotate(-45deg); vertical-align: middle; width: 7px; } .section-collapsed { display: none; } .collapsed-icon { margin-top: 1px; transform: rotate(135deg); }