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

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


@font-face {
@font-face {
   font-family: vazirmatn;
   font-family: shabnam;
   src: url('/fonts/Vazirmatn-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: vazirmatn;
   font-family: shabnam;
   src: url('/fonts/Vazirmatn-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: vazirmatn;
   font-family: shabnam;
   src: url('/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
   src: url('/fonts/Shabnam-Bold-FD.woff2') format('woff2');
   font-weight: 800;
   font-weight: 900;
}
}


@font-face {
html, body {
  font-family: vazirmatn;
    font-family: shabnam;
  src: url('/fonts/Vazirmatn-Black.woff2') format('woff2');
}
  font-weight: 900;
.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;
}
}
.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 {
.row1 {
font-family: vazirmatn;
display: flex;
font-weight: 900;
flex-direction: row;
flex-wrap: wrap;
}
}
.vector-menu-portal .vector-menu-content li {
.pishnahadi {
font-family:vazirmatn;
    flex: 48%;
    margin: 20px 0 20px 5px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited {
.negareh {
font-family:vazirmatn;
    flex: 48%;
    margin: 20px 0px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
.seyed-r {
font-family:vazirmatn;
    flex: 48%;
    margin: 20px 0 20px 5px;
    border: 1px dashed #fff;
}
}
.vector-menu-tabs li a {
h3.titlebg {
font-family:vazirmatn;
width:100%;
padding:5px 0px;
text-align:center;
background: #B8B5FF;
border-radius:8px 8px 0 0;
margin:0;  
}
}
a {
.jadid {
font-family:vazirmatn;
    flex: 49%;
    margin: 20px 5px 20px 0;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
#searchInput {
 
font-family:vazirmatn;
.seyed-l {
    flex: 48%;
    margin: 20px 5px;
    border:1px dashed #fff; ;
}
}
.vector-menu-dropdown {
.seyed {
font-family:vazirmatn;
display: flex;
flex-direction: row;
flex-wrap: wrap;
    margin: 0px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
.vector-body p {
.subjects {
font-family: vazirmatn;
    width: 100%;
    margin: 0px 0 20px 0px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
#footer-info li {
.roozshomar {
font-family:vazirmatn;
    flex: 49%;
    margin: 20px 0px 0 0;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
/**
font-family:vazirmatn;
ol.references {
background: #E4FBFF;
border:2px solid #7868E6;
border-radius:15px;
margin:20px;
}
}
.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 {
**/
font-family:vazirmatn;
.im-references {
    max-height: 300px;
    overflow: auto;
    padding: 5px 0 5px 5px;
    background: #f8f9fa;
}
}
.mw-rcfilters-ui-savedLinksListWidget-placeholder-description {
.mw-editsection a {
font-family:vazirmatn;
    white-space: nowrap;
    font-family: 'shabnam';
}
}
.mw-rcfilters-ui-savedLinksListWidget-placeholder-title {
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
font-family:vazirmatn;
font-family:shabnam;
}
}
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
body.page-صفحهٔ_اصلی .mw-body .firstHeading {
font-family:vazirmatn;
display:none;
}
}
html, body {
 
font-family:vazirmatn;
body.page-صفحهٔ_اصلی .mw-article-toolbar-container {
display:none;
}
}
.vector-body {
.vector-body {
    text-align: justify;
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 {
.mw-references-columns {
font-weight:700;
padding:20px 0 20px 20px;
background-color:#dedeead9;
}
}
.mw-content-container {
.mw-content-container {
max-width:84%;
max-width:unset;
min-width:100%;
}
body.page-صفحهٔ_اصلی .mw-content-container {
max-width:unset;
min-width:80%;
}
body.page-صفحهٔ_اصلی #catlinks {
    display: none;
}
}
.mw-body, #mw-data-after-content {
.homelinks {
    margin-right: 0;
padding: 12px;
    background: #fff;
font-size: 14px;
    border-radius:15px 0 15px 15px;
border: 2px solid #c2c0ff;
    padding: 15px;
margin-bottom: 15px;
border-radius: 10px;
font-weight: bold;
}
}
.mw-page-container {
/* Infobox template style */
background:#eee;
.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;
}
}
h1, h2 {
 
border-bottom:0px;
.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;
}
}
.mw-body .firstHeading {
 
font-size:35px;
.infobox-label,
text-align:center;
.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;
}
}
.mw-article-toolbar-container {
.infobox-caption {
max-width: 84%;
padding: 10px;
margin-bottom:3px;
text-align: right;
margin-top:110px;
}
}
.vector-menu-tabs li a {
.infobox-header {
font-size:14px;
background: rgb(184 181 255 / 85%);
padding-top: 8px;
padding-bottom: 8px;
border-radius: 10px;
}
}
.toc, .toccolours {
 
    border: 2px solid #ccc;
@media only screen and (max-width: 1400px) {
    background-color: #FAF1DF;
  .bala {
    font-size: 100%;
        font-size:12px;
    border-radius: 15px;
        }
    margin: 40px 35px 40px 15px;
}
}

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

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