پرش به محتوا

Common.css - فراغیب

از فراغیب
admin>Esfandiari
بدون خلاصۀ ویرایش
admin>Esfandiari
بدون خلاصۀ ویرایش
خط ۱: خط ۱:
/* =====================================================
/* --------------------- Begin Font Style ----------------- */
 
@font-face {
MediaWiki Common.css
    font-family: 'IRANSansXFaNum';
 
font-style: normal;
Optimized for Vector 2010 – Persian RTL
font-weight: 400;
 
font-display: swap;
Font: IRANSansXFaNum
src: url('/w/resources/fonts/IRANSansXFaNum-Regular.woff2') format('woff2'),
 
url('/w/resources/fonts/IRANSansXFaNum-Regular.woff') format('woff');
===================================================== */
 
/* ---------- Font ---------- */
 
@font-face{
 
font-family:“IRANSansXFaNum”;
 
src:
 
url(“/w/resources/fonts/IRANSansXFaNum-Regular.woff2”) format(“woff2”),
 
url(“/w/resources/fonts/IRANSansXFaNum-Regular.woff”) format(“woff”);
 
font-weight:400;
 
font-style:normal;
 
font-display:swap;
 
}
 
:root{
 
–wiki-font:“IRANSansXFaNum”,Tahoma,sans-serif;
 
}
 
/* ---------- Base ---------- */
 
body,
 
.mw-body,
 
.mw-body-content{
 
font-family:var(–wiki-font);
 
font-size:16px;
 
line-height:1.9;
 
direction:rtl;
 
}
 
/* headings */
 
.mw-body h1,
 
.mw-body h2,
 
.mw-body h3,
 
.mw-body h4,
 
.mw-body h5,
 
#firstHeading{
 
font-family:var(–wiki-font);
 
font-weight:600;
 
line-height:1.6;
 
}
 
/* editor */
 
textarea,
 
input,
 
button{
 
font-family:var(–wiki-font);
 
}
 
/* ---------- Links ---------- */
 
a{
 
text-decoration:none;
 
}
 
a:hover{
 
text-decoration:underline;
 
}
 
/* ---------- Layout ---------- */
 
.mw-body-content{
 
font-size:16px;
 
line-height:2;
 
}
 
/* superscript */
 
sup,
 
sub{
 
line-height:1em;
 
}
 
/* ---------- Hatnote ---------- */
 
.hatnote{
 
padding:6px 8px;
 
color:#54595d;
 
font-size:13px;
 
}
 
/* ---------- Infobox ---------- */
 
.infobox{
 
border:1px solid #a2a9b1;
 
background:#f8f9fa;
 
font-size:90%;
 
line-height:1.7;
 
float:left;
 
margin:0.5em 1em 0.5em 0;
 
width:22em;
 
}
 
.infobox th,
 
.infobox td{
 
padding:6px;
 
text-align:right;
 
}
 
.infobox caption{
 
font-weight:700;
 
font-size:120%;
 
padding:6px;
 
}
 
/* ---------- Wikitable ---------- */
 
.wikitable{
 
border:1px solid #a2a9b1;
 
border-collapse:collapse;
 
background:#fff;
 
}
 
.wikitable th{
 
background:#eaecf0;
 
font-weight:700;
 
}
 
.wikitable th,
 
.wikitable td{
 
border:1px solid #a2a9b1;
 
padding:6px;
 
}
 
/* ---------- Navbox ---------- */
 
.navbox{
 
border:1px solid #a2a9b1;
 
background:#f8f9fa;
 
width:100%;
 
font-size:88%;
 
text-align:center;
 
}
 
.navbox-title{
 
background:#b3ccff;
 
font-weight:700;
 
padding:6px;
 
}
 
.navbox-group{
 
background:#dbe7ff;
 
white-space:nowrap;
 
text-align:right;
 
padding:5px;
 
}
 
.navbox-list{
 
padding:5px;
 
}
 
/* ---------- Message Boxes ---------- */
 
.messagebox{
 
border:1px solid #a2a9b1;
 
background:#f8f9fa;
 
padding:10px;
 
margin:10px auto;
 
width:80%;
 
}
 
/* ---------- References ---------- */
 
.references-small{
 
font-size:90%;
 
}
 
ol.references li:target{
 
background:#ecf0fa;
 
}
 
/* ---------- Lists ---------- */
 
.plainlist ul{
 
list-style:none;
 
margin:0;
 
padding:0;
 
}
 
/* ---------- Columns ---------- */
 
.columns-2 .column{
 
float:right;
 
width:50%;
 
}
 
.columns-3 .column{
 
float:right;
 
width:33%;
 
}
 
/* ---------- Main Page Layout ---------- */
 
.mainPage{
 
display:flex;
 
flex-direction:row;
 
}
 
.mainRight{
 
flex:75%;
 
margin:6px 4px;
 
}
 
.mainLeft{
 
flex:25%;
 
margin:6px 4px;
 
padding:1.2rem;
 
box-shadow:0 0 4px #ccc;
 
border-radius:4px;
 
background:#fff;
 
}
}


/* ---------- Edit Page ---------- */
body {
 
font-family: IRANSansXFaNum, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
#wpSave{
 
font-weight:bold;
 
}
}


/* ---------- Hidden Categories ---------- */
#content.mw-body  h1, #content.mw-body  h2, #content.mw-body  #firstHeading,
 
#content.mw-body  .mw-editsection, .mw-body .mw-editsection-like,
#mw-hidden-catlinks{
#content.mw-body  #toc h2, #content.mw-body  .toc h2, .vector-sticky-header-context-bar-primary,
 
#template-documentation, #documentation-meta-data{
font-size:87%;
font-family: Shabnam, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
 
line-height: 1.6;
}
}


/* ---------- Sidebar ---------- */
textarea {
 
font-family: IRANSansXFaNum, 'Courier New', monospace;
#mw-panel{
 
font-family:var(–wiki-font);
 
}
}


/* ---------- Footer ---------- */
.mw-body-content {
 
font-kerning: auto;
#footer{
font-size: 16px;
 
line-height: 2.0;
font-family:var(–wiki-font);
 
font-size:13px;
 
}
}


/* ---------- Site Notice Banner ---------- */
/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
 
.ace_editor { font-family: 'Courier New', monospace!important; }
#site-ad-banner{
 
position:fixed;
 
bottom:10px;
 
left:50%;
 
transform:translateX(-50%);
 
background:#fff;
 
border:1px solid #ccc;
 
padding:6px;
 
z-index:9999;
 
box-shadow:0 0 8px rgba(0,0,0,.2);
 
max-width:90%;


/* force these to use inherited font configuration */
.ui-widget, .ui-widget *, button, input, select, optgroup {
font-family: inherit;
}
}
/* end */


#site-ad-banner img{
dfn {
 
font-style: inherit; /* Reset default styling for <dfn> */
max-width:100%;
 
max-height:120px;
 
height:auto;
 
}
}
 
sup, sub {
#site-ad-banner button{
line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
 
position:absolute;
 
top:5px;
 
right:5px;
 
border:none;
 
background:transparent;
 
font-size:18px;
 
cursor:pointer;
 
}
}
 
/* --------------------- End Font Style ----------------- */
/* ---------- Images ---------- */
 
.thumbinner{
 
border:1px solid #c8ccd1;
 
background:#f8f9fa;
 
}
 
/* ---------- Responsive ---------- */
 
@media screen and (max-width:768px){
 
body{
 
font-size:15px;
 
}
 
.infobox{
 
width:100%;
 
float:none;
 
}
 
.mainPage{
 
flex-direction:column;
 
}
 
}
 
:::
/* ---------- Back to top button ---------- */
 
#backToTop{
 
position:fixed;
 
bottom:30px;
 
right:25px;
 
width:40px;
 
height:40px;
 
line-height:40px;
 
text-align:center;
 
background:#3366cc;
 
color:#fff;
 
cursor:pointer;
 
border-radius:4px;
 
font-size:18px;
 
display:none;
 
z-index:999;
 
transition:background .2s;
 
}
 
#backToTop:hover{
 
background:#2a4b8d;
 
}
 
/* ---------- Heading anchor link ---------- */
 
.headerCopy{
 
font-size:12px;
 
margin-right:6px;
 
text-decoration:none;
 
opacity:.4;
 
}
 
.mw-headline:hover .headerCopy{
 
opacity:1;
 
}
 
/* ---------- Site notice close button ---------- */
 
#closeNotice{
 
position:absolute;
 
top:5px;
 
left:10px;
 
cursor:pointer;
 
font-size:16px;
 
opacity:.6;
 
}
 
#closeNotice:hover{
 
opacity:1;
 
}
 
/* ---------- Improve sortable table headers ---------- */
 
.sortable th{
 
cursor:pointer;
 
}
 
/* ---------- Smooth scroll ---------- */
 
html{
 
scroll-behavior:smooth;
 
}
 
:::

نسخهٔ ‏۱۹ ژوئن ۲۰۲۶، ساعت ۱۸:۴۴

/* --------------------- Begin Font Style ----------------- */
@font-face {
    font-family: 'IRANSansXFaNum';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/w/resources/fonts/IRANSansXFaNum-Regular.woff2') format('woff2'),
		 url('/w/resources/fonts/IRANSansXFaNum-Regular.woff') format('woff');
}

body {
	font-family: IRANSansXFaNum, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
}

#content.mw-body  h1, #content.mw-body  h2, #content.mw-body  #firstHeading,
#content.mw-body  .mw-editsection, .mw-body .mw-editsection-like,
#content.mw-body  #toc h2, #content.mw-body  .toc h2, .vector-sticky-header-context-bar-primary,
#template-documentation, #documentation-meta-data{
	font-family: Shabnam, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
	line-height: 1.6;
}

textarea {
	font-family: IRANSansXFaNum, 'Courier New', monospace;
}

.mw-body-content {
	font-kerning: auto;
	font-size: 16px;
	line-height: 2.0;
}

/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
.ace_editor { font-family: 'Courier New', monospace!important; }

/* force these to use inherited font configuration */
.ui-widget, .ui-widget *, button, input, select, optgroup {
	font-family: inherit;
}
/* end */

dfn {
	font-style: inherit;  /* Reset default styling for <dfn> */
}
sup, sub {
	line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
}
/* --------------------- End Font Style ----------------- */