مدیاویکی: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 {
html, body {
  font-family: esarat;
    font-family: shabnam;
  src: url('/fonts/Vazirmatn-FD-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%);
}
}
html, body {
.bala {
    scroll-padding-top: 100px;
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;
}
}
.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 {
.khaterat {
font-family: esarat;
border:2px solid #ccc;
font-weight: 900;
border-radius:10px;
background: rgb(184 181 255 / 85%);
height:50px;
padding:20px;
text-align:center;
}
}
.vector-menu-portal .vector-menu-content li {
.row1 {
font-family:esarat;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
}
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited {
.pishnahadi {
font-family:esarat;
    flex: 48%;
    margin: 20px 0 20px 5px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
.negareh {
font-family:esarat;
    flex: 48%;
    margin: 20px 0px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
.vector-menu-tabs li a {
.seyed-r {
font-family:esarat;
    flex: 48%;
    margin: 20px 0 20px 5px;
    border: 1px dashed #fff;
}
}
a {
h3.titlebg {
font-family:esarat;
width:100%;
padding:5px 0px;
text-align:center;
background: #B8B5FF;
border-radius:8px 8px 0 0;
margin:0;  
}
}
#searchInput {
.jadid {
font-family:esarat;
    flex: 49%;
    margin: 20px 5px 20px 0;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
.vector-menu-dropdown {
 
font-family:esarat;
.seyed-l {
    flex: 48%;
    margin: 20px 5px;
    border:1px dashed #fff; ;
}
}
.vector-body p {
.seyed {
font-family: esarat;
display: flex;
flex-direction: row;
flex-wrap: wrap;
    margin: 0px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
#footer-info li {
.subjects {
font-family:esarat;
    width: 100%;
    margin: 0px 0 20px 0px;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
.roozshomar {
font-family:esarat;
    flex: 49%;
    margin: 20px 0px 0 0;
    border: 2px solid #B8B5FF;
    border-radius: 10px;
}
}
.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:esarat;
ol.references {
background: #E4FBFF;
border:2px solid #7868E6;
border-radius:15px;
margin:20px;
}
}
.mw-rcfilters-ui-savedLinksListWidget-placeholder-description {
**/
font-family:esarat;
.im-references {
    max-height: 300px;
    overflow: auto;
    padding: 5px 0 5px 5px;
    background: #f8f9fa;
}
}
.mw-rcfilters-ui-savedLinksListWidget-placeholder-title {
.mw-editsection a {
font-family:esarat;
    white-space: nowrap;
    font-family: 'shabnam';
}
}
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
font-family:esarat;
font-family:shabnam;
}
}
html {
body.page-صفحهٔ_اصلی .mw-body .firstHeading {
  font-family:esarat;
display:none;
  scroll-behavior: smooth;
}
}
body {
 
font-family:esarat;
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%;
}
}
.mw-body, #mw-data-after-content {
body.page-صفحهٔ_اصلی .mw-content-container {
    margin-right: 0;
max-width:unset;
    background: #fff;
min-width:80%;
    border-radius:15px 0 15px 15px;
    padding: 30px;
}
}
.mw-page-container {
body.page-صفحهٔ_اصلی #catlinks {
background:#EDEEF7;
    display: none;
}
}
h1, h2 {
.homelinks {
border-bottom:0px;
padding: 12px;
font-size: 14px;
border: 2px solid #c2c0ff;
margin-bottom: 15px;
border-radius: 10px;
font-weight: bold;
}
}
.mw-body .firstHeading {
/* Infobox template style */
font-size:35px;
.infobox {
text-align:center;
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;
}
}
.mw-article-toolbar-container {
 
max-width: 84%;
.infobox-header,
margin-bottom:3px;
.infobox-label,
margin-top:110px;
.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;
}
}
.vector-menu-tabs li a {
 
font-size:14px;
.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;
}
}
.toc, .toccolours {
 
    border: 2px solid #7868E6;
/* Remove .infobox when element selectors above are removed */
    background-color: #E4FBFF;
.infobox .infobox-above,
    font-size: 100%;
.infobox .infobox-title,
    border-radius: 15px;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    margin: 40px 35px 40px 15px;
.infobox caption {
    padding:25px 22px 30px 25px;
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;
}
}
.mw-body h2 {
 
font-size:21px;
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
padding: 0.2em;
}
}
.mw-header {
 
    min-height: 4.125em;
/* Remove .infobox when element selectors above are removed */
    margin: 0 0 0.3125em;
.infobox .infobox-header,
    padding: 0.125em 15px;
.infobox .infobox-subheader,
    display: -ms-flexbox;
.infobox .infobox-image,
    display: flex;
.infobox .infobox-full-data,
    flex-wrap: nowrap;
.infobox .infobox-below {
    align-items: center;
text-align: center;
    position: fixed;
    z-index: 4;
    top: 0;
    right: 0;
    left: 0;
    background: #B8B5FF;
}
}
#mw-panel {
 
    background: #B8B5FF;
/* Remove .infobox when element selectors above are removed */
    position: fixed;
.infobox .infobox-navbar {
    /* right: 0.125em; */
/* @noflip */
    width: 17em;
text-align: right;
    -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;
/* Normal font styling for wikitable row headers with scope="row" tag */
    font-size: 14px;
.wikitable.plainrowheaders th[scope=row],
    line-height: 28px;
.wikitable.plainrowheaders th[scope=rowgroup] {
font-weight: normal;
/* @noflip */
text-align: left;
}
}
ol.references {
.infobox-caption {
background: #E4FBFF;
padding: 10px;
border:2px solid #7868E6;
text-align: right;
border-radius:15px;
}
margin:20px;
.infobox-header {
background: rgb(184 181 255 / 85%);
padding-top: 8px;
padding-bottom: 8px;
border-radius: 10px;
}
}
.mw-content-rtl ol, .mw-content-ltr .mw-content-rtl ol {
 
padding:40px;
@media only screen and (max-width: 1400px) {
  .bala {
        font-size:12px;
        }
}
}
body.page-Main_Page h1.firstHeading { display:none; }

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

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