عملکردها

مدیاویکی

Common.css

از دانشنامه علوم اسلامی

نکته: پس از ذخیره کردن ممکن است برای دیدن تغییرات نیاز باشد که حافظهٔ نهانی مرورگر خود را پاک کنید.

  • فایرفاکس / سافاری: کلید Shift را نگه دارید و روی دکمهٔ Reload کلیک کنید، یا کلید‌های Ctrl-F5 یا Ctrl-R را با هم فشار دهید (در رایانه‌های اپل مکینتاش کلید‌های ⌘-R)
  • گوگل کروم: کلیدهای Ctrl+Shift+R را با هم فشار دهید (در رایانه‌های اپل مکینتاش کلید‌های ⌘-Shift-R)
  • اینترنت اکسپلورر: کلید Ctrl را نگه‌دارید و روی دکمهٔ Refresh کلیک کنید، یا کلید‌های Ctrl-F5 را با هم فشار دهید
  • اپرا: بروید به Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* دستورات این بخش همهٔ کاربران را تحت تاثیر قرار می‌دهند. */

/* rtl */
.right-off-canvas-menu {
    left: -31.25rem;
}
.left-off-canvas-menu {
    right: -31.25rem;
}
.move-left > .inner-wrap {
    -webkit-transform: translate3d(15.625rem, 0, 0);
    -moz-transform: translate3d(15.625rem, 0, 0);
    -ms-transform: translate(-15.625rem, 0);
    -o-transform: translate3d(15.625rem, 0, 0);
    transform: translate3d(15.625rem, 0, 0)
}
.move-right > .inner-wrap {
    -webkit-transform: translate3d(-15.625rem, 0, 0);
    -moz-transform: translate3d(-15.625rem, 0, 0);
    -ms-transform: translate(15.625rem, 0);
    -o-transform: translate3d(-15.625rem, 0, 0);
    transform: translate3d(-15.625rem, 0, 0);
}
.f-dropdown.open::before {
    left: 25px !important;
    right: auto
}
.f-dropdown::after {
    left: 24px !important;
    right: auto
}
#drop1.f-open-dropdown {
    left: 16px;
    right: auto;
}

#mw-indicator-smw-entity-examiner {
    height: 20px
}

ul.side-nav label {
    padding: .1em .5em;
}
ul.off-canvas-list li label {
  background: #d8e7ee;
}
.right-off-canvas-menu, .left-off-canvas-menu {
  background: #f3fbff;
}
.mw-editfooter-toggler {
  background-position: right center;
  padding-right: 16px;
}
.show-for-small-only {
  background-image: url("http://wiki.isca.ac.ir/wiki/design/wiki.png");
  background-position-x: right;
  background-size: 3.5rem;
  background-repeat: no-repeat;
  padding-right: 3.5rem;
}
.oo-ui-tagMultiselectWidget-handle {
    margin-right: 0;
}


/* colors */
.tab-bar {
    background: #0d7bb0;
}
/* style the labels */
ul.side-nav label {
    background: #517398;
    color: #fff;
    padding: .25em .5em;
}
/* sidebar background color */
body {
    background-color: #dceaea;
}
/* controls the main body area styling */
#p-cactions {
    background-color: #fbfefe;
}

.ui-dialog .ui-dialog-title {
  float: right;
}
#bodyContent h2 {
  border-top: none;
  background: #0d7bb0;
  width: max-content;
  color: white;
  padding: 5px 10px;
  margin-top: .8em;
}
h2 .mw-editsection a {
	color: white;
}
#mw-toc-heading {
	border-top: none !important;
	background: unset !important;
	width: unset !important;
	color: black !important;
	margin: 0 !important;
	padding: 0 !important;
}
.poweredby {
	display: none;
}
input[type="submit"] {
  padding: 5px 10px;
}


/* bootstrap.css */
body, #page-actions, .side-nav, h1, h2, h3, h4, h5, h6, h7, h8, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
font-family: IRANSans, tahmoa !important;
}
.mw-parser-output {
	background: white;
	padding: 10px;
	overflow: hidden;
}
.wikiEditor-ui .ace_editor {
  font-size: 13px;
  font-family: monospace,monospace;
}
.rootpage-صفحهٔ_اصلی .content .title, .rootpage-صفحهٔ_اصلی #tagline {
	display: none;
}

/* body {
overflow-x:hidden;
background-color:#e5f9fc !important;
}
#panel a {
font-size:14px !important;
}
a {
text-decoration:none;
}
ul {
list-style: none !important;
}
#ca-view, #ca-viewsource, #ca-history { display:none !important; }
.page-صفحهٔ_اصلی #content #bodyContent #left-navigation #p-search {display:none !important; }*/
#searchInput {
border:2px solid #b2e1ff;
box-shadow: 0 1px 5px #b2e1ff;
border-radius:2px;
padding:4px;
width:25em;
}
#searchButton {
padding:4px 10px;
border:2px solid #b2e1ff;
border-radius:2px;
box-shadow: 0 1px 5px #b2e1ff;
cursor: pointer;
background:#fff;
}
#n-aboutsite {
border-bottom: 1px solid #b2e1ff;
padding-bottom:5px;
}
.menu {
float:right;
}
#menu ul li {
float:left;
}
#p-namespaces ul li {
float:right;
}
.portal {
margin:10px 0;
}
#wpRemember {
vertical-align:middle;
}
/* .usericon {
background:url('../images/user.png') no-repeat;
background-position:center;
background-size:2em;
padding:1.3em 2em;
float:left;
}
.portal:nth-last-child(1) .body ul li {
background-image:url(/wiki/resources/assets/icon.png);
background-size: 15px;
background-repeat:no-repeat;
background-position:right;
padding-right:23px;
}
#p-logo {
background-image: url('../images/wiki.png');
background-repeat:no-repeat;
background-position:center top;
padding:5.5em 0;
}
#mw-navigation {
min-height:37px;
min-width:83.334%;
float:left;
background: #b2e1ff;
background: -moz-linear-gradient(top, #b2e1ff 0%, #82c4ff 100%);
background: -webkit-linear-gradient(top, #b2e1ff 0%,#82c4ff 100%);
background: linear-gradient(to bottom, #b2e1ff 0%,#82c4ff 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b2e1ff', endColorstr='#82c4ff',GradientType=0 );
border-top:2px solid #b2e1ff;
border-left:2px solid #b2e1ff;
border-right:2px solid #b2e1ff;
} */
#bodyContent h2 {
border-top:1px solid #ddd;
}
#mw-navigation li:hover {
border-radius:3px;
background-color: #eee;
}
#p-personal ul li {
float:left;
padding:5px 15px;
}
#p-views ul {
display:inline-flex;
}
/* #bodyContent {
border-right:2px solid #b2e1ff;
border-bottom:2px solid #b2e1ff;
border-top:2px solid #b2e1ff;
background-color:#fff !important;
} */
.shenidam {
float:right;
width:100%;
text-align:justify;
margin:0 0 10px 0;
padding:10px 5px 0px;;
border-bottom:1px solid #999;
border-left:1px solid #999;
border-right:1px solid #999;
-webkit-border-bottom-right-radius: 5px;
-moz-border-radius-bottom-right: 5px;
-ms-border-radius-bottom-right: 5px;
border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottom-left: 5px;
-ms-border-radius-bottom-left: 5px;
border-bottom-left-radius: 5px;
}
.shenidam ul {
margin:0.3em 0em;
}
.shenidam dl dd {
margin:0;
line-height:1.7;
}
.mw-ui-input {
display:inline-block;
border:1px solid #b2e1ff;
padding:4px;
border-radius:3px;
}
.mw-ui-input:focus {
border-color:#66afe9;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
.alfabox {
padding:1em 0;
}
.alfabox p a {
border:1px solid #b2e1ff !important;
display:inline-block;
border-radius:2px;
margin:1px 0;
width:25px;
}
.alfabox p a:hover {
background-color:#DAF0F0;
text-decoration:none;
}
.mw-ui-button {
border-radius:5px;
border:1px solid #b2e1ff;
cursor:pointer;
background:#fff;
padding:4px 12px;
}
.mw-ui-button:hover {
background-color:#f9f9f9;
}
.icons {
background:url(/wiki/resources/assets/icon.png) no-repeat;
background-size:contain;
background-position:right;
background-color:#b2e1ff;
width:100%;
float:right;
padding:.2em 40px;
border:1px solid #999;
box-shadow:0px 1px 3px #c4c4c4;
border-radius:5px;
font-weight:bold;
} 
.wikihead {
text-align:center;
box-shadow:0px 2px 20px #CFDCE0;
margin-bottom:1em;
padding:5px 5px !important;
-webkit-border-radius:7px;
border-radius:7px;
}
.wikitopic {
text-align:center;
font-weight:bold;
font-size:16px;
background-color:#b2e1ff;
border-radius:5px;
padding:5px 0px;
border:1px solid #999;
box-shadow:0px 1px 3px #c4c4c4;
}
#footer {
float:right;
width:100%;
padding:20px 0;
text-align:center;
}
#p-views ul li {
float:left;
}
.menu ul li , #p-views ul li {
float:left;
padding:5px 15px;
}
#p-namespaces li {
padding:5px 10px;
border-radius:2px;
box-shadow:0 1px 5px #b2e1ff;
border-bottom:2px solid #b2e1ff;
border-left:2px solid #b2e1ff;
border-right:2px solid #b2e1ff;
}
@media (max-width: 1024px) {
#mw-navigation
,#p-tb {display:none;}
#bodyContent {border:0;}
#panel
,#p- {border:0;width:100%;}
.body {background-color:#ebebeb;
border-radius:5px;}
.body ul li {padding:10px 15px;
display:inline-flex;}
.icons {padding:.5em 6em;}
#n-aboutsite {
border-bottom:0;}
#panel h6 {text-align:center;}
} */
/*------------------bootstrap---------------------------*/

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
   box-sizing: border-box;
}
.col-xs-1, .col-sm-1, .col-md-1, .col-xs-2, .col-sm-2, .col-md-2, .col-xs-3, .col-sm-3, .col-md-3, .col-xs-4, .col-sm-4, .col-md-4, .col-xs-5, .col-sm-5, .col-md-5, .col-xs-6, .col-sm-6, .col-md-6, .col-xs-7, .col-sm-7, .col-md-7, .col-xs-8, .col-sm-8, .col-md-8, .col-xs-9, .col-sm-9, .col-md-9, .col-xs-10, .col-sm-10, .col-md-10, .col-xs-11, .col-sm-11, .col-md-11, .col-xs-12, .col-sm-12, .col-md-12 {
  position: relative;
  min-height: 1px;
  padding-right: 5px;
  padding-left: 5px;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  float: right;
}
.col-xs-12 {
  width: 100%;
}
.col-xs-11 {
  width: 91.66666667%;
}
.col-xs-10 {
  width: 83.33333333%;
}
.col-xs-9 {
  width: 75%;
}
.col-xs-8 {
  width: 66.66666667%;
}
.col-xs-7 {
  width: 58.33333333%;
}
.col-xs-6 {
  width: 50%;
}
.col-xs-5 {
  width: 41.66666667%;
}
.col-xs-4 {
  width: 33.33333333%;
}
.col-xs-3 {
  width: 25%;
}
.col-xs-2 {
  width: 16.66666667%;
}
.col-xs-1 {
  width: 8.33333333%;
}
@media (min-width: 768px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: right;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
  .col-sm-1 {
    width: 8.33333333%;
  }
@media (min-width: 1024px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: right;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-11 {
    width: 91.66666667%;
  }
  .col-md-10 {
    width: 83.33333333%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-8 {
    width: 66.66666667%;
  }
  .col-md-7 {
    width: 58.33333333%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-5 {
    width: 41.66666667%;
  }
  .col-md-4 {
    width: 33.33333333%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-2 {
    width: 16.66666667%;
  }
  .col-md-1 {
    width: 8.33333333%;
  }
/*------------------------------------*/
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: normal;
	src: url('../wiki/design/fonts/eot/IRANSansWeb.eot');
	src: url('../wiki/design/fonts/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../wiki/design/fonts/woff2/IRANSansWeb.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../wiki/design/fonts/woff/IRANSansWeb.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../wiki/design/fonts/ttf/IRANSansWeb.ttf') format('truetype');
}