מדיה ויקי:Gadget-FixedMenu.css: הבדלים בין גרסאות בדף
מראה
DK |
עבד נכון פעם אחת, הוכרזה הצלחה. הבה נראה אם אפשר להוריד הדבר המשונה הזה שנראה שהפסיק לעבוד, ואם הדבר המשונה שמנסה להחליפו באמת מתקן. 1193 המלצות ב-stackoverflow - כבוד. |
||
| שורה 13: | שורה 13: | ||
} | } | ||
sup.reference:target { | sup.reference:target { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
גרסה מ־04:32, 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;
}
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;
}