«الموسوعة التونسية»: الفرق بين المراجعتين

من الموسوعة التونسية
اذهب إلى: تصفح، ابحث
سطر 1: سطر 1:
<div class="cols xxl-12">
+
/*
<div class="bloc red">
+
* Droid Arabic Kufi (Arabic) http://www.google.com/webfonts/earlyaccess
<h1>مرحبا بكم في [[الموسوعة التونسية]] المفتوحة</h1>
+
*/
<h4>
+
@font-face {
يسرّ المجمع التونسي "[[المجمع التونسي للعلوم والاداب والفنون - بيت الحكمة|بيت الحكمة]]" أن ينشر اليوم [[الموسوعة التونسية]] في جزئين ضخمين بعد عمل دؤوب دام ما يقرب من ربع القرن .ذلك أن المشروع تقرر في عهد الدكتور عزالدين باش شاوش في أواخر الثمانينات وتواصل في عهد الدكتور عبد الوهاب بوحديبة إلى حدود الثورة وأتم الآن في سنة 2013 المهمّ هنا ليس فقط طول المدّة ولكن بالأخصّ المثابرة على العمل في مشروع تجنّد له عدد كبير من الأخصائيّين والفنيّين والمصحّحين ووقعت مراقبته على الدوام وواكب المشروع قديما وحديثا.</h4>
+
  font-family: 'Droid Arabic Kufi';
<h4>
+
  font-style: normal;
والشكر كلّ الشكر لمن شارك في هذا العمل  ومراجعته وتدقيق أمور شتّى.  
+
  font-weight: 400;
</h4>
+
  src: url(//themes.googleusercontent.com/static/fonts/earlyaccess/droidarabickufi/v2/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
<div class="btn">[[إقرأ المزيد]]</div>
+
      url(//themes.googleusercontent.com/static/fonts/earlyaccess/droidarabickufi/v2/DroidKufi-Regular.woff) format('woff'),
</div>
+
      url(//themes.googleusercontent.com/static/fonts/earlyaccess/droidarabickufi/v2/DroidKufi-Regular.ttf) format('truetype');
</div>
+
}
<div class="cols xxl-12">
+
/*
<div class="bloc red search-home">
+
* 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');
 +
}
  
<h2>إبحث في الموسوعة</h2>
 
  
<inputbox>
+
html {direction:rtl; }
type=search
+
body{font-family: 'Droid Arabic Naskh' !important;}
width=100%
+
div.cols {float: right;}
</inputbox>
+
.xxl-0  {display:none; }
</div>
+
.xxl-1  {display:inline-block; width: 8.33333%; }
</div>
+
.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%; }
  
<div class="cols xxl-12">
+
.bloc{ padding:20px; margin: 0 0 30px 0; background: #f7f7f7; border: 1px solid #AC8F00; border-top: 6px solid #555; overflow:auto}
<div class="bloc red cat-home">
 
  
<h2>تصنيفات</h2>
 
  
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
+
h1, h2{ margin:10px 0 20px 0 !important; padding:10px 0 20px 0 !important; font-family: 'Droid Arabic Kufi' !important; }
*[[:تصنيف:الإعلام]]
 
*[[:تصنيف:أسرة]]
 
*[[:تصنيف:الأدب‎‏]]
 
*[[:تصنيف:الاجتماع]]
 
*[[:تصنيف:الادارة]]
 
*[[:تصنيف:التاريخ‎‏]]
 
*[[:تصنيف:الدين‎]]
 
*[[:تصنيف:السياسة‎]]
 
*[[:تصنيف:الطب]]
 
</div>
 
  
</div>
+
.cols h1{text-align: center; font-size: 3.5em;  color:#AC8F00 }
</div>
+
.cols h2{ font-size: 2.7em; color:#AC8F00; text-align:right; }
<div class="cols xxl-12 alphabetical-list">
+
.cols h4{text-align: center; font-size: 1.3em; color:#555 }
<div class="bloc red">
+
#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; }
  
<h2>كل الصفحات بالبادئة</h2>
+
.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;}
  
      <ul>
+
.rootpage-الموسوعة_التونسية #toc{ display:none;}
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=أ&namespace=0 أ]</li>
+
.rootpage-الموسوعة_التونسية .mw-body .firstHeading{ display:none;}
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ب&namespace=0 ب]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ت&namespace=0 ت]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ث&namespace=0 ث]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ج&namespace=0 ج]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ح&namespace=0 ح]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=خ&namespace=0 خ]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=د&namespace=0 د]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ذ&namespace=0 ذ]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ر&namespace=0 ر]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ز&namespace=0 ز]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=س&namespace=0 س]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ش&namespace=0 ش]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ص&namespace=0 ص]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ض&namespace=0 ض]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ط&namespace=0 ط]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ظ&namespace=0 ظ]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ع&namespace=0 ع]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=غ&namespace=0 غ]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ف&namespace=0 ف]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ق&namespace=0 ق]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ك&namespace=0 ك]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ل&namespace=0 ل]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=م&namespace=0 م]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ن&namespace=0 ن]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ه&namespace=0 ه]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=و&namespace=0 و]</li>
 
  <li>[http://dev.wd.tn/encyclopedie/index.php?title=Special%3APrefixIndex&prefix=ي&namespace=0 ي]</li>
 
        </ul>
 
    </div>
 
</div>
 
  
[[تصنيف:الموسوعة التونسية]]
+
 
 +
 
 +
/* 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 }

  1. content{ background: url(http://dev.wd.tn/encyclopedie/images/5/5d/Bg-ency2.jpg) repeat center !important;}
  2. 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}