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

از دانشنامه ملل
(صفحه‌ای تازه حاوی «@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') fo...» ایجاد کرد)
 
بدون خلاصۀ ویرایش
برچسب: واگردانی دستی
 
(۱۴۹ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
@font-face {
@font-face {
   font-family: shabnam;
   font-family: vazir;
   src: url('/fonts/Shabnam-FD.woff2') format('woff2');
   src: url('/fonts/Vazir-FD.woff2') format('woff2');
   font-weight: 400;
   font-weight: 400;
}
}


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


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


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


html, body {
html, body {
     font-family: shabnam;
     font-family: vazir;
}
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family:shabnam;
font-family:vazir;
font-weight:900;
font-weight:900;
}
}
.vector-sticky-header-context-bar-primary {
.vector-sticky-header-context-bar-primary {
font-family:shabnam
font-family:vazir
}
}
.vector-body p {
.vector-body p {
خط ۴۱: خط ۴۷:
.vector-sticky-header {
.vector-sticky-header {
     display: flex;
     display: flex;
     background: rgb(184 181 255 / 85%);
     background: #9acefe;
}
}
.bala {
.bala {
border:2px solid #ccc;
border:3px solid #bfbfbf;
border-radius:10px;
border-radius:10px;
background:url(https://fa.wikiazadegan.com/images/9/98/Bg.jpg);
background:url(/images/2/22/MainBannerEtoud3.png);
background-size:cover;
background-size:cover;
height:250px;
padding:20px;
padding:20px;
display:flex;
display:flex;
}
box-shadow: 2px 3px #9acefe;
.khaterat {
height:184px;
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 {
ol.references {
خط ۱۳۸: خط ۷۶:
.mw-editsection a {
.mw-editsection a {
     white-space: nowrap;
     white-space: nowrap;
     font-family: 'shabnam';
     font-family: 'vazir';
}
}
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
font-family:shabnam;
font-family:vazir;
}
body.page-صفحهٔ_اصلی #catlinks {
display:none;
}
}
.vector-body {
.vector-body {
text-align:justify;
text-align:justify;
خط ۱۵۳: خط ۸۹:
background-color:#dedeead9;
background-color:#dedeead9;
}
}
body.page-صفحهٔ_اصلی .mw-body .firstHeading {
display:none;
}
body.page-صفحهٔ_اصلی .mw-article-toolbar-container {
display:none;
}
.mw-content-container {
max-width:unset;
min-width:100%;
}
body.page-صفحهٔ_اصلی .mw-content-container {
max-width:unset;
min-width:85%;
}
body.page-صفحهٔ_اصلی #catlinks {
    display: none;
}
.logo-main {
width:12%;
display:flex;
align-items:center;
}
.intro {
width: 88%;
margin:auto;
text-align:center
}
div#map {
    margin-top: 45px;
    margin-bottom: 40px;
}
.body-r-l {
flex:100%;
display:flex;
margin-top:90px;
}
.right-c {
flex:70%;
border:3px solid #bfbfbf;
border-radius:10px;
margin-left:5px;
    padding: 10px;
    box-shadow: 2px 3px #9acefe;
}
.left-c {
flex:30%;
border:3px solid #bfbfbf;
margin-right:5px;
border-radius:10px;
    padding: 10px;
    box-shadow: 2px 3px #9acefe;
}
.titr {
    font-weight: 900;
    color:#fff;
    padding-right:10px;
background: #9acefe;
background: linear-gradient(90deg, #9acefe 24%, #0000f5 91%);
    border-right: 2px solid #9acefe;
    border-radius: 0px 15px 15px 0px;
    border-top: 2px solid #9acefe;
    border-bottom: 2px solid #9acefe;
    font-size:18px;
}
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: left;
/* @noflip */
clear: left;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
.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;
}
.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;
}
.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;
}
/* css-form-navbar-menu-manategh */
.navbar {
  overflow: hidden;
  background-color: #1f93fc;
  margin:15px 0;
  border-radius:10px 10px 0px 0px;
}
.navbar a {
  float: right;
  font-size: 16px;
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
.subnav {
  float: right;
  overflow: hidden;
}
.subnav .subnavbtn {
  font-size: 18px; 
  font-weight:bold;
  border: none;
  outline: none;
  color: #fff;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}
.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: #9acefe;
}
.subnav-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: #9acefe;
  width: 100%;
  z-index: 1;
}
.subnav-content a {
  float: right;
  color: #000;
  text-decoration: none;
}
.subnav-content a:hover {
  background-color: #9acefe;
  color: black;
}
.subnav:hover .subnav-content {
  display: block;
}
/* added-for-dropdown*/
.dropbtn {
  background-color: #9acefe;
  color: black;
  padding: 16px;
  font-size: 16px;
  border: none;
  font-family:vazir;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #9acefe;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  max-width:140px;
}
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {background-color: #9acefe;}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {background-color: #9acefe;}
/* end of dropdown */

نسخهٔ کنونی تا ‏۲۳ ژوئن ۲۰۲۴، ساعت ۰۷:۰۰

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

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

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

@font-face {
  font-family: vazir;
  src: url('/fonts/Vazir-Black-FD.woff2') format('woff2');
  font-weight: 900;
}

@font-face {
  font-family: nastaliq;
  src: url('/fonts/IranNastaliq.woff2') format('woff2');
  font-weight: 900;
}

html, body {
    font-family: vazir;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
	font-family:vazir;
	font-weight:900;
}
.vector-sticky-header-context-bar-primary {
	font-family:vazir
}
.vector-body p {
	line-height:33px;
}
.mw-logo-wordmark {
	font-size:22px;
}
.vector-sticky-header {
    display: flex;
    background: #9acefe;
}
.bala {
	border:3px solid #bfbfbf;
	border-radius:10px;
	background:url(/images/2/22/MainBannerEtoud3.png);
	background-size:cover;
	padding:20px;
	display:flex;
	box-shadow: 2px 3px #9acefe;
	height:184px;
}

/**
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: 'vazir';
}
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
	font-family:vazir;
}

.vector-body {
	text-align:justify;
}
.mw-references-columns {
	padding:20px 0 20px 20px;
	background-color:#dedeead9;
}

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

body.page-صفحهٔ_اصلی .mw-article-toolbar-container {
	display:none;
}
.mw-content-container {
	max-width:unset;
	min-width:100%;
}
body.page-صفحهٔ_اصلی .mw-content-container {
	max-width:unset;
	min-width:85%;
}
body.page-صفحهٔ_اصلی #catlinks {
    display: none;
}
.logo-main {
	width:12%;
	display:flex;
	align-items:center;
}
.intro {
	width: 88%;
	margin:auto;
	text-align:center
}
div#map {
    margin-top: 45px;
    margin-bottom: 40px;
}
.body-r-l {
	flex:100%;
	display:flex;
	margin-top:90px;
}
.right-c {
	flex:70%;
	border:3px solid #bfbfbf;
	border-radius:10px;
	margin-left:5px;
    padding: 10px;
    box-shadow: 2px 3px #9acefe;
	}
.left-c {
	flex:30%;
	border:3px solid #bfbfbf;
	margin-right:5px;
	border-radius:10px;
    padding: 10px;
    box-shadow: 2px 3px #9acefe;
}
.titr {
    font-weight: 900;
    color:#fff;
    padding-right:10px;
	background: #9acefe;
	background: linear-gradient(90deg, #9acefe 24%, #0000f5 91%);
    border-right: 2px solid #9acefe;
    border-radius: 0px 15px 15px 0px;
    border-top: 2px solid #9acefe;
    border-bottom: 2px solid #9acefe;
    font-size:18px;
}
/* Infobox template style */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: left;
	/* @noflip */
	clear: left;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

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

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

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

/* css-form-navbar-menu-manategh */
.navbar {
  overflow: hidden;
  background-color: #1f93fc; 
  margin:15px 0;
  border-radius:10px 10px 0px 0px;
}

.navbar a {
  float: right;
  font-size: 16px;
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.subnav {
  float: right;
  overflow: hidden;
}

.subnav .subnavbtn {
  font-size: 18px;  
  font-weight:bold;
  border: none;
  outline: none;
  color: #fff;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: #9acefe;
}

.subnav-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: #9acefe;
  width: 100%;
  z-index: 1;
}

.subnav-content a {
  float: right;
  color: #000;
  text-decoration: none;
}

.subnav-content a:hover {
  background-color: #9acefe;
  color: black;
}

.subnav:hover .subnav-content {
  display: block;
}

/* added-for-dropdown*/
.dropbtn {
  background-color: #9acefe;
  color: black;
  padding: 16px;
  font-size: 16px;
  border: none;
  font-family:vazir;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #9acefe;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  max-width:140px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #9acefe;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #9acefe;}

/* end of dropdown */