מדיה ויקי:Gadget-FixedMenu.css: הבדלים בין גרסאות בדף
מראה
ניסוי, ניסוי |
DK |
||
| שורה 22: | שורה 22: | ||
/* https://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header */ | /* https://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header */ | ||
.mw-headline { | .mw-headline:before { | ||
content: ''; | content: ''; | ||
display: block; | display: block; | ||
גרסה מ־04:27, 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:before {
content: '';
display: block;
position: relative;
width: 0;
height: 1em;
margin-top: 0;
}