مدیاویکی:Monobook.css
از لاشار
نکته: پس از انتشار ممکن است برای دیدن تغییرات نیاز باشد که حافظهٔ نهانی مرورگر خود را پاک کنید.
- فایرفاکس / سافاری: کلید Shift را نگه دارید و روی دکمهٔ Reload کلیک کنید، یا کلیدهای Ctrl-F5 یا Ctrl-R را با هم فشار دهید (در رایانههای اپل مکینتاش کلیدهای ⌘-R)
- گوگل کروم: کلیدهای Ctrl+Shift+R را با هم فشار دهید (در رایانههای اپل مکینتاش کلیدهای ⌘-Shift-R)
- اینترنت اکسپلورر/ Edge: کلید Ctrl را نگهدارید و روی دکمهٔ Refresh کلیک کنید، یا کلیدهای Ctrl-F5 را با هم فشار دهید
- اپرا: Ctrl-F5 را بفشارید.
/* Notice to Administrators! Any changes to Monobook.css or Common.css should be first proposed to Wikipedia:Village Pump. Furthermore, changes should be made in [[MediaWiki:Common.css]] rather than this page, unless there is no effect in [[MediaWiki:Common.css]]. Testing can be done on your own user Monobook.css. Thank you. */ <div dir="ltr"> /*<pre><nowiki>*/ body { font-size: 100%; font-family: Tahoma, Roya, sans-serif; } /* Donations link to be uncommented during fundraising drives */ #siteNotice { margin-top:5px; padding-left: 4px; font-style: bold; text-align: center; } /* For positioning icons at top-right, used in Templates "Spoken Article" and "Featured Article" */ div.topicon { position:absolute; z-index:100; top:10px; display: block !important; } /****************************/ /* BEGIN LIGHT BLUE SECTION */ /****************************/ /* Make all non-namespace pages have a light blue content area. This is done by setting the background color for all #content areas to light blue and then overriding it for any #content enclosed in a .ns-0 (main namespace). I then do the same for the "tab" background colors. --Lupo */ #content { background: #F8FCFF; /* a light blue */ font-family: "Urdu Naskh Asiatype", "Times New Roman", "Nafees Web Naskh", "Nafees Naskh", "Nafees Pakistani Naskh", "Microsoft Sans Serif", Tahoma;!important } #content div.thumb { border-color: #F8FCFF; } .ns-0 * #content { background: white; } #mytabs li { background: #F8FCFF; } .ns-0 * #mytabs li { background: white; } #mytabs li a { background-color: #F8FCFF; } .ns-0 * #mytabs li a { background-color: white; } #p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a { background-color: #F8FCFF; } .ns-0 * #p-cactions li a { background-color: #fbfbfb; } .ns-0 * #p-cactions li.selected a, .ns-0 * #p-cactions li a:hover { background-color: white; } .ns-0 * #content div.thumb { border-color: white; } /**************************/ /* END LIGHT BLUE SECTION */ /**************************/ /* Display "From Wikipedia, the free encyclopedia" */ #siteSub { display: inline; font-size: 100%; font-weight: normal; } #bodyContent #siteSub a { color: #000; text-decoration: none; background-color: transparent; background-image: none; padding-right: 0; } /* Bold 'edit this page' link to encourage newcomers */ #ca-edit a { font-weight: bold !important; } /* Display "User $1, you are already logged in!" ([[MediaWiki:Alreadyloggedin]]) in red and bold */ div.alreadyloggedin { color: red; font-weight: bold; } @media print { /* Do not print edit link in templates using Template:Ed Do not print certain classes that shouldn't appear on paper */ .editlink, .noprint, .metadata, .dablink { display: none } } /* Accessibility experiment: make diff changes not just colour-based */ .diffchange { font-weight: bold; background-color: inherit; } td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 85%; color: inherit; } #pt-login { font-weight: bold; font-size: 100%; background: url('user.gif') top left no-repeat; background-repeat: no-repeat; } form#userlogin { float: right; padding: 1em 1em .7em 1em; background-color: #ffffe6; border: 2px solid #fc6; color: #000; margin-right: 2em; } form#userlogin table { float: right; background-color: #ffffe6; color: #000; } p.error { font-weight: bold; } /* Class styles */ /* .toccolours added here because version in monobook/main.css wasn't being used by the print style */ .toccolours { border:1px solid #aaaaaa; background-color:#f9f9f9; padding:5px; font-size: 95%; } /* Remove padding from external links displayed without icon */ #bodyContent .plainlinks a {padding: 0 !important} #p-nav h5 { display: none; } .portlet a { text-decoration: none; } .portlet a:hover { text-decoration: underline; } #p-nav .pBody { padding-right: 0; } #p-nav a { display: block; width: 100%; } /* Special characters list below edit window works better without underlining */ #editpage-specialchars a { text-decoration: none; } #editpage-specialchars a:hover { text-decoration: underline; } /* If you don't want to see special characters list at all, put the following line in your User:You/monobook.css file (and remove the slash-asterisk comments) */ /* #editpage-specialchars { display: none; } */ /* Makes the background of a framed image white instead of gray. */ /* Only visible with transparent images. */ /* See #Framed_image_background_color */ div.thumb div a img { background-color:#ffffff; } /* To position the spoken article link at the top of page Commented out while sitenotice present */ #spoken { position: absolute; float: right; text-align: right; font-size: 90%; right: 0; z-index: 1; background: none; border-bottom-style: none; top: -2.2em; display: block !important; } /* try adding here, this had no effect in [[MediaWiki:Common.css]] */ .plainlinksneverexpand a.external.text:after { display: none !important } /* Standard Navigationsleisten, aka box hiding thingy from .de.*/ div.Boxmerge, div.NavFrame { margin: 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; border-collapse: collapse; font-size: 95%; } div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #ffffff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; position:relative; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } a.NavToggle { position:absolute; top:0px; right:3px; font-weight:normal; font-size:smaller; } pre { padding: 1em; border: 1px dashed #2f6fab; color: Black; background-color: #fff; line-height: 1.1em; overflow: auto; } pre tt { font-weight: bold; font-size: 100%; } pre code { font-weight: bold; font-size: 100%; } /* Namespace icon area */ h1.firstHeading { background-position: bottom right; background-repeat: no-repeat; } /* Featured articles */ body.FA h1.firstHeading { background-image: url('http://upload.wikimedia.org/wikipedia/en/thumb/8/8c/Featured_article_star.png/16px-Featured_article_star.png'); } li.FA { list-style-image: url("http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png"); } #userloginForm { float: right !important; } /* BEGIN LIGHT BLUE SECTION */ /****************************/ /*main part*/ #content, #p-cactions li, #p-cactions li a { background: #EFF9FB; } /* (Main page) */ .ns-0 * #content, .ns-0 * #p-cactions li, .ns-0 * #p-cactions li a { background : white; } /* Talk */ .ns--1 #content, .ns--1 #p-cactions li, .ns--1 #p-cactions li a { background:#EFF9FB } /* User: */ .ns-2 * #content, .ns-2 * #p-cactions li, .ns-2 * #p-cactions li a { background : #EFF9FB; } /* Project: */ .ns-4 * #content, .ns-4 * #p-cactions li, .ns-4 * #p-cactions li a { background: #EFF9FB; } /* Image: */ .ns-6 * #content, .ns-6 * #p-cactions li, .ns-6 * #p-cactions li a { background: #EFF9FB; } /* Mediawiki: */ .ns-8 * #content, .ns-8 * #p-cactions li, .ns-8 * #p-cactions li a { background: #EFF9FB; } /* Template: */ .ns-10 * #content, .ns-10 * #p-cactions li, .ns-10 * #p-cactions li a { background: white; } /* Help: */ .ns-12 * #content, .ns-12 * #p-cactions li, .ns-12 * #p-cactions li a { background: #EFF9FB; } /* Category: */ .ns-14 * #content, .ns-14 * #p-cactions li, .ns-14 * #p-cactions li a { background: #FFF; } /* Portal: */ .ns-100 * #content, .ns-100 * #p-cactions li, .ns-100 * #p-cactions li a { background: white; } /* color of talk pages */ .ns-1 * #content, .ns-1 * #p-cactions li, .ns-1 * #p-cactions li a, .ns-3 * #content, .ns-3 * #p-cactions li, .ns-3 * #p-cactions li a, .ns-5 * #content, .ns-5 * #p-cactions li, .ns-5 * #p-cactions li a, .ns-7 * #content, .ns-7 * #p-cactions li, .ns-7 * #p-cactions li a, .ns-9 * #content, .ns-9 * #p-cactions li, .ns-9 * #p-cactions li a, .ns-11 * #content, .ns-11 * #p-cactions li, .ns-11 * #p-cactions li a, .ns-13 * #content, .ns-13 * #p-cactions li, .ns-13 * #p-cactions li a, .ns-15 * #content, .ns-15 * #p-cactions li, .ns-15 * #p-cactions li a, .ns-101 * #content, .ns-101 * #p-cactions li, .ns-101 * #p-cactions li a { background: #EFF9FB; } /*look of talk pages; framing of moved messages*/ .ns-1 dd, .ns-3 dd, .ns-5 dd, .ns-7 dd, .ns-9 dd, .ns-11 dd, .ns-13 dd,.ns-15 dd, .ns-101 dd, .ns-103 dd, .ns-105 dd { margin: 0; padding: 0; } .ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, .ns-11 dl, .ns-13 dl, .ns-15 dl, .ns-101 dl, .ns-103 dl, .ns-105 dl { border-top: solid 1px #99CCFF; border-left: solid 1px #99CCFF; padding-top: 0.5em; padding-left: 0.5em; margin-left: 1em; } .ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, .ns-11 dl, .ns-13 dl, .ns-15 dl, .ns-101 dl, .ns-103 dl, .ns-105 dl { background-color: #D5E9FD; } .ns-1 dl dl, .ns-3 dl dl, .ns-5 dl dl, .ns-7 dl dl, .ns-9 dl dl, .ns-11 dl dl, .ns-13 dl dl, .ns-15 dl dl, .ns-101 dl dl, .ns-103 dl dl, .ns-105 dl dl { background-color: #EFF9FB; } .ns-1 dl dl dl, .ns-3 dl dl dl, .ns-5 dl dl dl, .ns-7 dl dl dl, .ns-9 dl dl dl, .ns-11 dl dl dl, .ns-13 dl dl dl, .ns-15 dl dl dl, .ns-101 dl dl dl, .ns-103 dl dl dl, .ns-105 dl dl dl { background-color: #D5E9FD; } .ns-1 dl dl dl dl, .ns-3 dl dl dl dl, .ns-5 dl dl dl dl, .ns-7 dl dl dl dl, .ns-9 dl dl dl dl, .ns-11 dl dl dl dl, .ns-13 dl dl dl dl, .ns-15 dl dl dl dl, .ns-101 dl dl dl dl, .ns-103 dl dl dl dl, .ns-105 dl dl dl dl { background-color: #EFF9FB; } .ns-1 dl dl dl dl dl, .ns-3 dl dl dl dl dl, .ns-5 dl dl dl dl dl, .ns-7 dl dl dl dl dl, .ns-9 dl dl dl dl dl, .ns-11 dl dl dl dl dl, .ns-13 dl dl dl dl dl, .ns-15 dl dl dl dl dl, .ns-101 dl dl dl dl dl, .ns-103 dl dl dl dl dl, .ns-105 dl dl dl dl dl { background-color: #D5E9FD; } .ns-1 dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl, .ns-101 dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl, .ns-105 dl dl dl dl dl dl { background-color: #EFF9FB; } .ns-1 dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl, .ns-101 dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl, .ns-105 dl dl dl dl dl dl dl { background-color: #D5E9FD; } .ns-1 dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl, .ns-101 dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl, .ns-105 dl dl dl dl dl dl dl dl { background-color: #EFF9FB; } .ns-1 dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl, .ns-101 dl dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl dl, .ns-105 dl dl dl dl dl dl dl dl dl { background-color: #D5E9FD; } .ns-1 dl dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl dl, .ns-101 dl dl dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl dl dl, .ns-105 dl dl dl dl dl dl dl dl dl dl { background-color: #EFF9FB; } /**************************/ /* END LIGHT BLUE SECTION */ /**************************/