Difference between revisions of "Common.css"
From LRDE
(9 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 */ |
||
+ | |||
+ | /* Add border to block of code (syntaxhighlight) */ |
||
+ | .mw-highlight pre { |
||
+ | padding: 1em; |
||
+ | margin: 1em 0; |
||
+ | border: 1px dashed #2f6fab; |
||
+ | background-color: #f9f9f9; |
||
+ | font-size: 90%; |
||
+ | font-family: "Courier New", monospace; |
||
⚫ | |||
/* Remove Home title */ |
/* Remove Home title */ |
||
body.page-Home h1.firstHeading { |
body.page-Home h1.firstHeading { |
||
⚫ | |||
⚫ | |||
− | |||
− | /* Remove Go button */ |
||
− | #searchGoButton { |
||
display:none; |
display:none; |
||
} |
} |
||
Line 26: | Line 31: | ||
float: right; |
float: right; |
||
clear: right; |
clear: right; |
||
− | border: 1px solid |
+ | border: 1px solid #AAA; |
− | padding: |
+ | padding: 5px; |
width: 200px; |
width: 200px; |
||
− | background: |
+ | background: #F9F9F9; |
margin-left: 1em; |
margin-left: 1em; |
||
overflow: hidden; |
overflow: hidden; |
||
+ | box-shadow: 1px 1px 1px #808080 |
||
+ | } |
||
+ | |||
+ | /** |
||
+ | * Allow limiting of which header levels are shown in a TOC; |
||
+ | * <div class="toclimit-3">, for instance, will limit to |
||
+ | * showing ==headings== and ===headings=== but no further. |
||
+ | * Used in [[Template:TOC]] |
||
+ | */ |
||
+ | .toclimit-2 .toclevel-1 ul, |
||
+ | .toclimit-3 .toclevel-2 ul, |
||
+ | .toclimit-4 .toclevel-3 ul, |
||
+ | .toclimit-5 .toclevel-4 ul, |
||
+ | .toclimit-6 .toclevel-5 ul, |
||
+ | .toclimit-7 .toclevel-6 ul { |
||
⚫ | |||
+ | } |
||
+ | |||
+ | .smw-feed-furtherresults { |
||
+ | background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAB5UlEQVR42k2SzU8TQQDF5+8w8S8QRWl2t90tFxOPxosxYuIBkBjiCROpWiV8tIKUtoomJhgIMcSEC4SIcNCDxnD14sHEbpCW7nbb0m7p9mu37TxnhkCc0xzee/m9N0N+DZ47nw77UuYzhZrPFViTfhQiARRnVRzNqyjHNdgJjRoROcW1hIn17FgvrLkbyE/2ozBxBaWZPthzPlQTEupvZDTfKXCXAjAjsk5YKj0cuwjadMBPO/cbja9xVF+r/4n9aK+oqLwKUpKb8CMX6oWzu4DWz010naIwUjuN1vrAmbjxVoG9EATJTwUERu3TFJy1IZaswf0eAzou4DrobN4V4uOYhCPWixSjqmCmrROkbmkf7sYwvK0RxtcErWRxnNRQmu5DYToAwlyiYO3DALy9RcCrs3QPne378L69FCH1L0lYTy7DYvikPK+JNRrvrzHmO/DWbzFTjXXIiOSubaBd+Avj4SWYYQXEjgfFGrSk86robA3C+5EQydW1UdT3Pop7NnwVRogbkhrl03X/7AA1C83V63CWb54YPsdR2ZgVdyN6G5lxiRJzRtLZo/DpTtfgBTmzwEg/6MH+vQvQh3pwEPLp4msYUSVVSQZpOaah+EJFnq3B38d4KuNwXEbmkUQPHvvE1/gHGQ6mWZBs5g0AAAAASUVORK5CYII=') no-repeat scroll left center transparent; |
||
+ | padding-left: 16px; |
||
} |
} |
Latest revision as of 10:42, 12 June 2019
/* CSS placed here will be applied to all skins */
/* Add border to block of code (syntaxhighlight) */
.mw-highlight pre {
padding: 1em;
margin: 1em 0;
border: 1px dashed #2f6fab;
background-color: #f9f9f9;
font-size: 90%;
font-family: "Courier New", monospace;
}
/* Remove Home title */
body.page-Home h1.firstHeading {
display:none;
}
table.people {
padding-left: 10px;
}
table.people td {
border-bottom: 1px grey dashed;
padding-top: 4px;
padding-left: 4px;
padding-right: 4px;
padding-bottom: 0px;
}
.sideBox {
position: relative;
float: right;
clear: right;
border: 1px solid #AAA;
padding: 5px;
width: 200px;
background: #F9F9F9;
margin-left: 1em;
overflow: hidden;
box-shadow: 1px 1px 1px #808080
}
/**
* Allow limiting of which header levels are shown in a TOC;
* <div class="toclimit-3">, for instance, will limit to
* showing ==headings== and ===headings=== but no further.
* Used in [[Template:TOC]]
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
.smw-feed-furtherresults {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAB5UlEQVR42k2SzU8TQQDF5+8w8S8QRWl2t90tFxOPxosxYuIBkBjiCROpWiV8tIKUtoomJhgIMcSEC4SIcNCDxnD14sHEbpCW7nbb0m7p9mu37TxnhkCc0xzee/m9N0N+DZ47nw77UuYzhZrPFViTfhQiARRnVRzNqyjHNdgJjRoROcW1hIn17FgvrLkbyE/2ozBxBaWZPthzPlQTEupvZDTfKXCXAjAjsk5YKj0cuwjadMBPO/cbja9xVF+r/4n9aK+oqLwKUpKb8CMX6oWzu4DWz010naIwUjuN1vrAmbjxVoG9EATJTwUERu3TFJy1IZaswf0eAzou4DrobN4V4uOYhCPWixSjqmCmrROkbmkf7sYwvK0RxtcErWRxnNRQmu5DYToAwlyiYO3DALy9RcCrs3QPne378L69FCH1L0lYTy7DYvikPK+JNRrvrzHmO/DWbzFTjXXIiOSubaBd+Avj4SWYYQXEjgfFGrSk86robA3C+5EQydW1UdT3Pop7NnwVRogbkhrl03X/7AA1C83V63CWb54YPsdR2ZgVdyN6G5lxiRJzRtLZo/DpTtfgBTmzwEg/6MH+vQvQh3pwEPLp4msYUSVVSQZpOaah+EJFnq3B38d4KuNwXEbmkUQPHvvE1/gHGQ6mWZBs5g0AAAAASUVORK5CYII=') no-repeat scroll left center transparent;
padding-left: 16px;
}