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

از ویکی آزادگان
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۸۰ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
@font-face {
@font-face {
   font-family: esarat;
   font-family: shabnam;
   src: url('/fonts/Vazirmatn-FD-Light.woff2') format('woff2');
   src: url('/fonts/Shabnam-FD.woff2') format('woff2');
  font-weight: 200;
}
 
@font-face {
  font-family: esarat;
  src: url('/fonts/Vazirmatn-FD-Medium.woff2') format('woff2');
   font-weight: 400;
   font-weight: 400;
}
}


@font-face {
@font-face {
   font-family: esarat;
   font-family: shabnam;
   src: url('/fonts/Vazirmatn-FD-SemiBold.woff2') format('woff2');
   src: url('/fonts/Shabnam-Medium-FD.woff2') format('woff2');
   font-weight: 600;
   font-weight: 600;
}
}


@font-face {
@font-face {
   font-family: esarat;
   font-family: shabnam;
   src: url('/fonts/Vazirmatn-FD-Bold.woff2') format('woff2');
   src: url('/fonts/Shabnam-Bold-FD.woff2') format('woff2');
   font-weight: 700;
   font-weight: 700;
}
}


@font-face {
@font-face {
   font-family: esarat;
   font-family: shabnam;
   src: url('/fonts/Vazirmatn-FD-ExtraBold.woff2') format('woff2');
   src: url('/fonts/Shabnam-Bold-FD.woff2') format('woff2');
   font-weight: 800;
   font-weight: 900;
}
}


@font-face {
  font-family: esarat;
  src: url('/fonts/Vazirmatn-FD-Black.woff2') format('woff2');
  font-weight: 900;
}
.mw-page-container {
max-width:100%;
}
html, body {
html, body {
     scroll-padding-top: 100px;
     font-family: shabnam;
}
.mw-body h1, .mw-body h2, .mw-body #firstHeading, .mw-body .mw-editsection, .mw-body .mw-editsection-like, .mw-body #toc h2, .mw-body .toc h2, #documentation-meta-data {
font-family: esarat;
font-weight: 900;
}
.vector-menu-portal .vector-menu-content li {
font-family:esarat;
}
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited {
font-family:esarat;
}
.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
font-family:esarat;
}
.vector-menu-tabs li a {
font-family:esarat;
}
a {
font-family:esarat;
}
}
#searchInput {
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family:esarat;
font-family:shabnam;
font-weight:900;
}
}
.vector-menu-dropdown {
.vector-sticky-header-context-bar-primary {
font-family:esarat;
font-family:shabnam
}
}
.vector-body p {
.vector-body p {
font-family: esarat;
line-height:33px;
}
#footer-info li {
font-family:esarat;
}
.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
font-family:esarat;
}
}
.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-labelElement > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement > .oo-ui-buttonElement-button {
.mw-logo-wordmark {
font-family:esarat;
font-size:22px;
}
}
.mw-rcfilters-ui-savedLinksListWidget-placeholder-description {
.vector-sticky-header {
font-family:esarat;
}
.mw-rcfilters-ui-savedLinksListWidget-placeholder-title {
font-family:esarat;
}
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
font-family:esarat;
}
html {
  font-family:esarat;
  scroll-behavior: smooth;
}
body {
font-family:esarat;
}
.vector-body {
    text-align: justify;
    font-weight:200;
    line-height: 31px;
    font-size: 16px;
}
.mw-content-rtl .toc ul, .mw-content-ltr .mw-content-rtl .toc ul {
font-weight:700;
}
.mw-content-container {
max-width:96%;
}
.mw-body, #mw-data-after-content {
    margin-right: 0;
    background: #fff;
    border-radius:15px 0 15px 15px;
    padding: 30px;
}
.mw-page-container {
background:#EDEEF7;
}
h1, h2 {
border-bottom:0px;
}
.mw-body .firstHeading {
font-size:35px;
text-align:center;
}
.mw-article-toolbar-container {
max-width: 96%;
margin-bottom:3px;
margin-top:110px;
}
.vector-menu-tabs li a {
font-size:14px;
}
.toc, .toccolours {
    border: 2px solid #7868E6;
    background-color: #E4FBFF;
    font-size: 100%;
    border-radius: 15px;
    margin: 40px 35px 40px 15px;
    padding:25px 22px 30px 25px;
}
.mw-body h2 {
font-size:21px;
}
.mw-header {
    min-height: 4.125em;
    margin: 0 0 0.3125em;
    padding: 0.125em 15px;
    display: -ms-flexbox;
     display: flex;
     display: flex;
    flex-wrap: nowrap;
     background: rgb(184 181 255 / 85%);
    align-items: center;
    position: fixed;
    z-index: 4;
    top: 0;
    right: 0;
    left: 0;
     background: #B8B5FF;
}
#mw-panel {
    background: #B8B5FF;
    position: fixed;
    /* right: 0.125em; */
    width: 17em;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px 2.8125em 40px 0;
    z-index: 1;
    height: 60em;
    margin-top: -47px;
}
.vector-menu-portal .vector-menu-content li {
    font-family: esarat;
    font-size: 14px;
    line-height: 28px;
}
ol.references {
background: #E4FBFF;
border:2px solid #7868E6;
border-radius:15px;
margin:20px;
}
.mw-content-rtl ol, .mw-content-ltr .mw-content-rtl ol {
padding:40px;
}
body.page-صفحهٔ_اصلی #ca-delete,body.page-صفحهٔ_اصلی #deleteconfirm,body.page-صفحهٔ_اصلی #t-cite,body.page-صفحهٔ_اصلی #lastmod,body.page-صفحهٔ_اصلی #siteSub,body.page-صفحهٔ_اصلی #contentSub,body.page-صفحهٔ_اصلی #catlinks,body.page-صفحهٔ_اصلی h1.firstHeading,body.page-صفحهٔ_اصلی #centralNotice,body.page-درگاه_ورودی #siteSub,body.page-درگاه_ورودی h1.firstHeading {
  display: none !important;
}
}
.bala {
.bala {
border:2px solid #ccc;
border:2px solid #ccc;
border-radius:10px;
border-radius:10px;
background:url(https://wikiazadegan.com/images/9/98/Bg.jpg);
background:url(https://fa.wikiazadegan.com/images/9/98/Bg.jpg);
background-size:cover;
background-size:cover;
height:250px;
height:250px;
خط ۱۹۶: خط ۵۵:
border:2px solid #ccc;
border:2px solid #ccc;
border-radius:10px;
border-radius:10px;
background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(184,181,255,0.8472339619441527) 47%);
background: rgb(184 181 255 / 85%);
height:50px;
height:50px;
padding:20px;
padding:20px;
text-align:center;
text-align:center;
}
}
body.page-صفحهٔ_اصلی  #right-navigation {
  display: none !important;
}
body.page-صفحهٔ_اصلی  #left-navigation {
  display: none !important;
}
body.page-صفحهٔ_اصلی  .mw-body, #mw-data-after-content{
  border-radius:15px;
}
.row1 {
.row1 {
display:flex;
display: flex;
flex-direction:row;
flex-direction: row;
flex-wrap:wrap;
flex-wrap: wrap;
}
}
.pishnahadi {
.pishnahadi {
     width: 49%;
     flex: 48%;
     margin: 20px 0 20px 5px;
     margin: 20px 0 20px 5px;
     border: 2px solid #B8B5FF;
     border: 2px solid #B8B5FF;
     border-radius: 10px;
     border-radius: 10px;
}
.negareh {
    flex: 48%;
    margin: 20px 0px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
.seyed-r {
    flex: 48%;
    margin: 20px 0 20px 5px;
    border: 1px dashed #fff;
}
}
h3.titlebg {
h3.titlebg {
خط ۲۳۲: خط ۹۱:
}
}
.jadid {
.jadid {
     width: 49%;
     flex: 49%;
     margin: 20px 5px 20px 0;
     margin: 20px 5px 20px 0;
     border: 2px solid #B8B5FF;
     border: 2px solid #B8B5FF;
     border-radius: 10px;
     border-radius: 10px;
}
}
.negareh {
 
     width: 49%;
.seyed-l {
     flex: 48%;
     margin: 20px 5px;
     margin: 20px 5px;
     border: 2px solid #B8B5FF;
     border:1px dashed #fff; ;
    border-radius: 10px;
}
}
.seyed {
.seyed {
    width: 100%;
display: flex;
     margin: 20px 0px;
flex-direction: row;
flex-wrap: wrap;
     margin: 0px;
     border: 2px solid #B8B5FF;
     border: 2px solid #B8B5FF;
     border-radius: 10px;
     border-radius: 10px;
    box-shadow: 5px 5px #ddd;
}
}
.subjects {
.subjects {
     width: 100%;
     width: 100%;
     margin: 20px 0 0 5px;
     margin: 0px 0 20px 0px;
     border: 2px solid #B8B5FF;
     border: 2px solid #B8B5FF;
     border-radius: 10px;
     border-radius: 10px;
}
}
.roozshomar {
.roozshomar {
     width: 49%;
     flex: 49%;
     margin: 20px 5px 0 0;
     margin: 20px 0px 0 0;
     border: 2px solid #B8B5FF;
     border: 2px solid #B8B5FF;
     border-radius: 10px;
     border-radius: 10px;
}
}
@media (max-width: 800px) {
/**
  .row1 {
ol.references {
     flex-direction: column;
background: #E4FBFF;
  }
border:2px solid #7868E6;
.pishnahadi {
border-radius:15px;
width:100%;
margin:20px;
}
**/
.im-references {
    max-height: 300px;
    overflow: auto;
    padding: 5px 0 5px 5px;
    background: #f8f9fa;
}
.mw-editsection a {
    white-space: nowrap;
    font-family: 'shabnam';
}
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
font-family:shabnam;
}
body.page-صفحهٔ_اصلی .mw-body .firstHeading {
display:none;
}
 
body.page-صفحهٔ_اصلی .mw-article-toolbar-container {
display:none;
}
 
.vector-body {
text-align:justify;
}
.mw-references-columns {
padding:20px 0 20px 20px;
background-color:#dedeead9;
}
.mw-content-container {
max-width:unset;
min-width:100%;
}
body.page-صفحهٔ_اصلی .mw-content-container {
max-width:unset;
min-width:80%;
}
body.page-صفحهٔ_اصلی #catlinks {
     display: none;
}
.homelinks {
padding: 12px;
font-size: 14px;
border: 2px solid #c2c0ff;
margin-bottom: 15px;
border-radius: 10px;
font-weight: bold;
}
/* Infobox template style */
.infobox {
border: 2px solid #4a8db9;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 3em 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: left;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
border-radius: 0px 0px 10px 10px;
}
 
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
padding: 7px 0;
}
 
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: right;
}
 
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
background: rgb(184 181 255 / 85%);
padding: 9px;
border-top: 2px solid #4a8db9;
border-radius: 10px 10px 0px 0px;
border-right: 2px solid #4a8db9;
border-left: 2px solid #4a8db9;
}
 
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
padding: 0.2em;
}
 
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
 
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
 
/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
font-weight: normal;
/* @noflip */
text-align: left;
}
.infobox-caption {
padding: 10px;
text-align: right;
}
.infobox-header {
background: rgb(184 181 255 / 85%);
padding-top: 8px;
padding-bottom: 8px;
border-radius: 10px;
}
}


@media only screen and (max-width: 1400px) {
  .bala {
        font-size:12px;
        }
}
}

نسخهٔ کنونی تا ‏۲۱ ژانویهٔ ۲۰۲۴، ساعت ۱۲:۴۸

@font-face {
  font-family: shabnam;
  src: url('/fonts/Shabnam-FD.woff2') format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: shabnam;
  src: url('/fonts/Shabnam-Medium-FD.woff2') format('woff2');
  font-weight: 600;
}

@font-face {
  font-family: shabnam;
  src: url('/fonts/Shabnam-Bold-FD.woff2') format('woff2');
  font-weight: 700;
}

@font-face {
  font-family: shabnam;
  src: url('/fonts/Shabnam-Bold-FD.woff2') format('woff2');
  font-weight: 900;
}

html, body {
    font-family: shabnam;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
	font-family:shabnam;
	font-weight:900;
}
.vector-sticky-header-context-bar-primary {
	font-family:shabnam
}
.vector-body p {
	line-height:33px;
}
.mw-logo-wordmark {
	font-size:22px;
}
.vector-sticky-header {
    display: flex;
    background: rgb(184 181 255 / 85%);
}
.bala {
	border:2px solid #ccc;
	border-radius:10px;
	background:url(https://fa.wikiazadegan.com/images/9/98/Bg.jpg);
	background-size:cover;
	height:250px;
	padding:20px;
	display:flex;
}
.khaterat {
	border:2px solid #ccc;
	border-radius:10px;
	background: rgb(184 181 255 / 85%);
	height:50px;
	padding:20px;
	text-align:center;
}
.row1 {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.pishnahadi {
    flex: 48%;
    margin: 20px 0 20px 5px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
.negareh {
    flex: 48%;
    margin: 20px 0px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
.seyed-r {
    flex: 48%;
    margin: 20px 0 20px 5px;
    border: 1px dashed #fff;
}
h3.titlebg {
	width:100%;	
	padding:5px 0px;
	text-align:center;
	background: #B8B5FF;
	border-radius:8px 8px 0 0;
	margin:0; 
}
.jadid {
    flex: 49%;
    margin: 20px 5px 20px 0;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}

.seyed-l {
    flex: 48%;
    margin: 20px 5px;
    border:1px dashed #fff; ;
}
.seyed {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
    margin: 0px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
.subjects {
    width: 100%;
    margin: 0px 0 20px 0px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
.roozshomar {
    flex: 49%;
    margin: 20px 0px 0 0;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
/**
ol.references {
	background: #E4FBFF;
	border:2px solid #7868E6;
	border-radius:15px;
	margin:20px;
}
**/
.im-references {
    max-height: 300px;
    overflow: auto;
    padding: 5px 0 5px 5px;
    background: #f8f9fa;
}
.mw-editsection a {
    white-space: nowrap;
    font-family: 'shabnam';
}
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
	font-family:shabnam;
}
body.page-صفحهٔ_اصلی .mw-body .firstHeading {
	display:none;
}

body.page-صفحهٔ_اصلی .mw-article-toolbar-container {
	display:none;
}

.vector-body {
	text-align:justify;
}
.mw-references-columns {
	padding:20px 0 20px 20px;
	background-color:#dedeead9;
}
.mw-content-container {
	max-width:unset;
	min-width:100%;
}
body.page-صفحهٔ_اصلی .mw-content-container {
	max-width:unset;
	min-width:80%;
}
body.page-صفحهٔ_اصلی #catlinks {
    display: none;
}
.homelinks {
	padding: 12px;
	font-size: 14px;
	border: 2px solid #c2c0ff;
	margin-bottom: 15px;
	border-radius: 10px;
	font-weight: bold;
}
/* Infobox template style */
.infobox {
	border: 2px solid #4a8db9;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 3em 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: left;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
	border-radius: 0px 0px 10px 10px;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	vertical-align: top;
	padding: 7px 0;
}

.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	/* @noflip */
	text-align: right;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
	background: rgb(184 181 255 / 85%);
	padding: 9px;
	border-top: 2px solid #4a8db9;
	border-radius: 10px 10px 0px 0px;
	border-right: 2px solid #4a8db9;
	border-left: 2px solid #4a8db9;
}

.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	padding: 0.2em;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
	/* @noflip */
	text-align: right;
}

/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
	font-weight: normal;
	/* @noflip */
	text-align: left;
}
.infobox-caption {
	padding: 10px;
	text-align: right;
}
.infobox-header {
	background: rgb(184 181 255 / 85%);
	padding-top: 8px;
	padding-bottom: 8px;
	border-radius: 10px;
}

@media only screen and (max-width: 1400px) {
  .bala {
        font-size:12px;
        }
}