مدیاویکی:Common.css: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
(۱۵۱ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
خط ۱: | خط ۱: | ||
@font-face { | @font-face { | ||
font-family: | font-family: shabnam; | ||
src: url('/fonts/ | src: url('/fonts/Shabnam-FD.woff2') format('woff2'); | ||
font-weight: 400; | font-weight: 400; | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: | font-family: shabnam; | ||
src: url('/fonts/ | src: url('/fonts/Shabnam-Medium-FD.woff2') format('woff2'); | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: | font-family: shabnam; | ||
src: url('/fonts/ | src: url('/fonts/Shabnam-Bold-FD.woff2') format('woff2'); | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: | font-family: shabnam; | ||
src: url('/fonts/ | src: url('/fonts/Shabnam-Bold-FD.woff2') format('woff2'); | ||
font-weight: | 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- | .mw-editsection a { | ||
white-space: nowrap; | |||
font-family: 'shabnam'; | |||
} | } | ||
. | .vector-toc-collapse-button, .vector-toc-uncollapse-button { | ||
font-family: | font-family:shabnam; | ||
} | } | ||
body.page-صفحهٔ_اصلی .mw-body .firstHeading { | |||
display:none; | |||
} | } | ||
body { | |||
body.page-صفحهٔ_اصلی .mw-article-toolbar-container { | |||
display:none; | |||
} | } | ||
.vector-body { | .vector-body { | ||
text-align:justify; | |||
} | } | ||
.mw- | .mw-references-columns { | ||
padding:20px 0 20px 20px; | |||
background-color:#dedeead9; | |||
} | } | ||
.mw-content-container { | .mw-content-container { | ||
max-width: | max-width:unset; | ||
min-width:100%; | |||
} | } | ||
. | body.page-صفحهٔ_اصلی .mw-content-container { | ||
max-width:unset; | |||
min-width:80%; | |||
} | } | ||
. | body.page-صفحهٔ_اصلی #catlinks { | ||
display: none; | |||
} | } | ||
.homelinks { | |||
border-bottom: | padding: 12px; | ||
font-size: 14px; | |||
border: 2px solid #c2c0ff; | |||
margin-bottom: 15px; | |||
border-radius: 10px; | |||
font-weight: bold; | |||
} | } | ||
. | /* Infobox template style */ | ||
font-size: | .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: | 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; | ||
} | |||
} | } |
نسخهٔ کنونی تا ۲۱ ژانویهٔ ۲۰۲۴، ساعت ۱۲:۴۸
@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; } }