לדלג לתוכן

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

מתוך צפונות ויקי
DK
מ 20 גרסאות של הדף wikipedia:he:מדיה_ויקי:Gadget-FixedMenu.css יובאו
 
(5 גרסאות ביניים של 2 משתמשים אינן מוצגות)
שורה 15: שורה 15:
/* 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;
}
}
sup.reference:target {
sup.reference:target {
     background-color: transparent !important;
     background-color: transparent !important;
}
/* https://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header */
.mw-headline:before  {
content: '';
display: block;
position: relative;
width: 0;
height: 1em;
margin-top: 0;
}
}

גרסה אחרונה מ־12:34, 5 בדצמבר 2022

/* 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;
}