MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 369: Line 369:
font-size: 88%;
font-size: 88%;
line-height: 1.5em;
line-height: 1.5em;
    max-width: 25%;
}
}
.infobox caption {
.infobox caption {
Line 380: Line 381:
vertical-align: top;
vertical-align: top;
/* @noflip */
/* @noflip */
text-align: left;
tex t-align: left;
}
}
.infobox.bordered {
.infobox.bordered {
Line 1,271: Line 1,272:
     background-position-y: center  
     background-position-y: center  
}
}
/* سفید کردن لینک های بالای صفحه اول
/* سفید کردن لینک های بالای صفحه اول */
  .mainpage-top a {
  .mainpage-top a {
     color: white !important  
     color: white !important  
Line 1,283: Line 1,284:
     text-align: left  
     text-align: left  
}
}
/* عدم نمایش فرم فیدبک در صفحه اصلی */
/* فرم فیدبک */
.page-Main_Page .articleFeedbackv5 {
.page-Main_Page .articleFeedbackv5 {
     display: none  
     display: none  
Line 1,293: Line 1,294:
padding-top: 0;
padding-top: 0;
}
}
 
#mw-articlefeedbackv5 {
/* مخفی کردن از بازدید کننده ها */
max-width: 100%;
.showtologgedin {
width: auto !important;
    display: none
}
.articleFeedbackv5-submit {
    float: right !important;
}
}
/* بهبود فرم فیدبک */
.articleFeedbackv5 {
.articleFeedbackv5 {
font-size: 80%;
font-size: 80%;
Line 1,317: Line 1,319:
  .articleFeedbackv5-disclosure {
  .articleFeedbackv5-disclosure {
     display:none
     display:none
}
.articleFeedbackv5-submit {
    float:left !important;
}
}
.articleFeedbackv5-cta-5 {
.articleFeedbackv5-cta-5 {
display: none;
display: none;
}
}
 
/* مخفی کردن از بازدید کننده ها */
.showtologgedin {
    display: none
}
/* navbox */
/* navbox */
.navbox {
.navbox {
     width: auto !important
     width: auto !important
}
}
/* side bar */
/* side bar  
#mw-panel{
#mw-panel{
position: fixed;
position: fixed;
}
    z-index: 100;
    background-color: #fefdf9;
    width: 10.5em;
} */


/* دکمه های جمع شدن منوی سمت راست، بازگشت به بالای صفحه و تغییر اندازه فونت */
/* دکمه های جمع شدن منوی سمت راست، بازگشت به بالای صفحه و تغییر اندازه فونت */
Line 1,348: Line 1,353:
}
}
#collsidebar {
#collsidebar {
background-image: url('/images/d/d6/Right.png');
background-image: url('/images/c/cf/Left.png');
bottom: calc( 50% - 11px );
bottom: calc( 50% - 11px );
}
}
Line 1,377: Line 1,382:
display: none !important;
display: none !important;
}
}
/* new colors */
/* new colors  
body {
body {
     background-color: #fffdf9;
     background-color: #fffdf9;
}
}
.mw-body {
.mw-body {
     border: 1px solid #c3a068;
     border-top: 1px solid #c39f68;
}
}
#mw-page-base {
#mw-page-base {
Line 1,394: Line 1,399:
}
}
div.vectorTabs span, div.vectorTabs, div#mw-head div.vectorMenu h3 {
div.vectorTabs span, div.vectorTabs, div#mw-head div.vectorMenu h3 {
     background-image: url(/design/div.vectorTabs-span.png);
     background-image: url(/design/div.vectorTabs-span.png) !important;
}
}
.catlinks {
.catlinks {
Line 1,405: Line 1,410:
}
}


.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 */
/* font-sizes */
.mw-body-content{
font-size: 16px;
}
.mw-editfont-monospace{
.mw-editfont-monospace{
font-size: 15px;
font-size: 15px;
Line 1,415: Line 1,429:
max-width: 100%;
max-width: 100%;
height: auto !important;
height: auto !important;
clip: auto !important;
}
}


Line 1,473: Line 1,488:
}
}
.Qurantext {
.Qurantext {
font-family: Scheherazade;
font-family: 'Amiri', serif;
font-size: 25px;
font-size: 17px;
line-height: 0;
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;
}
}