«ميدياويكي:Common.css»: الفرق بين المراجعتين
من الموسوعة التونسية
| سطر 53: | سطر 53: | ||
.rootpage-الموسوعة_التونسية #toc{ display:none;} | .rootpage-الموسوعة_التونسية #toc{ display:none;} | ||
.rootpage-الموسوعة_التونسية .mw-body .firstHeading{ display:none;} | .rootpage-الموسوعة_التونسية .mw-body .firstHeading{ display:none;} | ||
| + | |||
| + | |||
| + | |||
| + | /* Navbar styling when nested in infobox and navbox */ | ||
| + | .infobox .navbar { | ||
| + | font-size: 100%; | ||
| + | } | ||
| + | .navbox .navbar { | ||
| + | display: block; | ||
| + | font-size: 100%; | ||
| + | } | ||
| + | .navbox-title .navbar { | ||
| + | /* @noflip */ | ||
| + | float: left; | ||
| + | /* @noflip */ | ||
| + | text-align: left; | ||
| + | /* @noflip */ | ||
| + | margin-right: 0.5em; | ||
| + | width: 6em; | ||
| + | } | ||
| + | |||
| + | /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript | ||
| + | in [[MediaWiki:Common.js]] are styled here so they can be customised. */ | ||
| + | .collapseButton { | ||
| + | /* @noflip */ | ||
| + | float: right; | ||
| + | font-weight: normal; | ||
| + | /* @noflip */ | ||
| + | margin-left: 0.5em; | ||
| + | /* @noflip */ | ||
| + | text-align: right; | ||
| + | width: auto; | ||
| + | } | ||
| + | /* In navboxes, the show/hide button balances the v·d·e links | ||
| + | from [[Template:Navbar]], so they need to be the same width. */ | ||
| + | .navbox .collapseButton { | ||
| + | width: 6em; | ||
| + | } | ||
| + | |||
| + | /* Styling for JQuery makeCollapsible, matching that of collapseButton */ | ||
| + | .mw-collapsible-toggle { | ||
| + | font-weight: normal; | ||
| + | /* @noflip */ | ||
| + | text-align: right; | ||
| + | } | ||
| + | .navbox .mw-collapsible-toggle { | ||
| + | width: 6em; | ||
| + | } | ||
| + | |||
| + | /* 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: right; | ||
| + | /* @noflip */ | ||
| + | clear: right; | ||
| + | font-size: 88%; | ||
| + | line-height: 1.5em; | ||
| + | } | ||
| + | .infobox caption { | ||
| + | font-size: 125%; | ||
| + | font-weight: bold; | ||
| + | padding: 0.2em; | ||
| + | } | ||
| + | .infobox td, | ||
| + | .infobox th { | ||
| + | vertical-align: top; | ||
| + | /* @noflip */ | ||
| + | text-align: left; | ||
| + | } | ||
| + | .infobox.bordered { | ||
| + | border-collapse: collapse; | ||
| + | } | ||
| + | .infobox.bordered td, | ||
| + | .infobox.bordered th { | ||
| + | border: 1px solid #a2a9b1; | ||
| + | } | ||
| + | .infobox.bordered .borderless td, | ||
| + | .infobox.bordered .borderless th { | ||
| + | border: 0; | ||
| + | } | ||
| + | |||
| + | .infobox.sisterproject { | ||
| + | width: 20em; | ||
| + | font-size: 90%; | ||
| + | } | ||
| + | |||
| + | .infobox.standard-talk { | ||
| + | border: 1px solid #c0c090; | ||
| + | background-color: #f8eaba; | ||
| + | } | ||
| + | .infobox.standard-talk.bordered td, | ||
| + | .infobox.standard-talk.bordered th { | ||
| + | border: 1px solid #c0c090; | ||
| + | } | ||
| + | |||
| + | /* styles for bordered infobox with merged rows */ | ||
| + | .infobox.bordered .mergedtoprow td, | ||
| + | .infobox.bordered .mergedtoprow th { | ||
| + | border: 0; | ||
| + | border-top: 1px solid #a2a9b1; | ||
| + | /* @noflip */ | ||
| + | border-right: 1px solid #a2a9b1; | ||
| + | } | ||
| + | |||
| + | .infobox.bordered .mergedrow td, | ||
| + | .infobox.bordered .mergedrow th { | ||
| + | border: 0; | ||
| + | /* @noflip */ | ||
| + | border-right: 1px solid #a2a9b1; | ||
| + | } | ||
| + | |||
| + | /* Styles for geography infoboxes, eg countries, | ||
| + | country subdivisions, cities, etc. */ | ||
| + | .infobox.geography { | ||
| + | border-collapse: collapse; | ||
| + | line-height: 1.2em; | ||
| + | font-size: 90%; | ||
| + | } | ||
| + | |||
| + | .infobox.geography td, | ||
| + | .infobox.geography th { | ||
| + | border-top: 1px solid #a2a9b1; | ||
| + | padding: 0.4em 0.6em 0.4em 0.6em; | ||
| + | } | ||
| + | .infobox.geography .mergedtoprow td, | ||
| + | .infobox.geography .mergedtoprow th { | ||
| + | border-top: 1px solid #a2a9b1; | ||
| + | padding: 0.4em 0.6em 0.2em 0.6em; | ||
| + | } | ||
| + | |||
| + | .infobox.geography .mergedrow td, | ||
| + | .infobox.geography .mergedrow th { | ||
| + | border: 0; | ||
| + | padding: 0 0.6em 0.2em 0.6em; | ||
| + | } | ||
| + | |||
| + | .infobox.geography .mergedbottomrow td, | ||
| + | .infobox.geography .mergedbottomrow th { | ||
| + | border-top: 0; | ||
| + | border-bottom: 1px solid #a2a9b1; | ||
| + | padding: 0 0.6em 0.4em 0.6em; | ||
| + | } | ||
| + | |||
| + | .infobox.geography .maptable td, | ||
| + | .infobox.geography .maptable th { | ||
| + | border: 0; | ||
| + | padding: 0; | ||
| + | } | ||
مراجعة 13:50، 26 ديسمبر 2016
/*
* Droid Arabic Kufi (Arabic) http://www.google.com/webfonts/earlyaccess
*/
@font-face {
font-family: 'Droid Arabic Kufi';
font-style: normal;
font-weight: 400;
src: url(//themes.googleusercontent.com/static/fonts/earlyaccess/droidarabickufi/v2/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
url(//themes.googleusercontent.com/static/fonts/earlyaccess/droidarabickufi/v2/DroidKufi-Regular.woff) format('woff'),
url(//themes.googleusercontent.com/static/fonts/earlyaccess/droidarabickufi/v2/DroidKufi-Regular.ttf) format('truetype');
}
/*
* Droid Arabic Naskh (Early Access) http://www.google.com/webfonts/earlyaccess
*/
@font-face {
font-family: 'Droid Arabic Naskh';
font-style: normal;
font-weight: 400;
src: url(//themes.googleusercontent.com/static/fonts/earlyaccess/droidarabicnaskh/v2/DroidNaskh-Regular.eot?#iefix) format('embedded-opentype'),
url(//themes.googleusercontent.com/static/fonts/earlyaccess/droidarabicnaskh/v2/DroidNaskh-Regular.woff) format('woff'),
url(//themes.googleusercontent.com/static/fonts/earlyaccess/droidarabicnaskh/v2/DroidNaskh-Regular.ttf) format('truetype');
}
html {direction:rtl; }
body{font-family: 'Droid Arabic Naskh' !important;}
div.cols {float: right;}
.xxl-0 {display:none; }
.xxl-1 {display:inline-block; width: 8.33333%; }
.xxl-2 {display:inline-block; width: 16.66667%; }
.xxl-3 {display:inline-block; width: 25%; }
.xxl-4 {display:inline-block; width: 33.33333%; }
.xxl-5 {display:inline-block; width: 41.66667%; }
.xxl-6 {display:inline-block; width: 50%; }
.xxl-7 {display:inline-block; width: 58.33333%; }
.xxl-8 {display:inline-block; width: 66.66667%; }
.xxl-9 {display:inline-block; width: 75%; }
.xxl-10 {display:inline-block; width: 83.33333%; }
.xxl-11 {display:inline-block; width: 91.66667%; }
.xxl-12 {display:inline-block; width: 100%; }
.bloc{ padding:0 20px 20px 20px; margin: 10px; background: #f7f7f7; border: 1px solid #AC8F00; border-top-width: 6px; }
h1, h2{ margin:10px 0 20px 0 !important; padding:10px 0 20px 0 !important; font-family: 'Droid Arabic Kufi' !important; }
.cols h1{text-align: center; font-size: 3.0em; color:#AC8F00 }
.cols h2{ font-size: 2.0em; color:#6A4700 }
#content{ background: url(http://dev.wd.tn/encyclopedie/images/5/5d/Bg-ency2.jpg) repeat center !important;}
#bodyContent{ background: rgba(255,255,255,0.7); padding: 20px; border: 1px solid #ddd; }
.rootpage-الموسوعة_التونسية #toc{ display:none;}
.rootpage-الموسوعة_التونسية .mw-body .firstHeading{ display:none;}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 6em;
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
width: 6em;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
}
.navbox .mw-collapsible-toggle {
width: 6em;
}
/* 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: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
}
.infobox td,
.infobox th {
vertical-align: top;
/* @noflip */
text-align: left;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
