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

از ویکی پاسخ
بدون خلاصۀ ویرایش
برچسب‌ها: ویرایش همراه ویرایش از وبگاه همراه
بدون خلاصۀ ویرایش
برچسب‌ها: ویرایش همراه ویرایش از وبگاه همراه
خط ۵۳: خط ۵۳:
     width: 100%;
     width: 100%;
     padding: 0;
     padding: 0;
    z-index: 100;
}
}

نسخهٔ ‏۱۰ فوریهٔ ۲۰۲۱، ساعت ۱۵:۱۰

* Vazir Font */
 @font-face {
     font-family: 'vazir';
     src: url('/fonts/Vazir.woff2') format('woff2'), url('/fonts/Vazir.woff') format('woff'), url('/fonts/Vazir.ttf') format('truetype');
}
/* Amiri Font */
@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 400;
  src: local('Amiri Regular'), local('Amiri-Regular'), url(https://fonts.gstatic.com/s/amiri/v13/J7aRnpd8CGxBHpUrtLMA7w.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}
body, h1, h2, h3, h4 {
  /* generally a sans-serif font should be here */
  font-family:  vazir, Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif  !important;
}
/* طراحی صفحه اول */
 .mainpage-top {
    background-image: url(/mainpage-top-2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
	background-position-y: 60%;
	background-position-x: center;
}
/* حذف فاصله خالی اول مقالات */
p br {
	display: none;
}
/* درگاه کرونا */
.corona-portal {
    background-image: url('/images/c/cd/کرونا.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position-y: center;
}
.mainpage-portals a {
	color: white;
}
/* portals */
    .portal-column-left,
    .portal-column-right,
    .portal-column-right-wide,
    .portal-column-left-narrow,
    .portal-column-right-extra-wide,
    .portal-column-left-extra-narrow {
    float: inherit;
    width: 100%;
}
/* ثابت کردن منوی بالا */
.header-container.header-chrome {
    position: fixed;
    width: 100%;
    padding: 0;
    z-index: 100;
}