مدیاویکی:Timeless.css: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
جزبدون خلاصۀ ویرایش |
||
خط ۲۱۴: | خط ۲۱۴: | ||
padding: 1.25em 0.5em; | padding: 1.25em 0.5em; | ||
} | } | ||
.infobox td | .infobox td { | ||
padding-right: 10px; | |||
padding-left: 10px; | |||
} | |||
.infobox th { | |||
padding-right: 10px; | padding-right: 10px; | ||
} | } | ||
/* Mahdi end*/ | /* Mahdi end*/ |
نسخهٔ ۱۹ اکتبر ۲۰۱۸، ساعت ۲۱:۰۱
/* CSS placed here will affect users of the Timeless skin */ /* Mahdi begin*/ * { font-family:IRANSans; } .mw-headline { font-family:IRANSans; font-size: 100%; font-weight: bold; } .mw-body { font-family:IRANSans; text-align: justify; font-size: 100%; } #mw-content h1 { font-family:IRANSans; } body { font-family:IRANSans; } #mw-content .toc h2, .mw-editsection { font-family:IRANSans; } #searchInput{ font-family:IRANSans; } #personal h2{ font-family:IRANSans; } #personal h2 span { height: 1.5em; } #p-logo-text a{ font-family:IRANSans; } #p-logo-text a.long { font-size: 1em; padding: 0.5em 0 0 0.75em; } .firstHeading{ font-family:IRANSans; } .h1 { font-family:IRANSans; } .h2 { font-family:IRANSans; } #mw-content h1, #mw-content h2, #mw-content h3, #mw-content h4, #mw-content h5, #mw-content h6, #mw-content dt { font-family: IRANSans; } .mw-body h1, .mw-body h2{ font-family:IRANSans; } .infobox td { padding-right: 10px; } table { display: table; border-collapse: collapse; border: #f000; } #mw-page-base{ height: 9.2em; } #mw-head-base { height: 5.5em; } div.HeaderLogo { padding-right: 170px; } #right-navigation { margin-top: 0px; } #left-navigation { margin-top: 0px; } .mw-editsection a { padding: 0.5em 1.75em; } #p-logo a { height: 190px; } td { border:0px; } /* SECTIONS */ .section { clear: both; padding: 0px; margin: 0px; } /* COLUMN SETUP */ .col { display: block; float:right; margin: 1% 0 1% 1.6%; } .col:first-child { margin-left: 0; } /* GROUPING */ .group:before, .group:after { content:""; display:table; } .group:after { clear:both;} .group { zoom:1; /* For IE 6/7 */ } /* GRID OF TWO */ .span_2_of_2 { width: 49%; } .span_1_of_2 { width: 49%; } /* GO FULL WIDTH AT LESS THAN 800 PIXELS */ @media only screen and (max-width: 800px) { .col { margin: 1% 0 1% 0%; } } @media only screen and (max-width: 800px) { .span_2_of_2, .span_1_of_2 { width: 100%; } } #p-logo-text { top:1em; } @media only screen and (max-width: 430px) { #p-logo-text { position: unset; top: unset; right: unset; text-align: center; width: 100%; padding-bottom:10px; } } .navbox th, .navbox-title, .navbox-subgroup .navbox-title { background: #eaeaea; } .navbox-even { background: #fcfcfc; } .navbox-odd { background: #f7f7f7; } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow, .navbox-subgroup, .navbox-group, .navbox-subgroup, .navbox-abovebelow, navbox-subgroup .navbox-title{ background-color: #f3f3f3; } .navbox-group, .navbox-title, .navbox-abovebelow { white-space: nowrap; } @media only screen and (max-width: 430px) { .nowrap, .nowraplinks a, .nowraplinks .selflink, sup.reference a { white-space: normal; } } @media only screen and (max-width: 600px) { .navbox-group, .navbox-title, .navbox-abovebelow { white-space: normal; } } .infobox { background: #fcfcfc; border: solid #eee; border-width: 1px 1px .2em; box-shadow: 0 1px 2px 1px rgba(0,0,0,.02); padding: 1.25em 0.5em; } .infobox td { padding-right: 10px; padding-left: 10px; } .infobox th { padding-right: 10px; } /* Mahdi end*/