מדיה ויקי:Gadget-FixedMenu.css: הבדלים בין גרסאות בדף
מראה
שחזור לגרסה 19809949 מ־16:57, 21 בדצמבר 2016 מאת ערן - גם וגם? |
ניסוי, ניסוי |
||
| שורה 21: | שורה 21: | ||
} | } | ||
/* | /* https://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header */ | ||
.mw-headline { | |||
margin-top: | content: ''; | ||
display: block; | |||
position: relative; | |||
width: 0; | |||
height: 1em; | |||
margin-top: 0; | |||
} | } | ||
גרסה מ־04:22, 29 במאי 2020
/* 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 {
padding-top: 100px;
}
sup.reference:target {
background-color: transparent !important;
}
/* https://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header */
.mw-headline {
content: '';
display: block;
position: relative;
width: 0;
height: 1em;
margin-top: 0;
}