MediaWiki:Common.css: verschil tussen versies

Uit wiki.lasso-concepten.nl

Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Label: Handmatige ongedaanmaking
 
(20 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
/** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */
/** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */
#toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;};
/**#toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;};
/** #tocnumber {display:none;}
/**#tocnumber { display: none; }
/* set max width and fix the background */
.noautonum .tocnumber { display: none; }
html,
/** Back-to-top Function
body {
$( function () {
    position: relative;
var elems = document.getElementsByClassName('editsection'); // *** NOTE: ClassName may need to be 'mw-editsection' instead
    margin-left: auto !important;
for (i = 0; i < elems.length; i++) {
    margin-right: auto !important;
var span = document.createElement('span');
    max-width: 1280px;
var link = document.createElement('a');
    background-position: top left;
link.href = '#top';
    background-repeat: repeat-x;
link.appendChild(document.createTextNode('back to top'));
    background-size: 100% 5em;
span.appendChild(document.createTextNode('['));
    background-image: url(/skins/Vector/images/page-fade.png);
span.appendChild(link);
    background-color: #f6f6f6;
span.appendChild(document.createTextNode('] '));
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#f6f6f6));
elems[i].insertBefore(span, elems[i].firstChild);
    background-image: -webkit-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
}
    background-image: -moz-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
});
    background-image: linear-gradient(#ffffff 50%,#f6f6f6 100%);
<div class="dropdown">
}
<div class="dropbtn">{{{title|Dropdown}}}</div>
 
<div class="dropdown-content"><!--
/* set blue right border */
-->{{#if:{{{1|}}}|[[{{{1}}}]]}}<!--
.mw-body { border-right: 1px solid #A7D7F9; }
-->{{#if:{{{2|}}}|[[{{{2}}}]]}}<!--
 
-->{{#if:{{{3|}}}|[[{{{3}}}]]}}<!--
/** fix the position of:
-->{{#if:{{{4|}}}|[[{{{4}}}]]}}<!--
            personal user menu
-->{{#if:{{{5|}}}|[[{{{5}}}]]}}<!--
            search bar
</div>
            the pop-up indicator of language selector
</div>
            search suggestions
**/
#p-personal { right: 3pt; }
#p-search { margin-right: 3pt; }
.imeselector { position: fixed; }
.suggestions { right: 3pt !important; }

Huidige versie van 24 okt 2024 om 20:10

/** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */
/**#toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;};
/**#tocnumber { display: none; }
.noautonum .tocnumber { display: none; }
/** Back-to-top Function 
$( function () {
	var elems = document.getElementsByClassName('editsection'); // *** NOTE: ClassName may need to be 'mw-editsection' instead
	for (i = 0; i < elems.length; i++) {
		var span = document.createElement('span');
		var link = document.createElement('a');
		link.href = '#top';
		link.appendChild(document.createTextNode('back to top'));
		span.appendChild(document.createTextNode('['));
		span.appendChild(link);
		span.appendChild(document.createTextNode('] '));
		elems[i].insertBefore(span, elems[i].firstChild);
	}
});
<div class="dropdown">
<div class="dropbtn">{{{title|Dropdown}}}</div>
<div class="dropdown-content"><!--
-->{{#if:{{{1|}}}|[[{{{1}}}]]}}<!--
-->{{#if:{{{2|}}}|[[{{{2}}}]]}}<!--
-->{{#if:{{{3|}}}|[[{{{3}}}]]}}<!--
-->{{#if:{{{4|}}}|[[{{{4}}}]]}}<!--
-->{{#if:{{{5|}}}|[[{{{5}}}]]}}<!--
</div>
</div>