پرش به محتوا

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

از ویکی راکس
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۹ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
@font-face {
@font-face {
     font-family: 'Farhang';
     font-family: 'iranyekanwebregular';
     src: url('/fonts/Farhang.woff2') format('woff2'),
     src: url('/fonts/iranyekanwebregular.woff2') format('woff2'),
         url('/fonts/Farhang.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;
}
.main-header {
    background-color: #f5f5f5;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #ccc;
}
.header-logo img {
    max-width: 100px;
    height: auto;
}
.header-text h1 {
    font-size: 2em;
    color: #333;
}
.header-text p {
    font-size: 1.2em;
    color: #666;
}
.main-page-box {
    background-color: #fafafa;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}
.main-page-box h2 {
    font-size: 1.5em;
    color: #3366cc;
    margin-bottom: 10px;
}
.main-page-box ul {
    list-style: none;
    padding: 0;
}
.main-page-box li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}
.main-page-box li:last-child {
    border-bottom: none;
}
}


@font-face {
.main-page-box a {
     font-family: 'Farhang-Black';
     text-decoration: none;
    src: url('/fonts/Farhang-Black.woff2') format('woff2'),
     color: #3366cc;
        url('/fonts/Farhang-Black.woff') format('woff');
    font-weight: bold;
     font-style: normal;
}
}


body {
.main-page-box a:hover {
     font-family: 'Farhang_', Arial, sans-serif !important;
     text-decoration: underline;
}
}


h1, h2, h3, h4, h5, h6 {
body.page-Main_Page #firstHeading {
     font-family: 'Farhang_Black', Arial, sans-serif !important;
     display: none;
}
}

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

@font-face {
    font-family: 'iranyekanwebregular';
    src: url('/fonts/iranyekanwebregular.woff2') format('woff2'),
         url('/fonts/iranyekanwebregular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
* {
    font-family: 'iranyekanwebregular', Arial, sans-serif !important;
}

body {
    font-family: 'iranyekanwebregular', Arial, sans-serif !important;
}

.main-header {
    background-color: #f5f5f5;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #ccc;
}

.header-logo img {
    max-width: 100px;
    height: auto;
}

.header-text h1 {
    font-size: 2em;
    color: #333;
}

.header-text p {
    font-size: 1.2em;
    color: #666;
}

.main-page-box {
    background-color: #fafafa;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.main-page-box h2 {
    font-size: 1.5em;
    color: #3366cc;
    margin-bottom: 10px;
}

.main-page-box ul {
    list-style: none;
    padding: 0;
}

.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-box a:hover {
    text-decoration: underline;
}

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