مدیاویکی:Common.css: تفاوت میان نسخهها
Nazarzadeh (بحث | مشارکتها) بدون خلاصۀ ویرایش |
Nazarzadeh (بحث | مشارکتها) بدون خلاصۀ ویرایش |
||
خط ۱٬۶۴۹: | خط ۱٬۶۴۹: | ||
small { | small { | ||
font-size: 14px; | font-size: 14px; | ||
} | |||
/* ثابت شدن نوار ابزار بالا */ | |||
div#mw-head { | |||
position: fixed; | |||
background-image: url(https://wikihaj.com/design/div.vectorTabs-ul-li.png); | |||
background-position: left bottom; | |||
height: 80px; | |||
z-index:10; | |||
} | |||
/* fix for editors */ | |||
.ve-active #mw-head, .action-edit #mw-head{ | |||
position: absolute; | |||
} | |||
/* fix top bar hash navigation problem */ | |||
html, body { | |||
scroll-padding-top: 100px; /* height of sticky header */ | |||
} | |||
ol.references > li:target, sup.reference:target, span.citation:target, cite:target, .mw-headline:target { | |||
padding-top: 100px !important; | |||
margin-top: -100px !important; | |||
background-clip: content-box; | |||
} | } |