As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com. |
Difference between revisions of "MediaWiki:Common.css"
From ChipWhisperer Wiki
Line 17: | Line 17: | ||
} | } | ||
− | /* | + | |
− | . | + | /* Collapse Toggle container */ |
− | + | #collapse-pre-one .mw-collapsible-toggle{ | |
+ | display: table; | ||
+ | border-collapse: collapse; | ||
+ | width: 100%; | ||
} | } | ||
− | |||
− | .mw-collapsible-toggle{ | + | #collapse-pre-one .mw-collapsible-toggle-row{ |
− | + | display: table-row; | |
+ | } | ||
+ | |||
+ | /* Collapse Header should be on the left */ | ||
+ | #collapse-pre-one .mw-collapsible-toggle .mw-collapsible-toggle-header{ | ||
+ | display: table-cell; | ||
+ | vertical-align: middle; | ||
+ | padding: 5px; | ||
+ | } | ||
+ | |||
+ | /* Collapse indicator image should be inline. align wherever you would like */ | ||
+ | #collapse-pre-one .mw-collapsible-toggle .mw-collapsible-toggle-indicator{ | ||
+ | display: table-cell; | ||
+ | vertical-align: middle; | ||
+ | padding: 5px; | ||
+ | text-align: right; | ||
+ | } | ||
+ | |||
+ | /* Collapse indicator image size should be something sane*/ | ||
+ | #collapse-pre-one .mw-collapsible-toggle .mw-collapsible-toggle-indicator img{ | ||
+ | height: 20px !important; | ||
+ | width: 20px !important; | ||
+ | } | ||
+ | |||
+ | /* Collapse indicator image should rotate when toggled*/ | ||
+ | #collapse-pre-one:not(.mw-collapsed) .mw-collapsible-toggle .mw-collapsible-toggle-indicator img{ | ||
+ | /* Safari */ | ||
+ | -webkit-transform: rotate(90deg); | ||
+ | |||
+ | /* Firefox */ | ||
+ | -moz-transform: rotate(90deg); | ||
+ | |||
+ | /* IE */ | ||
+ | -ms-transform: rotate(90deg); | ||
+ | |||
+ | /* Opera */ | ||
+ | -o-transform: rotate(90deg); | ||
+ | |||
+ | /* Internet Explorer */ | ||
+ | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); | ||
} | } |
Revision as of 05:33, 19 January 2017
/* CSS placed here will be applied to all skins */
.headerTree-h1 {
margin-left: 10px;
}
.headerTree-h2 {
margin-left: 30px;
}
.headerTree-h3 {
margin-left: 60px;
}
.headerTree-h4 {
margin-left: 90px;
}
/* Collapse Toggle container */
#collapse-pre-one .mw-collapsible-toggle{
display: table;
border-collapse: collapse;
width: 100%;
}
#collapse-pre-one .mw-collapsible-toggle-row{
display: table-row;
}
/* Collapse Header should be on the left */
#collapse-pre-one .mw-collapsible-toggle .mw-collapsible-toggle-header{
display: table-cell;
vertical-align: middle;
padding: 5px;
}
/* Collapse indicator image should be inline. align wherever you would like */
#collapse-pre-one .mw-collapsible-toggle .mw-collapsible-toggle-indicator{
display: table-cell;
vertical-align: middle;
padding: 5px;
text-align: right;
}
/* Collapse indicator image size should be something sane*/
#collapse-pre-one .mw-collapsible-toggle .mw-collapsible-toggle-indicator img{
height: 20px !important;
width: 20px !important;
}
/* Collapse indicator image should rotate when toggled*/
#collapse-pre-one:not(.mw-collapsed) .mw-collapsible-toggle .mw-collapsible-toggle-indicator img{
/* Safari */
-webkit-transform: rotate(90deg);
/* Firefox */
-moz-transform: rotate(90deg);
/* IE */
-ms-transform: rotate(90deg);
/* Opera */
-o-transform: rotate(90deg);
/* Internet Explorer */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}