«الموسوعة التونسية»: الفرق بين المراجعتين
سطر 1: | سطر 1: | ||
− | + | /* | |
− | + | * 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;} | |
− | width | + | 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:20px; margin: 0 0 30px 0; background: #f7f7f7; border: 1px solid #AC8F00; border-top: 6px solid #555; overflow:auto} | |
− | |||
− | |||
− | + | 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.5em; color:#AC8F00 } | |
− | + | .cols h2{ font-size: 2.7em; color:#AC8F00; text-align:right; } | |
− | + | .cols h4{text-align: center; font-size: 1.3em; color:#555 } | |
− | + | #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; } | ||
− | + | .btn{ width:100%; text-align:center; margin:10px auto} | |
+ | .btn a{ background: #AC8F00; display: inline-block; margin: 0 auto; text-align: center; padding: 10px 25px; color: #fff; -webkit-border-radius: 3px; border-radius: 3px;} | ||
− | + | .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; | ||
+ | } | ||
+ | |||
+ | .search-home{ background:#f7f7f7;} | ||
+ | .search-home .searchboxInput{ padding: 0.7em 0.6em 0.7em 0.3em; border-radius:5px} | ||
+ | .search-home h2:before {content:"\f002"; font-family: FontAwesome; margin:0 0 0 10px; color: #555;} | ||
+ | .cat-home h2:before {content:"\f07c"; font-family: FontAwesome; margin:0 0 0 10px; color: #555;} | ||
+ | .alphabetical-list h2:before {content:"\f0ca"; font-family: FontAwesome; margin:0 0 0 10px; color: #555;} | ||
+ | |||
+ | .alphabetical-list{ text-align:center;} | ||
+ | .alphabetical-list li{ list-style: none; margin:0 1px; display: inline-block;} | ||
+ | .alphabetical-list li a{font-weight: bold; font-size:18px; display:block;background-image: none !important; background:#555555; padding: 5px 15px; color: #fff !important;} | ||
+ | .alphabetical-list li a:hover{ background:#AC8F00;} | ||
+ | |||
+ | |||
+ | .rootpage-الموسوعة_التونسية #bodyContent{ background:none !important; border:0px !important; padding:0 !important} |
مراجعة 10:35، 1 فبفري 2017
/* * 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:20px; margin: 0 0 30px 0; background: #f7f7f7; border: 1px solid #AC8F00; border-top: 6px solid #555; overflow:auto}
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.5em; color:#AC8F00 } .cols h2{ font-size: 2.7em; color:#AC8F00; text-align:right; } .cols h4{text-align: center; font-size: 1.3em; color:#555 }
- 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; }
.btn{ width:100%; text-align:center; margin:10px auto} .btn a{ background: #AC8F00; display: inline-block; margin: 0 auto; text-align: center; padding: 10px 25px; color: #fff; -webkit-border-radius: 3px; border-radius: 3px;}
.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;
}
.search-home{ background:#f7f7f7;} .search-home .searchboxInput{ padding: 0.7em 0.6em 0.7em 0.3em; border-radius:5px} .search-home h2:before {content:"\f002"; font-family: FontAwesome; margin:0 0 0 10px; color: #555;} .cat-home h2:before {content:"\f07c"; font-family: FontAwesome; margin:0 0 0 10px; color: #555;} .alphabetical-list h2:before {content:"\f0ca"; font-family: FontAwesome; margin:0 0 0 10px; color: #555;}
.alphabetical-list{ text-align:center;} .alphabetical-list li{ list-style: none; margin:0 1px; display: inline-block;} .alphabetical-list li a{font-weight: bold; font-size:18px; display:block;background-image: none !important; background:#555555; padding: 5px 15px; color: #fff !important;} .alphabetical-list li a:hover{ background:#AC8F00;}
.rootpage-الموسوعة_التونسية #bodyContent{ background:none !important; border:0px !important; padding:0 !important}