مدیاویکی:Common.css: تفاوت بین نسخه‌ها

از ولایت حضرت علی و حضرت زهرا
پرش به:ناوبری، جستجو
(بدون تفاوت)

نسخهٔ ‏۱۲ اکتبر ۲۰۲۳، ساعت ۰۹:۳۵

@font-face {
    font-family: IRANSans;
    src: url("/fonts/IRANSans-web.woff") format("woff");
    /* All Major Browsers */
    src: url("/fonts/IRANSans-web.ttf") format("truetype");
    /* All Major Browsers */
}

body {
    direction: rtl;
    font-size: 14px;
    font-family: iransans;
}
.rtl .dropdown-menu {
    transform: translate3d(10px, 30px, 0px) !important;
}
u {
    text-decoration: none !important;
    color: #003e7c;
}

.subjectToc {
    display: block;
    margin: 8px 3px;
}
.rehlat {
    margin: 0 auto;
    text-align: center;
}
.NewItem {
    color: blue;
}
p {
    text-align: justify;
}
.nav-link {
    padding-right: 0 !important;
    padding-left: 0.6rem !important;
    font-size: 1.1rem;
}
#minutesToggler:after, #subjectsToggler:after {
content:"˅";
padding: 0  3px;
font-weight: bold;
}

#minutesToggler:before, #subjectsToggler:before {
content:"˄";
padding: 0  3px;
font-weight: bold;
}

#minutesToggler, #subjectsToggler {
    display: flex;
    justify-content: center;
   font-weight: bold;
    cursor: pointer;
}
.mw-body .mw-indicator {
    display: none;
}
.mw-search-result-data {
    display: none;
}
.right_align {
    float: right;
    margin: 10px;
    width: 160px;
}

.Mottaghi_pics {
    margin: 5px;
}

.Quotes_pics {
    margin: 10px;
}

ul.gallery.mw-gallery-slideshow .mw-gallery-slideshow-buttons .oo-ui-buttonElement {
    margin: initial;
}

.oo-ui-panelLayout-scrollable {
    overflow: initial;
}

ul.gallery.mw-gallery-slideshow {
    margin: 0 0;
}

/* Hide letter headlines on category pages */

.navbar .dropdown-menu > li > a {
    float: right;
}

u.Rozeh {
    color: #b52b27;
}

.wlecgallery {
    margin: 20px;
    float: right;
    width: 150px;
}

.wlecgallery img {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.wgallery {
    margin: 20px;
    float: right;
    width: 150px;
}

.wgallery img {
    width: 100%;
    height: auto;
}

.wdesc {
    padding-right: 10px;
}

.wlink {
    padding: 10px;
}

.gallerytext {
    text-align: center;
    margin-top: -30px;
}

li.gallerybox div.thumb {
    border: none;
    background-color: unset;
}

.book-gallery .image {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: black;
}

.social {
    margin: 0 auto;
    text-align: center;
}

.about_mottaghi {
    color: darkblue;
}

#addthistoolbar {
    padding: 0;
}

a.addthis_button_google_plusone.at300b {
    width: 27px !important;
    margin-top: 0px !important;
}

.addthis_button_email,
.addthis_button_linkedin,
.addthis_button_tumblr,
.addthis_button_stumbleupon,
.addthis_button_reddit {
    display: none;
}

.toctext span {
    font-size: 0.65rem;
}
.tocnumber,
.toctext {
    display: inherit !important;
}
.soundtable td:first-child {
    text-align:left;
}

.contentHeader {
    margin: 0;
}

.infobox th {
    padding: 5px;
}

.infobox td {
    padding: 0.5em;
}

th {
    text-align: inherit;
}

.toc {
    display: table;
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    padding: 7px;
}

.btn-info {
    color: white !important;
}

.infobox {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    color: black;
    margin: 0.5em 2em 0.5em 0;
    padding: 0.2em;
    float: left;
    clear: left;
    text-align: right;
    font-size: 0.88rem;
    line-height: 1.5rem;
}

body.page-صفحهٔ_اصلی h1.firstHeading {
    display: none;
}

.mw-content-rtl {
    direction: rtl !important;
}

.catlinks {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    padding: 5px;
    margin-top: 1em;
    clear: both;
}

.catlinks ul {
    padding-right: 0 !important;
}

.catlinks li:first-child {
    border-right: 0;
}

.catlinks li {
    border-right: 1px solid #a2a9b1;
    border-left: 0;
}

#catlinks {
    text-align: inherit;
}

.toc .toctitle {
    direction: inherit;
}

.mw-body {
    padding: 0;
}

.mw-body .toc ul {
    text-align: inherit;
}

.mw-body ol,
.mw-body ul {
    padding-right: 30px;
}

.sub-titr {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 15px;
    color: rgb(103, 103, 103);
    font-weight: bold;
}

.container > *:first-child .navbar {
    margin-top: 0px;
}

.menu-header {
    position: relative;
    top: 16px;
    z-index: 1000;
    font-family: iransans;
    right: 20px;
    float: right;
}

#p-search {
    float: left;
}

.header {
    background-image: url(../images/header4.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 0;
    height: 164px;
}

.mw-search-results {
    max-width: none;
}

#footer-places {
    text-align: center;
    font-family: ynums, iransans;
    border: 1px solid #e7e7e7;
    background-color: #f1f1f1;
    margin-top: 20px;
    padding: 6px;
}

.salam {
    font-size: 0.65rem;
}

.mwe-popups {
    font-size: 0.9rem;
    font-family: iransans;
}

.textinmenu {
    font-family: ynums, iransans;
    margin-right: 15px;
}

.logoinmenu {
    margin: auto;
    display: block;
    margin-bottom: 15px;
    margin-top: 15px;
    width: 258px;
}
.menu li {
    list-style-type: none;
    font-size: 1.1rem;
}
.menu {
    font-family: ynums, iransans;
    padding: 15px 10px 5px 15px;
    background-color: #f9f9f9;
    border: 1px solid #cecece;
    margin-top: 25px;
    color: rgb(33, 170, 178);
    line-height: 2em;
}

.box {
    display: table;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 1em;
}

.navbar-nav > li {
    float: right;
}

.navbar-nav,
.navbar-form,
.navbar-brand {
    flex-wrap: wrap !important;
    float: right;
    padding-right: 0.3em !important;
    border: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    border-bottom: 1px solid #a2a9b1;
    padding-bottom: 0.3em;
    line-height: 1.5em;
    color: rgb(103, 103, 103);
}
h2 {
    font-size: 1.1rem;
    font-weight: bold;
}
pre,
.mw-code {
    white-space: pre-wrap;
}

.smaller {
    font-size: 0.85rem;
}

.bigger {
font-size: 1.2rem
}
.flex {
display: flex;
}

.contentHeader,
#bodyContent,
.mw-editfont-monospace,
pre,
.mw-code,
.navbar,
#catlinks,
.suggestions {
    font-family: ynums, iransans;
    line-height: 2em;
    font-size: 1rem !important;
}

/* دستورات این بخش همهٔ کاربران را تحت تاثیر قرار می‌دهند. */
.Ayah {
    color: mediumblue;
}
.Revayat {
    color: rgb(0, 0, 110);
}

.TransDescription {
    color: #808080;
    font-size: 0.85rem;
}

.TransDescription::before {
    content: " «";
}

.TransDescription::after {
    content: "» ";
}

.Ayeh {
    color: Green;
}

.AyehRef,
.BookRef {
    color: #808080;
}

audio {
    width: 100%;
    background-color: #f1f3f4;
}

.AboutMottaghi {
    color: darkblue;
}
/*
.mw-references-wrap {
	overflow: hidden;
}
*/
p {
    margin-bottom: 0.5rem;
}
.beyt {
color: #857d6a;
/* 
*/ 
}

.row {
    display: -ms-flexbox;
    /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap;
    /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */

.column {
    -ms-flex: 25%;
    /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin: 8px;
    vertical-align: middle;
    width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */

@media screen and (max-width: 800px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
    .book_cover {
        max-width: 120px !important;
    }
    .lec_cover {
        max-width: 120px !important;
    }
}

.book_cover {
    max-height: 180px;
}

.lec_cover {
    max-width: 150px;
}

.lec_cover_select {
    max-width: 205px;
    float: left;
    margin-right: 8px;
}

.list_gallery {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
}

.list_gallery > li {
    -webkit-box-flex: 1;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    margin-bottom: 20px;
    padding-left: 10px;
}

.CategoryTreeEmptyBullet {
    color: white;
}

.MainPageBG {
    margin-top: 4px;
    background-color: #f9f9f9;
    border: 1px solid #cecece;
    overflow: auto;
}

.MainPageBGH {
    margin: 0.5em !important;
    background: rgb(33, 170, 178);
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: bold;
    border: 1px solid #a3b0bf;
    color: white;
    padding: 0.2em 0.4em;
}

.site_logo {
    width: 300px;
    text-align: center;
    display: block;
    margin: 0 auto;
}
.translate {
    font-size: 0.8rem;
    color: mediumblue;
}
.boldText {
    font-weight: bold;
}
.info {
    top: -10px;
    position: relative;
    width: 14px;
}
.page-صفحهٔ_اصلی .mw-references-wrap,
.page-صفحهٔ_اصلی .catlinks {
    display: none;
}

.mosaic {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 6px;
    overflow: auto;
}

.m-photo:last-child {
    position: relative;
}

.m-photo:last-child::after {
    display: block;
    width: 11px;
    height: 1px;
    position: absolute;
    top: 0;
    left: 100%;
    visibility: hidden;
    content: "";
}
.mp3 {
    content: url("https://api.iconify.design/carbon/mp3.svg");
}

.wikitable {
    text-align: right;
}
.navbar-tool {
    position: relative !important;
}
#tooltip {
  text-align: right;
  font-size: .8rem;
  background: #fff;
  color: #111;
  position: absolute;
  box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  z-index: 100;
  padding: 5px;
}

#tooltip:after /* triangle decoration */
{
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  margin-left: -10px;
}

#tooltip.top:after {
  border-top-color: transparent;
  border-bottom: 10px solid #fff;
  top: -20px;
  bottom: auto;
}

#tooltip.left:after {
  left: 10px;
  margin: 0;
}

#tooltip.right:after {
  right: 10px;
  left: auto;
  margin: 0;
}

.headWrappersubjects, .headWrapperminutes {
    max-height: 300px;
    overflow-y: auto;
    padding: 0px 7px;
}

.minutes {
position:relative; 
opacity:50%; 
user-select: none;
}

.minutes img {
	height:25px;
}

.subjects img {
	height:20px;
	opacity:50%;
}

.subjects {
user-select: none;
}

.subjectsWrapper a {
margin-left: 3px;
}

.subjectsWrapper .topic {
font-weight: bold;
}

.subjectsWrapper .topicCount {
font-size: 80%;
}
.tocMinuts {
    font-weight: bold;
    margin-right: -20px;
    font-size: 1rem;
}

a {
    color: #007cff;
}
حاج حسین خوش لهجه نابغه ولایت؛ حاج حسین خوش لهجه