«ميدياويكي:Common.css»: الفرق بين المراجعتين
من الموسوعة التونسية
| سطر 214: | سطر 214: | ||
.search-home{ background:#eee;} | .search-home{ background:#eee;} | ||
.search-home .searchboxInput{ padding: 0.7em 0.6em 0.7em 0.3em; border-radius:5px} | .search-home .searchboxInput{ padding: 0.7em 0.6em 0.7em 0.3em; border-radius:5px} | ||
| + | |||
| + | .nav > li.disabled > a { | ||
| + | background-color: #4b82a6; | ||
| + | box-shadow: none !important; | ||
| + | text-shadow: none !important; | ||
| + | color: #999999 !important; | ||
| + | } | ||
| + | .nav > li.disabled > a:active { | ||
| + | box-shadow: none !important; | ||
| + | } | ||
| + | .nav > li.disabled > a:hover, | ||
| + | .nav > li.disabled > a:focus { | ||
| + | text-shadow: none !important; | ||
| + | } | ||
| + | .nav .open > a { | ||
| + | background-color: #297cb4; | ||
| + | } | ||
| + | .nav .open > a, | ||
| + | .nav .open > a:hover, | ||
| + | .nav .open > a:focus { | ||
| + | color: #fff; | ||
| + | border-color: transparent; | ||
| + | background-color: #297cb4; | ||
| + | } | ||
| + | .nav .open > a:active { | ||
| + | box-shadow: none !important; | ||
| + | } | ||
| + | .nav-tabs { | ||
| + | /*border-bottom: 1px solid #236b9b;*/ | ||
| + | } | ||
| + | .nav-tabs > li > a { | ||
| + | -webkit-transition: background-color 170ms ease-out, box-shadow 170ms ease-out; | ||
| + | transition: background-color 170ms ease-out, box-shadow 170ms ease-out; | ||
| + | box-shadow: inset 0 1px 0 0 #2b82bc; | ||
| + | margin-bottom: 1px; | ||
| + | margin-right: 0; | ||
| + | border: 0; | ||
| + | background-color: #236b9b; | ||
| + | color: #fff; | ||
| + | text-shadow: 0 1px 0 #1a4e71; | ||
| + | } | ||
| + | .nav-tabs > li > a:hover, | ||
| + | .nav-tabs > li > a:focus { | ||
| + | background-color: #297cb4; | ||
| + | color: #fff; | ||
| + | text-shadow: 1px 1px 0 #1a4e71; | ||
| + | } | ||
| + | .nav-tabs > li > a:active { | ||
| + | color: #fff; | ||
| + | text-shadow: 1px 1px 0 #1a4e71; | ||
| + | box-shadow: inset 0 0 6px 6px #216593; | ||
| + | background-color: #236b9b; | ||
| + | } | ||
| + | .nav-tabs > li.active > a { | ||
| + | text-shadow: 1px 1px 0 #1a4e71; | ||
| + | box-shadow: none !important; | ||
| + | } | ||
| + | .nav-tabs > li.active > a, | ||
| + | .nav-tabs > li.active > a:hover, | ||
| + | .nav-tabs > li.active > a:focus { | ||
| + | border: 0; | ||
| + | box-shadow: none; | ||
| + | background-color: #297cb4 !important; | ||
| + | cursor: pointer; | ||
| + | } | ||
| + | .nav-tabs > li.disabled > a { | ||
| + | background-color: #689abc !important; | ||
| + | color: #eeeeee !important; | ||
| + | } | ||
| + | .nav-tabs .dropdown-menu { | ||
| + | margin-top: 0; | ||
| + | } | ||
| + | .nav-tabs.nav-justified { | ||
| + | border-bottom: 1px solid #236b9b; | ||
| + | } | ||
| + | .nav-tabs.nav-justified > li { | ||
| + | float: none; | ||
| + | } | ||
| + | .nav-tabs.nav-justified > li > a { | ||
| + | border: 0; | ||
| + | } | ||
| + | .nav-tabs.nav-justified .dropdown-menu { | ||
| + | margin-top: 1px; | ||
| + | } | ||
| + | .nav-tabs.nav-justified > .active > a, | ||
| + | .nav-tabs.nav-justified > .active > a:hover, | ||
| + | .nav-tabs.nav-justified > .active > a:focus { | ||
| + | border: 0; | ||
| + | } | ||
| + | @media (min-width: 768px) { | ||
| + | .nav-tabs.nav-justified > li > a { | ||
| + | border-bottom: 0; | ||
| + | border-radius: 0; | ||
| + | } | ||
| + | .nav-tabs.nav-justified > .active > a, | ||
| + | .nav-tabs.nav-justified > .active > a:hover, | ||
| + | .nav-tabs.nav-justified > .active > a:focus { | ||
| + | border-bottom-color: none; | ||
| + | } | ||
| + | } | ||
| + | .nav-pills > li > a { | ||
| + | border-bottom: 1px solid #236b9b; | ||
| + | color: #697060; | ||
| + | -webkit-transition: background-color 170ms ease-out, box-shadow 170ms ease-out; | ||
| + | transition: background-color 170ms ease-out, box-shadow 170ms ease-out; | ||
| + | } | ||
| + | .nav-pills > li > a:hover, | ||
| + | .nav-pills > li > a:focus, | ||
| + | .nav-pills > li > a:active { | ||
| + | text-shadow: none; | ||
| + | color: #236b9b; | ||
| + | background-color: transparent; | ||
| + | box-shadow: inset 0 -4px 0 0 #2b82bc; | ||
| + | } | ||
| + | .nav-pills > li.active > a { | ||
| + | text-shadow: none; | ||
| + | box-shadow: inset 0 -4px 0 0 #2b82bc; | ||
| + | } | ||
| + | .nav-pills > li.active > a, | ||
| + | .nav-pills > li.active > a:hover, | ||
| + | .nav-pills > li.active > a:focus { | ||
| + | background-color: transparent; | ||
| + | } | ||
| + | .nav-pills > li.dropdown.open a:focus { | ||
| + | color: #fff; | ||
| + | } | ||
| + | .nav-pills > li.disabled > a { | ||
| + | background-color: transparent !important; | ||
| + | color: #999999 !important; | ||
| + | } | ||
| + | .nav-pills .dropdown-menu { | ||
| + | margin-top: 0; | ||
| + | } | ||
| + | .nav-pills.nav-justified li + li { | ||
| + | margin-left: 0; | ||
| + | } | ||
مراجعة 09:11، 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:0 20px 20px 20px; margin: 10px; background: #eee; border: 1px solid #AC8F00; border-top-width: 6px; 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:#555 }
.cols h2{ font-size: 2.5em; color:#555 }
.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:#eee;}
.search-home .searchboxInput{ padding: 0.7em 0.6em 0.7em 0.3em; border-radius:5px}
.nav > li.disabled > a {
background-color: #4b82a6;
box-shadow: none !important;
text-shadow: none !important;
color: #999999 !important;
}
.nav > li.disabled > a:active {
box-shadow: none !important;
}
.nav > li.disabled > a:hover,
.nav > li.disabled > a:focus {
text-shadow: none !important;
}
.nav .open > a {
background-color: #297cb4;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
color: #fff;
border-color: transparent;
background-color: #297cb4;
}
.nav .open > a:active {
box-shadow: none !important;
}
.nav-tabs {
/*border-bottom: 1px solid #236b9b;*/
}
.nav-tabs > li > a {
-webkit-transition: background-color 170ms ease-out, box-shadow 170ms ease-out;
transition: background-color 170ms ease-out, box-shadow 170ms ease-out;
box-shadow: inset 0 1px 0 0 #2b82bc;
margin-bottom: 1px;
margin-right: 0;
border: 0;
background-color: #236b9b;
color: #fff;
text-shadow: 0 1px 0 #1a4e71;
}
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
background-color: #297cb4;
color: #fff;
text-shadow: 1px 1px 0 #1a4e71;
}
.nav-tabs > li > a:active {
color: #fff;
text-shadow: 1px 1px 0 #1a4e71;
box-shadow: inset 0 0 6px 6px #216593;
background-color: #236b9b;
}
.nav-tabs > li.active > a {
text-shadow: 1px 1px 0 #1a4e71;
box-shadow: none !important;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
border: 0;
box-shadow: none;
background-color: #297cb4 !important;
cursor: pointer;
}
.nav-tabs > li.disabled > a {
background-color: #689abc !important;
color: #eeeeee !important;
}
.nav-tabs .dropdown-menu {
margin-top: 0;
}
.nav-tabs.nav-justified {
border-bottom: 1px solid #236b9b;
}
.nav-tabs.nav-justified > li {
float: none;
}
.nav-tabs.nav-justified > li > a {
border: 0;
}
.nav-tabs.nav-justified .dropdown-menu {
margin-top: 1px;
}
.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:focus {
border: 0;
}
@media (min-width: 768px) {
.nav-tabs.nav-justified > li > a {
border-bottom: 0;
border-radius: 0;
}
.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:focus {
border-bottom-color: none;
}
}
.nav-pills > li > a {
border-bottom: 1px solid #236b9b;
color: #697060;
-webkit-transition: background-color 170ms ease-out, box-shadow 170ms ease-out;
transition: background-color 170ms ease-out, box-shadow 170ms ease-out;
}
.nav-pills > li > a:hover,
.nav-pills > li > a:focus,
.nav-pills > li > a:active {
text-shadow: none;
color: #236b9b;
background-color: transparent;
box-shadow: inset 0 -4px 0 0 #2b82bc;
}
.nav-pills > li.active > a {
text-shadow: none;
box-shadow: inset 0 -4px 0 0 #2b82bc;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
background-color: transparent;
}
.nav-pills > li.dropdown.open a:focus {
color: #fff;
}
.nav-pills > li.disabled > a {
background-color: transparent !important;
color: #999999 !important;
}
.nav-pills .dropdown-menu {
margin-top: 0;
}
.nav-pills.nav-justified li + li {
margin-left: 0;
}
