مدیاویکی:Common.css: تفاوت میان نسخهها
ظاهر
Adminfirst (بحث | مشارکتها) بدون خلاصۀ ویرایش |
Adminfirst (بحث | مشارکتها) بدون خلاصۀ ویرایش |
||
| (۱۰ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
| خط ۱: | خط ۱: | ||
@font-face { | @font-face { | ||
font-family: ' | font-family: 'iranyekanwebregular'; | ||
src: url('/ | src: url('/fonts/iranyekanwebregular.woff2') format('woff2'), | ||
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; | |||
} | } | ||
.main-page-box a { | |||
text-decoration: none; | |||
color: #3366cc; | |||
} | } | ||
.main-page-box a:hover { | |||
text-decoration: underline; | |||
} | } | ||
body.page-Main_Page #firstHeading { | |||
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;
}