پرش به محتوا

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

از ویکی راکس
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۲۴: خط ۲۴:
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
     font-family: 'Farhang-Black', Arial, sans-serif !important;
     font-family: 'Farhang-Black', 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 {
.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;
}
}



نسخهٔ ‏۱۹ مارس ۲۰۲۵، ساعت ۱۹:۰۴

@font-face {
    font-family: 'Farhang-Regular';
    src: url('/fonts/Farhang-Regular.woff2') format('woff2'),
         url('/fonts/Farhang-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Farhang-Black', 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;
}

#firstHeading {
    display: none;
}