۵٬۱۲۵
ویرایش
بدون خلاصۀ ویرایش برچسبها: ویرایش همراه ویرایش از وبگاه همراه |
بدون خلاصۀ ویرایش برچسبها: ویرایش همراه ویرایش از وبگاه همراه |
||
خط ۱: | خط ۱: | ||
/* Vazir Font */ | /* Vazir Font */ | ||
@font-face { | @font-face { | ||
font-family: 'Vazir'; | |||
src: url('/fonts/Vazir.woff2') format('woff2'), url('/fonts/Vazir.woff') format('woff'), url('/fonts/Vazir.ttf') format('truetype'); | |||
} | |||
body, | |||
h1, | |||
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6, | |||
.mw-headline { | |||
font-family: Vazir !important; | |||
} | |||
#wikitext-editor { | |||
font-family: tahoma | |||
} | } | ||
/* to prevent double welcome! */ | /* to prevent double welcome! */ | ||
.page-Main_Page #section_0 { display: none } | .page-Main_Page #section_0 { | ||
display: none | |||
} | |||
/* Mobile template hacks (see bug 54176) */ | /* Mobile template hacks (see bug 54176) */ | ||
خط ۲۳: | خط ۳۳: | ||
#content .vertical-navbox, | #content .vertical-navbox, | ||
#content .navbox { | #content .navbox { | ||
display: none; | |||
} | } | ||
/* Tablet specific styling */ | /* Tablet specific styling */ | ||
@media all and (min-width: 768px) { | @media all and (min-width: 768px) { | ||
#content .vertical-navbox, #content .navbox { | |||
display: inherit; | |||
} | |||
} | |||
#mw-mf-last-modified { | |||
display: none; | |||
} | } | ||
/* For linked citation numbers and document IDs, where | /* For linked citation numbers and document IDs, where | ||
the number need not be shown on a screen or a handheld, | the number need not be shown on a screen or a handheld, | ||
خط ۴۱: | خط ۵۲: | ||
See https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates | See https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates | ||
*/ | */ | ||
@media screen, handheld { | @media screen, | ||
handheld { | |||
.citation *.printonly { | .citation *.printonly { | ||
display: none; | display: none; | ||
} | } | ||
} | } | ||
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box | /* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box | ||
*/ | */ | ||
خط ۶۹: | خط ۸۲: | ||
} | } | ||
.navbar.mini li span { | .navbar.mini li span { | ||
font-variant: small-caps; | |||
} | } | ||
/* Navbar styling when nested in infobox and navbox */ | /* Navbar styling when nested in infobox and navbox */ | ||
.infobox .navbar { | .infobox .navbar { | ||
خط ۱۰۰: | خط ۱۱۴: | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* Display list items inline and make them nowrap */ | /* Display list items inline and make them nowrap */ | ||
.hlist dd, | .hlist dd, | ||
خط ۱۰۸: | خط ۱۲۳: | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
/* Allow wrapping for list items (in tight spaces) */ | /* Allow wrapping for list items (in tight spaces) */ | ||
.hlist.hwrap dd, | .hlist.hwrap dd, | ||
خط ۱۱۴: | خط ۱۳۰: | ||
white-space: normal; | white-space: normal; | ||
} | } | ||
/* Display nested lists inline and allow them to wrap */ | /* Display nested lists inline and allow them to wrap */ | ||
.hlist dl dl, .hlist dl ol, .hlist dl ul, | .hlist dl dl, | ||
.hlist ol dl, .hlist ol ol, .hlist ol ul, | .hlist dl ol, | ||
.hlist ul dl, .hlist ul ol, .hlist ul ul { | .hlist dl ul, | ||
.hlist ol dl, | |||
.hlist ol ol, | |||
.hlist ol ul, | |||
.hlist ul dl, | |||
.hlist ul ol, | |||
.hlist ul ul { | |||
display: inline; | display: inline; | ||
white-space: normal; | white-space: normal; | ||
} | } | ||
/* Generate interpuncts */ | /* Generate interpuncts */ | ||
#content .hlist dt:after { | #content .hlist dt:after { | ||
خط ۱۳۵: | خط ۱۵۹: | ||
content: none; | content: none; | ||
} | } | ||
/* Add parentheses around nested lists */ | /* Add parentheses around nested lists */ | ||
#content .hlist dd dd:first-child:before, #content .hlist dd dt:first-child:before, #content .hlist dd li:first-child:before, | #content .hlist dd dd:first-child:before, | ||
#content .hlist dt dd:first-child:before, #content .hlist dt dt:first-child:before, #content .hlist dt li:first-child:before, | #content .hlist dd dt:first-child:before, | ||
#content .hlist li dd:first-child:before, #content .hlist li dt:first-child:before, #content .hlist li li:first-child:before { | #content .hlist dd li:first-child:before, | ||
#content .hlist dt dd:first-child:before, | |||
#content .hlist dt dt:first-child:before, | |||
#content .hlist dt li:first-child:before, | |||
#content .hlist li dd:first-child:before, | |||
#content .hlist li dt:first-child:before, | |||
#content .hlist li li:first-child:before { | |||
content: "("; | content: "("; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
#content .hlist dd dd:last-child:after, #content .hlist dd dt:last-child:after, #content .hlist dd li:last-child:after, | #content .hlist dd dd:last-child:after, | ||
#content .hlist dt dd:last-child:after, #content .hlist dt dt:last-child:after, #content .hlist dt li:last-child:after, | #content .hlist dd dt:last-child:after, | ||
#content .hlist li dd:last-child:after, #content .hlist li dt:last-child:after, #content .hlist li li:last-child:after { | #content .hlist dd li:last-child:after, | ||
#content .hlist dt dd:last-child:after, | |||
#content .hlist dt dt:last-child:after, | |||
#content .hlist dt li:last-child:after, | |||
#content .hlist li dd:last-child:after, | |||
#content .hlist li dt:last-child:after, | |||
#content .hlist li li:last-child:after { | |||
content: ")"; | content: ")"; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
/* Put ordinals in front of ordered list items */ | /* Put ordinals in front of ordered list items */ | ||
#content .hlist ol { | #content .hlist ol { | ||
خط ۱۶۳: | خط ۲۰۱: | ||
content: "(" counter(list-item) " "; | content: "(" counter(list-item) " "; | ||
} | } | ||
/* Unbulleted lists e.g. Barack Obama page */ | /* Unbulleted lists e.g. Barack Obama page */ | ||
.plainlist ul { | .plainlist ul { | ||
خط ۱۷۰: | خط ۲۰۸: | ||
/* CODE FOR COMPACT AMBOX */ | /* CODE FOR COMPACT AMBOX */ | ||
/* Hide the images */ | /* Hide the images */ | ||
.compact-ambox table .mbox-image, | .compact-ambox table .mbox-image, | ||
خط ۱۷۶: | خط ۲۱۵: | ||
display: none; | display: none; | ||
} | } | ||
/* Remove borders, backgrounds, padding, etc. | /* Remove borders, backgrounds, padding, etc. | ||
Please document here what pages use this | Please document here what pages use this | ||
خط ۱۹۳: | خط ۲۳۳: | ||
margin: 0; | margin: 0; | ||
} | } | ||
/* Style the text cell as a list item and remove its padding */ | /* Style the text cell as a list item and remove its padding */ | ||
.compact-ambox table .mbox-text { | .compact-ambox table .mbox-text { | ||
خط ۲۰۴: | خط ۲۴۵: | ||
list-style-image: url("data:image/gif;base64,R0lGODlhBQANAIAAAGOMnP///yH5BAEAAAEALAAAAAAFAA0AAAIJjI+pu+APo4SpADs="); | list-style-image: url("data:image/gif;base64,R0lGODlhBQANAIAAAGOMnP///yH5BAEAAAEALAAAAAAFAA0AAAIJjI+pu+APo4SpADs="); | ||
} | } | ||
/* Allow for hiding text in compact form */ | /* Allow for hiding text in compact form */ | ||
.compact-ambox .hide-when-compact { | .compact-ambox .hide-when-compact { | ||
خط ۲۲۵: | خط ۲۶۷: | ||
for how these are used. The classes "geo", "longitude", and | for how these are used. The classes "geo", "longitude", and | ||
"latitude" are used by the [[Geo microformat]]. */ | "latitude" are used by the [[Geo microformat]]. */ | ||
.geo-default, .geo-dms, .geo-dec | .geo-default, | ||
.geo-nondefault, .geo-multi-punct { display: none; } | .geo-dms, | ||
.longitude, .latitude | .geo-dec { | ||
display: inline; | |||
} | |||
.geo-nondefault, | |||
.geo-multi-punct { | |||
display: none; | |||
} | |||
.longitude, | |||
.latitude { | |||
white-space: nowrap; | |||
} | |||
/* Prevent line breaks in silly places: | /* Prevent line breaks in silly places: | ||
خط ۲۴۲: | خط ۲۹۴: | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
/* But allow wrapping where desired: */ | /* But allow wrapping where desired: */ | ||
.wrap, | .wrap, | ||
خط ۲۵۶: | خط ۳۰۹: | ||
display: none; | display: none; | ||
} | } | ||
#li-coordinates { | #li-coordinates { | ||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Edge-firefox.png/80px-Edge-firefox.png); | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Edge-firefox.png/80px-Edge-firefox.png); | ||
خط ۲۶۴: | خط ۳۱۶: | ||
background-size: auto 30px; | background-size: auto 30px; | ||
} | } | ||
.client-js .content_block.coordinates { | .client-js .content_block.coordinates { | ||
display: none; | display: none; | ||
خط ۲۷۱: | خط ۳۲۲: | ||
font-size: smaller; | font-size: smaller; | ||
} | } | ||
.client-js .content_block.coordinates .latitude { | .client-js .content_block.coordinates .latitude { | ||
display:none; | display: none; | ||
padding-right: 20px; | padding-right: 20px; | ||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Edge-firefox.png/50px-Edge-firefox.png); | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Edge-firefox.png/50px-Edge-firefox.png); | ||
خط ۲۸۵: | خط ۳۳۵: | ||
display: list-item; | display: list-item; | ||
} | } | ||
.client-js .beta .content_block.coordinates { | .client-js .beta .content_block.coordinates { | ||
display: block; | display: block; | ||
} | } | ||
.client-js .beta .content_block.coordinates .latitude { | .client-js .beta .content_block.coordinates .latitude { | ||
display:inline; | display: inline; | ||
} | } | ||
.topicon { | .topicon { | ||
display: none; | display: none; | ||
خط ۳۰۴: | خط ۳۵۱: | ||
/* hide the second toc */ | /* hide the second toc */ | ||
#toc {display:none} | #toc { | ||
display: none | |||
} | |||
/* hide language link */ | /* hide language link */ | ||
.mw-ui-icon-language-switcher {display:none !important} | .mw-ui-icon-language-switcher { | ||
display: none !important | |||
} | |||
/* navbox */ | /* navbox */ | ||
.content table .navbox-inner{ | .content table .navbox-inner { | ||
margin: 0; | margin: 0; | ||
} | |||
/* طراحی صفحه اول */ | |||
.mainpage-top { | |||
background-image: url('http://wikihaj.com/images/2/23/Pilgrims-flock-to-Mecca-each-year-for-Hajj-cropped.jpg'); | |||
background-attachment: fixed; | |||
background-repeat: no-repeat; | |||
background-size: 85%; | |||
/* background-position: 0 100%; */ | |||
} | |||
/* سفید کردن لینک های بالای صفحه اول */ | |||
.mainpage-top a { | |||
color: white !important | |||
} | |||
/* حذف دکمه اضافه از جستجوی صفحه اول */ | |||
[name=go] { | |||
display: none | |||
} | } |
ویرایش