مدیاویکی:Timeless.css: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
خط ۱۳۰: | خط ۱۳۰: | ||
} | } | ||
/* GO FULL WIDTH AT LESS THAN | /* GO FULL WIDTH AT LESS THAN 800 PIXELS */ | ||
@media only screen and (max-width: | @media only screen and (max-width: 800px) { | ||
.col { | .col { | ||
margin: 1% 0 1% 0%; | margin: 1% 0 1% 0%; | ||
خط ۱۳۸: | خط ۱۳۸: | ||
} | } | ||
@media only screen and (max-width: | @media only screen and (max-width: 800px) { | ||
.span_2_of_2, .span_1_of_2 { width: 100%; } | .span_2_of_2, .span_1_of_2 { width: 100%; } | ||
} | } | ||
/* Mahdi end*/ | /* Mahdi end*/ |
نسخهٔ ۹ اکتبر ۲۰۱۸، ساعت ۱۲:۳۶
/* CSS placed here will affect users of the Timeless skin */ /* Mahdi begin*/ .mw-headline { font-family:DroidNaskh; font-size: 100%; font-weight: bold; } .mw-body { font-family:DroidNaskh; text-align: justify; font-size: 100%; } #mw-content h1 { font-family:DroidNaskh; } body { font-family:DroidNaskh; } #searchInput{ font-family:DroidNaskh; } #personal h2{ font-family:DroidNaskh; } #personal h2 span { height: 1.5em; } #p-logo-text a{ font-family:DroidNaskh; } #p-logo-text a.long { font-size: 1em; padding: 0.5em 0 0 0.75em; } .firstHeading{ font-family:DroidNaskh; } .h1 { font-family:DroidNaskh; } .h2 { font-family:DroidNaskh; } .mw-body h1, .mw-body h2{ font-family:DroidNaskh; } .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; } #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%; } } /* Mahdi end*/