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

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۵ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
@font-face {
@font-face {
     font-family: 'Farhang-Regular';
     font-family: 'iranyekanwebregular';
     src: url('/fonts/Farhang-Regular.woff2') format('woff2'),
     src: url('/fonts/iranyekanwebregular.woff2') format('woff2'),
         url('/fonts/Farhang-Regular.woff') format('woff');
         url('/fonts/iranyekanwebregular.woff') format('woff');
     font-weight: normal;
     font-weight: normal;
     font-style: normal;
     font-style: normal;
}
* {
    font-family: 'iranyekanwebregular', Arial, sans-serif !important;
}
body {
    font-family: 'iranyekanwebregular', Arial, sans-serif !important;
}
}


@font-face {
.main-header {
     font-family: 'Farhang-Black';
     background-color: #f5f5f5;
     src: url('/fonts/Farhang-Black.woff2') format('woff2'),
     padding: 20px;
        url('/fonts/Farhang-Black.woff') format('woff');
     text-align: center;
     font-weight: bold;
     border-bottom: 2px solid #ccc;
     font-style: normal;
}
}
* {
 
     font-family: 'Farhang-Regular', Arial, sans-serif !important;
.header-logo img {
     max-width: 100px;
    height: auto;
}
}


body {
.header-text h1 {
     font-family: 'Farhang-Regular', Arial, sans-serif !important;
     font-size: 2em;
    color: #333;
}
}


h1, h2, h3, h4, h5, h6 {
.header-text p {
     font-family: 'Farhang-Black', Arial, sans-serif !important;
     font-size: 1.2em;
    color: #666;
}
}


.main-page-box {
.main-page-box {
     background-color: #f9f9f9;
     background-color: #fafafa;
     border: 1px solid #ccc;
     border: 1px solid #ddd;
     padding: 10px;
     padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}
 
.main-page-box h2 {
    font-size: 1.5em;
    color: #3366cc;
     margin-bottom: 10px;
     margin-bottom: 10px;
    border-radius: 8px;
}
}


.main-page-title {
.main-page-box ul {
     font-size: 22px;
     list-style: none;
     font-weight: bold;
     padding: 0;
     color: #222;
}
     margin-bottom: 5px;
 
     border-bottom: 2px solid #ddd;
.main-page-box li {
    padding: 5px 0;
     border-bottom: 1px solid #eee;
}
 
.main-page-box li:last-child {
     border-bottom: none;
}
 
.main-page-box a {
     text-decoration: none;
    color: #3366cc;
}
}


.main-page-content {
.main-page-box a:hover {
     font-size: 16px;
     text-decoration: underline;
    line-height: 1.6;
}
}


#firstHeading {
body.page-Main_Page #firstHeading {
     display: none;
     display: none;
}
}