MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (47 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* Reset italic styling set by user agent */ | /* Reset italic styling set by user agent */ | ||
cite, dfn { | cite, dfn { | ||
| Line 372: | Line 369: | ||
font-size: 88%; | font-size: 88%; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
max-width: 25%; | |||
} | } | ||
.infobox caption { | .infobox caption { | ||
| Line 383: | Line 381: | ||
vertical-align: top; | vertical-align: top; | ||
/* @noflip */ | /* @noflip */ | ||
tex t-align: left; | |||
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
| Line 1,286: | Line 1,284: | ||
text-align: left | text-align: left | ||
} | } | ||
/* | /* فرم فیدبک */ | ||
.page- | .page-Main_Page .articleFeedbackv5 { | ||
display: none | display: none | ||
} | } | ||
.page-Main_Page .firstHeading, .page-Main_Page #siteSub { | |||
display: none; | |||
} | |||
.page-Main_Page #content { | |||
padding-top: 0; | |||
} | |||
#mw-articlefeedbackv5 { | |||
max-width: 100%; | |||
width: auto !important; | |||
} | |||
.articleFeedbackv5-submit { | |||
float: right !important; | |||
} | |||
.articleFeedbackv5 { | |||
font-size: 80%; | |||
} | |||
.articleFeedbackv5-panel{ | |||
max-width: 100%; | |||
} | |||
.articleFeedbackv5-tooltip-trigger { | |||
display:none | |||
} | |||
.articleFeedbackv5-title { | |||
margin-top:0 !important | |||
} | |||
.feedback-text { | |||
height: 6em !important; | |||
margin-bottom: 12px; | |||
} | |||
.articleFeedbackv5-disclosure { | |||
display:none | |||
} | |||
.articleFeedbackv5-cta-5 { | |||
display: none; | |||
} | |||
/* مخفی کردن از بازدید کننده ها */ | /* مخفی کردن از بازدید کننده ها */ | ||
.showtologgedin { | .showtologgedin { | ||
display: none | display: none | ||
} | |||
/* navbox */ | |||
.navbox { | |||
width: auto !important | |||
} | |||
/* side bar | |||
#mw-panel{ | |||
position: fixed; | |||
z-index: 100; | |||
background-color: #fefdf9; | |||
width: 10.5em; | |||
} */ | |||
/* دکمه های جمع شدن منوی سمت راست، بازگشت به بالای صفحه و تغییر اندازه فونت */ | |||
.sidebarbottons { | |||
display: block; | |||
position: fixed; | |||
z-index: 999; | |||
left: 0; | |||
height: 20px; | |||
width: 20px; | |||
border: 1px solid #c3a068; | |||
} | |||
.sidebarbottons:hover { | |||
filter: invert(100%); | |||
} | |||
#collsidebar { | |||
background-image: url('/images/c/cf/Left.png'); | |||
bottom: calc( 50% - 11px ); | |||
} | |||
#totop { | |||
background-image: url('/images/8/87/Top.png'); | |||
bottom: calc( 50% - 32px ); | |||
border-bottom-left-radius: 2px; | |||
} | |||
#fontsizeup { | |||
background-image: url('/images/2/2f/Plus.png'); | |||
bottom: calc( 50% + 31px ); | |||
border-top-left-radius: 2px; | |||
} | |||
#fontsizedown { | |||
background-image: url('/images/e/ee/Minus.png'); | |||
bottom: calc( 50% + 10px ); | |||
} | |||
/* navbox */ | |||
.navbox-title a { | |||
color: black !important;; | |||
text-decoration: underline; | |||
} | |||
.nv-talk { | |||
display: none !important; | |||
} | |||
/* new colors | |||
body { | |||
background-color: #fffdf9; | |||
} | |||
.mw-body { | |||
border-top: 1px solid #c39f68; | |||
} | |||
#mw-page-base { | |||
background-color: #fffdf9; | |||
background-image: -webkit-linear-gradient(top,#ffffff 50%,#fffdf9 100%); | |||
background-image: -moz-linear-gradient(top,#fff 50%,#fffdf9 100%); | |||
background-image: linear-gradient(#fff 50%,#fffdf9 100%); | |||
} | |||
div.vectorTabs ul li{ | |||
background-image: none; | |||
} | |||
div.vectorTabs span, div.vectorTabs, div#mw-head div.vectorMenu h3 { | |||
background-image: url(/design/div.vectorTabs-span.png) !important; | |||
} | |||
.catlinks { | |||
border: 1px solid #c3a068; | |||
background-color: #fffefc; | |||
} | |||
.toc, .mw-warning, .toccolours { | |||
border-color: #c3a068; | |||
background-color: #fffefd; | |||
} | |||
.vector-menu-tabs li { | |||
background-image: linear-gradient(to top,#946822 0,#fff9dd 1px,#fefdf9 100%) | |||
} | |||
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 { | |||
background-image: linear-gradient(to bottom, #fefdf9 0, #c3a068 100%) !important; | |||
} | |||
.vector-menu-tabs .selected { | |||
background: linear-gradient(to top, white 0, #fefdf9 100%); | |||
} | |||
*/ | |||
/* font-sizes */ | |||
.mw-editfont-monospace{ | |||
font-size: 15px; | |||
} | |||
img { | |||
max-width: 100%; | |||
height: auto !important; | |||
clip: auto !important; | |||
} | |||
/* | |||
* New image thumb design | |||
* | |||
* @dependencies none | |||
* @source en.wikipedia.org/wiki/MediaWiki:Gadget-NewImageThumb.css | |||
* @revision 2 | |||
* @author: Edokter ([[User:Edokter]]) | |||
*/ | |||
.tocnumber { | |||
color: #333; | |||
} | |||
.toc, #toc, | |||
.catlinks, | |||
.mw-gallery-traditional li.gallerybox div.thumb, | |||
div.thumbinner { | |||
border-width: 1px; | |||
border-style: solid; | |||
border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0; | |||
box-shadow: 0.25em 0.25em 0.5em rgba(0, 0, 0, 0.05); | |||
} | |||
div.thumbinner { | |||
padding: 0; | |||
} | |||
div.thumbinner.mp-thumb { | |||
box-shadow: none; | |||
} | |||
html .thumbimage { | |||
border: none; | |||
} | |||
html .thumbcaption { | |||
line-height: 1.5; | |||
padding: 0.5em; | |||
} | |||
img.thumbborder { | |||
border-width: 1px; | |||
border-style: solid; | |||
border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0; | |||
} | |||
.tmulti .tsingle { | |||
margin: 0 !important; | |||
} | |||
/* scheherazade-regular - arabic */ | |||
@font-face { | |||
font-family: Scheherazade; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: url('../fonts/scheherazade-v17-arabic-regular.eot'); /* IE9 Compat Modes */ | |||
src: local('Scheherazade'), local('Scheherazade-Regular'), | |||
url('../fonts/scheherazade-v17-arabic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | |||
url('../fonts/scheherazade-v17-arabic-regular.woff2') format('woff2'), /* Super Modern Browsers */ | |||
url('../fonts/scheherazade-v17-arabic-regular.woff') format('woff'), /* Modern Browsers */ | |||
url('../fonts/scheherazade-v17-arabic-regular.ttf') format('truetype'), /* Safari, Android, iOS */ | |||
url('../fonts/scheherazade-v17-arabic-regular.svg#Scheherazade') format('svg'); /* Legacy iOS */ | |||
} | |||
.Qurantext { | |||
font-family: 'Amiri', serif; | |||
font-size: 17px; | |||
line-height: 0; | |||
} | |||
@font-face { | |||
font-family: 'Amiri'; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: local('Amiri Regular'), local('Amiri-Regular'), url(https://fonts.gstatic.com/s/amiri/v13/J7aRnpd8CGxBHpUrtLMA7w.woff2) format('woff2'); | |||
unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; | |||
} | |||
/* vector 2022 */ | |||
.mw-content-container, .mw-article-toolbar-container { | |||
max -width: none; | |||
} | |||
.mw-sidebar-action { | |||
display: none; | |||
} | |||
#p-lang-btn.mw-portlet-empty { | |||
display: block; | |||
} | |||
#p-lang-btn { | |||
float: right; | |||
} | |||
/* tabber */ | |||
.tabber__tabs { | |||
margin: auto; | |||
} | } | ||