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


body.page-صفحهٔ_اصلی  #right-navigation {
/* Normal font styling for wikitable row headers with scope="row" tag */
  display: none !important;
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
font-weight: normal;
/* @noflip */
text-align: left;
}
}
body.page-صفحهٔ_اصلی  #left-navigation {
.infobox-caption {
  display: none !important;
padding: 10px;
text-align: right;
}
}
body.page-صفحهٔ_اصلی  .mw-body, #mw-data-after-content{
.infobox-header {
  border-radius:15px;
background: rgb(184 181 255 / 85%);
padding-top: 8px;
padding-bottom: 8px;
border-radius: 10px;
}
}
@media screen and (max-width: 650px) {
 
@media only screen and (max-width: 1400px) {
}
  .bala {
.row1 {
        font-size:12px;
display:flex;
        }
}
.pishnahadi {
    width: 40%;
    margin: 20px 0 20px 5px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
.titlebg {
width:97%;
padding:5px 10px;
text-align:center;
background: #B8B5FF;
border-radius:10px 10px 0 0;
margin:0;
}
}

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

@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;
        }
}