مدیاویکی:Common.css: تفاوت میان نسخه‌ها

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۵۵ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
* {
    box-sizing: border-box;
}
/* 1.40 vectore */
.vector-menu-tabs .mw-list-item.vector-tab-noicon a {
    border-bottom: none;
    margin-top: 20px;
}
.vector-page-titlebar::after {
    height: 0;
}
.vector-page-toolbar-container {
box-shadow: none;
}
/* Vazir Font */
/* Vazir Font */
  @font-face {
  @font-face {
خط ۴: خط ۲۰:
     src: url('/fonts/Vazir.woff2') format('woff2'), url('/fonts/Vazir.woff') format('woff'), url('/fonts/Vazir.ttf') format('truetype');
     src: url('/fonts/Vazir.woff2') format('woff2'), url('/fonts/Vazir.woff') format('woff'), url('/fonts/Vazir.ttf') format('truetype');
}
}
/* Amiri Font */
/* Sahel Font */
@font-face {
@font-face {
  font-family: 'Amiri';
    font-family: 'sahel';
  font-style: normal;
    src: url('/fonts/Sahel-Bold-WOL.woff2') format('woff2'), url('/fonts/Sahel-Bold-WOL.ttf') format('truetype');
  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;
}
}
/* Logo */
/* Logo */
خط ۲۶: خط ۳۹:
   font-family:  vazir, Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
   font-family:  vazir, Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
}
}
 
h1, h2 {
font-weight: bold;
}
.mw-body h1, .mw-body h2, .mw-body #firstHeading,
.mw-body h1, .mw-body h2, .mw-body #firstHeading,
.mw-body .mw-editsection, .mw-body .mw-editsection-like,
.mw-body .mw-editsection, .mw-body .mw-editsection-like,
.mw-body #toc h2, .mw-body .toc h2,
.mw-body #toc h2, .mw-body .toc h2, .vector-sticky-header-context-bar-primary, h3, h4,
#documentation-meta-data {
#documentation-meta-data {
   /* generally a serif font should be here but Arial is not acceptable for Persian */
   /* generally a serif font should be here but Arial is not acceptable for Persian */
   font-family: vazir, Tahoma, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif;
   font-family: sahel, Tahoma, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif;
}
}


خط ۸۵: خط ۱۰۰:
body.page-صفحهٔ_اصلی #ca-history,
body.page-صفحهٔ_اصلی #ca-history,
body.page-صفحهٔ_اصلی #pagehistory {
body.page-صفحهٔ_اصلی #pagehistory {
   display: none;
   dis play: none;
}
}


خط ۱٬۱۴۱: خط ۱٬۱۵۶:
}
}


/* توضیح به کاربران درباره صفحه تمرین */
/* توضیح به کاربران درباره صفحه تمرین  
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
     color: #72777d;
     color: #72777d;
     content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ویکی‌پدیا کاربرد دارد.";
     content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در دانشنامه‌پدیا کاربرد دارد.";
     float: left;
     float: left;
     width: 40%;
     width: 40%;
     font-size: 40%;
     font-size: 40%;
}
}
 
*/
/*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایش‌های در حال انتظار] برگرفته از ویکی‌روسی*/
/*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایش‌های در حال انتظار] برگرفته از ویکی‌روسی*/
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {
خط ۱٬۴۶۵: خط ۱٬۴۸۰:
}
}


/* side bar */
#mw-panel{
position: fixed;
    z-index: 100;
    background-color: #f9fcff ;
    width: 10.5em;
}
/* navbox */
.navbox-title a {
.navbox-title a {
color: black !important;;
color: black !important;;
خط ۱٬۵۹۱: خط ۱٬۵۹۷:
/* محیط ویرایش */
/* محیط ویرایش */
#wpTextbox1 {
#wpTextbox1 {
     font-size: 15px;
     font-size: 16px;
     font-family: tahoma;
     font-family: tahoma;
}
}
خط ۱٬۶۵۰: خط ۱٬۶۵۶:
   font-size: 14px;
   font-size: 14px;
}
}
/* ثابت شدن نوار ابزار بالا */
 
div#mw-head {
    position: fixed;
    background-image: linear-gradient(to bottom, #f9fcff 99%, #afd9f7 1px);
    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;
}
.vector-menu-tabs li {
background-image: linear-gradient(to top, #6bc1ff 0, #e8f2f8 1px, #f9fcff 100%);
}
.vector-menu-tabs .selected {
    background: linear-gradient(to top,#fff 1px,#f9fcff 100%);
}
body {
    background-color: #f9fcff;
}
/* الگو:مقاله‌های کاربر */
/* الگو:مقاله‌های کاربر */
.user-articles .mw-newpages-history, .user-articles .mw-newpages-length, .user-articles .mw-userlink, .user-articles .mw-usertoollinks, .user-articles .comment, .user-articles .mw-tag-markers, .user-articles .mw-newpages-oldtitle, .user-articles .mw-newpages-time {
.user-articles .mw-newpages-history, .user-articles .mw-newpages-length, .user-articles .mw-userlink, .user-articles .mw-usertoollinks, .user-articles .comment, .user-articles .mw-tag-markers, .user-articles .mw-newpages-oldtitle, .user-articles .mw-newpages-time {
خط ۱٬۶۹۰: خط ۱٬۶۶۷:
.mw-body h1, .mw-body-content h1 {
.mw-body h1, .mw-body-content h1 {
   margin-bottom: 0;
   margin-bottom: 0;
}
/* vector-2022 */
.mw-content-container, .mw-article-toolbar-container {
  max -width: none;
}
.mw-sidebar-action {
display: none;
}
.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--active) {
  margin-left: 24px;
  margin-right: 0;
}
#searchInput {
  padding: 0.2em 2.5em;
}
/* پیشنهاد سلطان */
a.new {
  color: #860000;
  text-decoration: none;
}
a {
  color: #052a75;
}
a:visited {
  color: #052a75;
}
h1, h2 {
  bor der-bottom: none;
}
/* citizen */
.skin-citizen .page-actions > .mw-portlet li > a {
  line-height: 20px;
}
@media screen {
html.ve-active {
--width-toc: 0;
}
}
/* hide excess menus for non-logged-in */
#n-امتیاز-مشارکت, #t-recentchangeslinked, #t-upload, #t-info, #t-createredirect, #t-articlefeedbackv5-add, #t-articlefeedbackv5-view, #n-recentchanges, #t-specialpages, .vector-menu-tabs .mw-list-item.new a {
display: none;
}
#right-navigation, #left-navigation .selected {
display: none;
}
.mw-body-header {
float: right;
}
.vector-article-toolbar {
float: left;
z-index: 1;
position: relative;
}
.vector-article-toolbar .new {
display: none;
}
.vector-menu-tabs .mw-list-item > a {
color: #fff;
background-color: #36c;
border-color: #36c;
padding: 8px !important;
transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms;
min-height: 1em;
font-size: 14px;
border-radius: 3px;
}
.mw-article-toolbar-container {
  border-bottom: 0;
}
#mw-indicator-mw-helplink {
display: none;
}
/* add logo */
#mw-panel:before {
content: url(new_logo_3.png);
text-align: center;
display: block;
}
/* comment section */
.cs-comments, .cs-title-edit-field, .cs-body-edit-field {
  font-family: vazir !important;
}
.cs-header .oo-ui-buttonElement-button[tabindex="0"] {
position: fixed;
top: 4em;
left: 1em;
z-index: 10;
}
.cs-header .oo-ui-buttonElement-button[title="لغو"], .cs-header .oo-ui-buttonElement-button[title="ثبت"] {
position: relative;
top: unset;
left: unset;
}
#toc-mw-content-text {
display: none;
}
}