مدیاویکی:Common.css: تفاوت میان نسخهها
Adminfirst (بحث | مشارکتها) بدون خلاصۀ ویرایش |
Adminfirst (بحث | مشارکتها) بدون خلاصۀ ویرایش |
||
(۵ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
خط ۱: | خط ۱: | ||
@font-face { | @font-face { | ||
font-family: ' | font-family: 'iranyekanwebregular'; | ||
src: url('/fonts/ | src: url('/fonts/iranyekanwebregular.woff2') format('woff2'), | ||
url('/fonts/ | 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- | font-size: 2em; | ||
color: #333; | |||
} | } | ||
.header-text p { | |||
font- | font-size: 1.2em; | ||
color: #666; | |||
} | } | ||
.main-page-box { | .main-page-box { | ||
background-color: # | background-color: #fafafa; | ||
border: 1px solid # | border: 1px solid #ddd; | ||
padding: | padding: 15px; | ||
margin-bottom: 15px; | |||
border-radius: 8px; | |||
} | |||
.main-page-box h2 { | |||
font-size: 1.5em; | |||
color: #3366cc; | |||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | } | ||
.main-page- | .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- | .main-page-box a:hover { | ||
text-decoration: underline; | |||
} | } | ||
#firstHeading { | body.page-Main_Page #firstHeading { | ||
display: none; | display: none; | ||
} | } |