לדלג לתוכן

מדיה ויקי:Gadget-FixedMenu.css – הבדלי גרסאות

מתוך חב"דפדיה, אנציקלופדיה חב"דית חופשית
שיע.ק (שיחה | תרומות)
יצירת דף עם התוכן "fix the head: div#mw-head{ position:fixed; background:#FFFFFF url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAAGXRFWHRTb2Z0d2FyZQB..."
 
אין תקציר עריכה
 
שורה 1: שורה 1:
/* fix the head */
/* fix the head */
div#mw-head{
div#mw-head{
position:fixed;
position:fixed !important;
background:#FFFFFF url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADpJREFUeF5VjUkOAEAIwoD//7lzGJd4MJHGSoBImkFETP67CdLldUd7KC6f8fv3+psd8znbtU5x354HaWQjOx76v7MAAAAASUVORK5CYII=") repeat-x bottom;
background:#FFFFFF url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADpJREFUeF5VjUkOAEAIwoD//7lzGJd4MJHGSoBImkFETP67CdLldUd7KC6f8fv3+psd8znbtU5x354HaWQjOx76v7MAAAAASUVORK5CYII=") repeat-x bottom;
z-index:2; /* required to have higher z-index than the content of source VE */
}
}
#mw-panel {z-index: 3; /* Should be higher than mw-head */ }


/* for visual editor we let the editor to be on top the personal toolbar */
/* for visual editor we let the editor to be on top the personal toolbar */
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
     z-index: 1000 !important;
     z-index: 1100 !important;
}
}


/* fix bug: when navigating by hash fragment the target is invisible. */
/* fix bug: when navigating by hash fragment the target is invisible. */
:target {
:target {
display: inline-block;
     padding-top: 100px;
     padding-top: 100px;
}
}

גרסה אחרונה מ־19:04, 3 בספטמבר 2021

/* fix the head */
div#mw-head{
	position:fixed !important;
	background:#FFFFFF url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADpJREFUeF5VjUkOAEAIwoD//7lzGJd4MJHGSoBImkFETP67CdLldUd7KC6f8fv3+psd8znbtU5x354HaWQjOx76v7MAAAAASUVORK5CYII=") repeat-x bottom;
	z-index:2; /* required to have higher z-index than the content of source VE */
}

#mw-panel {z-index: 3; /* Should be higher than mw-head */ }

/* for visual editor we let the editor to be on top the personal toolbar */
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
    z-index: 1100 !important;
}

/* fix bug: when navigating by hash fragment the target is invisible. */
:target {
	display: inline-block;
    padding-top: 100px;
}
sup.reference:target {
    background-color: transparent !important;
}