الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»
المظهر
لا ملخص تعديل وسم: مسترجع |
لا ملخص تعديل وسم: تراجع يدوي |
||
سطر ١: | سطر ١: | ||
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@300;400;500;600;700&family=Scheherazade+New:wght@400;500;600;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@300;400;500;600;700&family=Scheherazade+New:wght@400;500;600;700&display=swap'); | ||
/* ==== ELEGANT MEDIAWIKI HEADER DESIGN ==== */ | |||
/* ==== | /* ==== ELEGANT MEDIAWIKI HEADER DESIGN ==== */ | ||
.cdx-text-input__icon{ | |||
display: none !important; | |||
} | } | ||
/* Header Container */ | |||
/* | |||
.vector-header-container { | .vector-header-container { | ||
background: | background: #f5deb300 !important; | ||
border-bottom: 1px solid | border-bottom: 1px solid rgba(255, 255, 255, 0.1); | ||
position: relative; | |||
position: | |||
z-index: 1000; | z-index: 1000; | ||
} | } | ||
#footer-icons { | |||
float: left; | |||
display: none !important; | |||
} | |||
/* Main Header */ | |||
.vector-header { | .vector-header { | ||
padding: | padding: 0.75rem 1.5rem; | ||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
justify-content: space-between !important; | justify-content: space-between !important; | ||
max-width: | position: relative; | ||
z-index: 1001; | |||
gap: | min-height: 70px; | ||
max-width: 100%; | |||
gap: 1rem; | |||
} | |||
/* Header Start Section */ | |||
.vector-header-start { | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 1rem !important; | |||
flex: 1 !important; | |||
max-width: 50% !important; | |||
} | |||
/* Main Menu Dropdown */ | |||
.vector-main-menu-dropdown { | |||
position: relative; | |||
} | } | ||
/* | .vector-dropdown-label { | ||
background: rgba(255, 255, 255, 0.15) !important; | |||
border: 1px solid rgba(255, 255, 255, 0.2) !important; | |||
border-radius: 12px !important; | |||
padding: 0.75rem 1rem !important; | |||
color: white !important; | |||
font-weight: 500 !important; | |||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; | |||
} | |||
.vector-dropdown-label:hover { | |||
background: rgba(255, 255, 255, 0.25) !important; | |||
border-color: rgba(255, 255, 255, 0.4) !important; | |||
transform: translateY(-2px) !important; | |||
} | |||
.vector-dropdown-label-text { | |||
font-weight: 600 !important; | |||
letter-spacing: 0.5px !important; | |||
} | |||
/* Logo Section */ | |||
.mw-logo { | .mw-logo { | ||
display: flex; | display: flex; | ||
سطر ٩١: | سطر ٧١: | ||
gap: 1rem; | gap: 1rem; | ||
text-decoration: none; | text-decoration: none; | ||
transition: | transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | ||
} | } | ||
.mw-logo:hover { | .mw-logo:hover { | ||
transform: scale(1. | transform: scale(1.05); | ||
} | } | ||
.mw-logo-icon { | .mw-logo-icon { | ||
height: 5rem !important; | transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | ||
height: 5.125em !important; | |||
} | |||
.mw-logo-wordmark { | |||
color: #3a4739 !important; | |||
font-size: 1.5rem !important; | |||
font-weight: 700 !important; | |||
letter-spacing: 1px !important; | |||
/* text-shadow: 0 2px 4px rgb(0 0 0) !important; */ | |||
/* background: linear-gradient(45deg, #ffffff, #f0f8f0) !important; */ | |||
-webkit-background-clip: text !important; | |||
/* -webkit-text-fill-color: transparent !important; */ | |||
background-clip: text !important; | |||
} | } | ||
. | /* Header End Section */ | ||
.vector-header-end { | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 0.75rem !important; | |||
flex: 1 !important; | |||
justify-content: flex-end !important; | |||
max-width: 50% !important; | |||
} | } | ||
. | /* Search Box */ | ||
.vector-search-box { | |||
position: relative; | |||
} | } | ||
.cdx-search-input { | .cdx-search-input { | ||
border-radius: | border-radius: 25px !important; | ||
overflow: hidden !important; | overflow: hidden !important; | ||
box-shadow: | box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important; | ||
} | } | ||
.cdx-text-input { | .cdx-text-input { | ||
background: | background: rgba(255, 255, 255, 0.95) !important; | ||
border: none !important; | |||
border | |||
} | } | ||
سطر ١٣٩: | سطر ١٢٥: | ||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | border: none !important; | ||
padding: | padding: 0.75rem 1rem 0.75rem 3rem !important; | ||
font-size: 1rem !important; | font-size: 1rem !important; | ||
color: | color: #2d3748 !important; | ||
border-radius: 25px !important; | |||
} | } | ||
.cdx-text-input__input::placeholder { | .cdx-text-input__input::placeholder { | ||
color: | color: #718096 !important; | ||
font-weight: 500 !important; | |||
} | |||
.cdx-text-input__input:focus { | |||
outline: none !important; | |||
box-shadow: 0 0 0 3px rgba(143, 166, 142, 0.3) !important; | |||
} | } | ||
.cdx-search-input__end-button { | .cdx-search-input__end-button { | ||
background: linear-gradient(135deg, | background: linear-gradient(135deg, #8fa68e, #a5bfa3) !important; | ||
border: none !important; | border: none !important; | ||
color: white !important; | color: white !important; | ||
padding: | padding: 0.75rem 1.5rem !important; | ||
border-radius: 0 25px 25px 0 !important; | |||
font-weight: 600 !important; | font-weight: 600 !important; | ||
transition: | transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; | ||
} | } | ||
.cdx-search-input__end-button:hover { | .cdx-search-input__end-button:hover { | ||
background: linear-gradient(135deg, | background: linear-gradient(135deg, #7a9379, #8fa68e) !important; | ||
transform: | transform: translateX(2px) !important; | ||
} | } | ||
/* | /* User Links Navigation */ | ||
.vector-user-links { | |||
display: flex; | |||
align-items: center; | |||
background: | gap: 0.5rem; | ||
} | |||
.vector-user-links .cdx-button { | |||
background: rgba(255, 255, 255, 0.15) !important; | |||
border: 1px solid rgba(255, 255, 255, 0.2) !important; | |||
border-radius: 10px !important; | |||
color: white !important; | |||
padding: 0.5rem !important; | |||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; | |||
} | |||
.vector-user-links .cdx-button:hover { | |||
background: rgba(255, 255, 255, 0.25) !important; | |||
border-color: rgba(255, 255, 255, 0.4) !important; | |||
transform: translateY(-2px) !important; | |||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; | |||
} | |||
/* User Menu Dropdown */ | |||
.vector-user-menu .vector-dropdown-label { | |||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)) !important; | |||
border: 1px solid rgba(255, 255, 255, 0.3) !important; | |||
border-radius: 50px !important; | |||
padding: 0.5rem 1rem !important; | |||
min-width: 120px !important; | |||
} | } | ||
.vector-user-menu .vector-dropdown-label:hover { | |||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2)) !important; | |||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important; | |||
background | |||
} | } | ||
/* | /* Dropdown Content */ | ||
.vector-dropdown-content { | |||
background: rgba(255, 255, 255, 0.95) !important; | |||
border: 1px solid rgba(143, 166, 142, 0.2) !important; | |||
background: | border-radius: 12px !important; | ||
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2) !important; | |||
border: 1px solid | margin-top: 0.5rem !important; | ||
border-radius: | |||
box-shadow: | |||
margin | |||
} | } | ||
/* Menu Items */ | |||
.vector-menu-content-list { | |||
padding: 0.5rem !important; | |||
} | } | ||
.vector-menu-content-list li { | |||
margin: 0 !important; | |||
} | } | ||
.vector-menu-content-list a { | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 0.75rem !important; | |||
padding: 0.75rem 1rem !important; | |||
color: #2d3748 !important; | |||
text-decoration: none !important; | |||
border-radius: 8px !important; | |||
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important; | |||
font-weight: 500 !important; | |||
} | } | ||
.vector-menu-content-list a:hover { | |||
background: linear-gradient(135deg, rgba(143, 166, 142, 0.1), rgba(165, 191, 163, 0.1)) !important; | |||
color: #8fa68e !important; | |||
transform: translateX(4px) !important; | |||
background: linear-gradient( | |||
} | } | ||
/* Icons */ | |||
.vector-icon { | |||
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) !important; | |||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; | |||
} | } | ||
/* Responsive Design */ | |||
@media (max-width: 768px) { | |||
.vector-header { | |||
font-size: 1. | padding: 0.75rem 1rem; | ||
flex-wrap: wrap; | |||
gap: 1rem; | |||
} | |||
.mw-logo-wordmark { | |||
font-size: 1.25rem !important; | |||
} | |||
.vector-search-box { | |||
order: 3; | |||
width: 100%; | |||
margin-top: 1rem; | |||
} | |||
} | } | ||
/* Animations */ | |||
@keyframes slideIn { | |||
transform: | from { | ||
opacity: 0; | |||
transform: translateY(-10px); | |||
} | |||
to { | |||
opacity: 1; | |||
transform: translateY(0); | |||
} | |||
} | } | ||
.vector-dropdown-content { | |||
animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; | |||
} | } | ||
/* Micro-interactions */ | |||
.vector-header-container:hover .vector-icon { | |||
transform: scale(1.1); | |||
} | } | ||
.vector-dropdown-checkbox:checked + .vector-dropdown-label { | |||
background: rgba(255, 255, 255, 0.3) !important; | |||
border-color: rgba(255, 255, 255, 0.5) !important; | |||
} | } | ||
/* Focus States for Accessibility */ | |||
.vector-dropdown-label:focus, | |||
.cdx-text-input__input:focus, | |||
.vector-menu-content-list a:focus { | |||
outline: 2px solid rgba(255, 255, 255, 0.8) !important; | |||
outline-offset: 2px !important; | |||
} | |||
:root { | |||
/* ألوان هادئة مناسبة لموضوع زيارة الإمام الحسين */ | |||
--primary-color: #2d4a3e; | |||
--secondary-color: #4a6b5c; | |||
--text-dark: #2c3e30; | |||
--text-muted: #5a6b5a; | |||
--accent-gold: #c9a876; | |||
--accent-green: #6b8e5a; | |||
--accent-sage: #8fa68e; | |||
--background-main: #fcfcfc; | |||
--background-light: #f9f9f7; | |||
--border-elegant: #e8e6e0; | |||
--border-soft: #d4d0c7; | |||
--shadow-soft: 0 2px 12px rgba(44, 62, 48, 0.08); | |||
--shadow-medium: 0 4px 20px rgba(44, 62, 48, 0.12); | |||
--transition-gentle: 0.3s ease; | |||
--serif-font: 'Scheherazade New', 'Amiri', serif; | |||
--sans-font: 'Cairo', sans-serif; | |||
} | |||
/* Figure container */ | |||
.mw-default-size { | |||
max-width: 320px; | |||
margin: 2rem auto; | |||
background: #ffffff; | |||
border-radius: 12px; | |||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |||
overflow: hidden; | |||
transition: transform 0.3s ease, box-shadow 0.3s ease; | |||
} | |||
.mw-default-size:hover { | |||
transform: translateY(-2px); | |||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); | |||
} | } | ||
/* Image link */ | |||
.mw-file-description { | |||
display: block; | |||
text-decoration: none; | |||
position: relative; | |||
overflow: hidden; | |||
} | } | ||
/* | /* Image styling */ | ||
.mw-file-element { | |||
width: 100%; | |||
height: auto; | |||
display: block; | |||
transition: transform 0.3s ease; | |||
} | } | ||
.mw-file-description:hover .mw-file-element { | |||
transform: scale(1.02); | |||
} | } | ||
# | /* Caption styling - emphasized */ | ||
figcaption { | |||
padding: 1.2rem 1.5rem; | |||
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); | |||
border-top: 3px solid #007bff; | |||
font-size: 1.1rem; | |||
font-weight: 600; | |||
color: #2c3e50; | |||
text-align: center; | |||
line-height: 1.4; | |||
letter-spacing: 0.3px; | |||
position: relative; | |||
} | } | ||
/* Add subtle accent to caption */ | |||
figcaption::before { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 40px; | |||
height: 3px; | |||
background:#c9a87600 !important; | |||
border-radius: 0 0 2px 2px; | |||
} | } | ||
/* | /* Responsive adjustments */ | ||
@media (max-width: 480px) { | |||
.mw-default-size { | |||
max-width: 280px; | |||
margin: 1.5rem auto; | |||
} | |||
figcaption { | |||
padding: 1rem; | |||
font-size: 1rem; | |||
} | |||
} | |||
.mw-default-size, | .mw-default-size, | ||
figure[typeof="mw:File/Thumb"] { | figure[typeof="mw:File/Thumb"] { | ||
background: var(-- | background: var(--background-light); | ||
border: 2px solid var(--border-elegant); | |||
border: | border-radius: 12px; | ||
border-radius: | |||
box-shadow: var(--shadow-soft); | box-shadow: var(--shadow-soft); | ||
overflow: hidden; | overflow: hidden; | ||
margin: | margin: 25px auto; | ||
padding: | padding: 12px; | ||
transition: var(--transition-gentle); | transition: var(--transition-gentle); | ||
position: relative; | position: relative; | ||
max-width: fit-content; | max-width: fit-content; | ||
} | |||
.mw-default-size:hover, | |||
figure[typeof="mw:File/Thumb"]:hover { | |||
box-shadow: var(--shadow-medium); | |||
border-color: var(--accent-sage); | |||
} | } | ||
سطر ٣٨٥: | سطر ٤٠٥: | ||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; | ||
top: | top: 8px; | ||
right: | right: 8px; | ||
width: | width: 20px; | ||
height: 3px; | height: 3px; | ||
background: linear-gradient(90deg, var(--gold | background: linear-gradient(90deg, var(--accent-gold), var(--accent-sage)); | ||
border-radius: | border-radius: 2px; | ||
opacity: 0.7; | |||
} | |||
.mw-file-description { | |||
display: block; | |||
border-radius: 8px; | |||
overflow: hidden; | |||
transition: var(--transition-gentle); | |||
} | } | ||
.mw- | .mw-file-description:hover { | ||
transform: scale(1.02); | |||
transform: | |||
} | } | ||
سطر ٤٠٤: | سطر ٤٢٨: | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
border-radius: | border-radius: 8px; | ||
transition: var(--transition- | transition: var(--transition-gentle); | ||
filter: brightness(0.95) contrast(1.05 | filter: brightness(0.95) contrast(1.05); | ||
} | } | ||
.mw-file-element:hover { | .mw-file-element:hover { | ||
filter: brightness(1) contrast(1.1 | filter: brightness(1) contrast(1.1); | ||
} | } | ||
/* تنسيق التسمية التوضيحية */ | |||
figcaption { | figcaption { | ||
padding: | padding: 12px 15px 8px; | ||
font- | font-family: var(--sans-font); | ||
font-size: 13px; | |||
color: var(--text- | color: var(--text-muted); | ||
text-align: center; | |||
line-height: 1.4; | |||
border-top: 1px solid var(--border-elegant); | |||
margin-top: 8px; | |||
position: relative; | |||
} | |||
figcaption::before { | |||
content: ''; | |||
position: absolute; | |||
top: -1px; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 40px; | |||
height: 1px; | |||
background:#c9a87600 !important; | |||
} | |||
/* تنسيق الصور داخل المحتوى */ | |||
#content figure { | |||
text-align: center; | |||
} | |||
#content figure img { | |||
border-radius: 8px; | |||
} | |||
/* تنسيق للصور المختلفة الأحجام */ | |||
figure.mw-halign-right { | |||
float: left; | |||
margin: 0 0 20px 25px; | |||
clear: left; | |||
} | |||
figure.mw-halign-left { | |||
float: right; | |||
margin: 0 25px 20px 0; | |||
clear: right; | |||
} | |||
figure.mw-halign-center { | |||
display: block; | |||
margin: 25px auto; | |||
float: none; | |||
clear: both; | |||
} | |||
/* تأثيرات خاصة للصور الكبيرة */ | |||
figure[typeof="mw:File/Thumb"][data-file-width] { | |||
position: relative; | |||
} | |||
figure[typeof="mw:File/Thumb"][data-file-width]::after { | |||
content: '🕌'; | |||
position: absolute; | |||
bottom: 15px; | |||
left: 15px; | |||
font-size: 16px; | |||
opacity: 0.4; | |||
color: var(--accent-gold); | |||
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); | |||
} | |||
/* التصميم المتجاوب للصور */ | |||
@media (max-width: 768px) { | |||
.mw-default-size, | |||
figure[typeof="mw:File/Thumb"] { | |||
margin: 20px 10px; | |||
padding: 10px; | |||
} | |||
figure.mw-halign-right, | |||
figure.mw-halign-left { | |||
float: none; | |||
margin: 20px auto; | |||
max-width: 100%; | |||
} | |||
.mw-file-element { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
} | |||
.vector-page-titlebar::after { | |||
content: ''; | |||
display: block; | |||
position: absolute; | |||
bottom: 0; | |||
right: 0; | |||
left: 0; | |||
height: 1px; | |||
background-color: #a2a9b100 !important; | |||
} | |||
/* ======================== | |||
قاعدة التصميم - خلفية هادئة | |||
========================= */ | |||
body { | |||
background: var(--background-main); | |||
color: var(--text-dark); | |||
line-height: 1.8; | |||
margin: 0; | |||
padding: 0; | |||
font-size: 16px; | |||
font-family: var(--serif-font); | |||
position: relative; | |||
} | |||
/* ======================== | |||
رأس الصفحة - بسيط وأنيق | |||
========================= */ | |||
.mw-body-header { | |||
background: linear-gradient(135deg, var(--background-light) 0%, var(--background-main) 100%); | |||
border: 2px solid var(--border-soft); | |||
border-bottom: 3px solid var(--accent-gold); | |||
padding: 25px 35px; | |||
text-align: center; | text-align: center; | ||
font-family: var(--sans-font); | |||
font-size: 20px; | |||
color: var(--primary-color); | |||
font-weight: 600; | |||
letter-spacing: 0.5px; | |||
box-shadow: var(--shadow-soft); | |||
position: relative; | position: relative; | ||
transition: var(--transition-gentle); | |||
border- | } | ||
.mw-body-header:hover { | |||
border-bottom-color: var(--accent-green); | |||
} | |||
.mw-body-header::after { | |||
content: '◆'; | |||
position: absolute; | |||
top: 50%; | |||
right: 25px; | |||
transform: translateY(-50%); | |||
font-size: 14px; | |||
color: var(--accent-gold); | |||
opacity: 0.7; | |||
} | } | ||
/* ======================== | /* ======================== | ||
القائمة المنسدلة - هادئة | |||
========================= */ | ========================= */ | ||
.vector-dropdown { | |||
position: relative; | position: relative; | ||
display: inline-block; | |||
cursor: pointer; | |||
transition: var(--transition-gentle); | transition: var(--transition-gentle); | ||
} | |||
.vector-dropdown-content { | |||
display: none; | |||
position: absolute; | |||
background: var(--background-main); | |||
border: 2px solid var(--border-soft); | |||
min-width: 220px; | |||
border-radius: 8px; | |||
box-shadow: var(--shadow-medium); | |||
z-index: 1000; | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.vector-dropdown:hover .vector-dropdown-content { | |||
display: block; | |||
} | |||
.vector-dropdown-content a { | |||
display: block; | display: block; | ||
font-family: var(--font | padding: 14px 20px; | ||
font- | color: var(--text-dark); | ||
font- | text-decoration: none; | ||
font-family: var(--sans-font); | |||
font-size: 14px; | |||
font-weight: 400; | |||
padding- | border-bottom: 1px solid var(--border-elegant); | ||
border- | transition: var(--transition-gentle); | ||
} | |||
.vector-dropdown-content a:last-child { | |||
border-bottom: none; | |||
} | |||
.vector-dropdown-content a:hover { | |||
background: var(--background-light); | |||
color: var(--primary-color); | |||
padding-right: 25px; | |||
} | |||
/* ======================== | |||
المحتوى الرئيسي - نظيف وهادئ | |||
========================= */ | |||
#content { | |||
background: var(--background-main); | |||
border: 2px solid var(--border-elegant); | |||
border-right: 4px solid var(--accent-sage); | |||
padding: 50px 60px; | |||
border-radius: 12px; | |||
font-family: var(--serif-font); | |||
font-size: 17px; | |||
color: var(--text-dark); | |||
box-shadow: var(--shadow-soft); | |||
direction: rtl; | |||
margin: 30px auto; | |||
position: relative; | position: relative; | ||
transition: var(--transition-gentle); | |||
} | } | ||
# | #content:hover { | ||
box-shadow: var(--shadow-medium); | |||
border-right-color: var(--accent-gold); | |||
border- | |||
} | } | ||
# | #content::after { | ||
content: '☪'; | |||
position: absolute; | |||
top: 20px; | |||
right: 25px; | |||
font-size: 18px; | |||
color: var(--accent-gold); | |||
opacity: 0.6; | |||
} | } | ||
# | /* ======================== | ||
العناوين - أنيقة ومقروءة | |||
color: var(-- | ========================= */ | ||
text- | #content h1 { | ||
color: var(--primary-color); | |||
text-align: center; | |||
font-size: 2rem; | |||
margin-bottom: 35px; | |||
font-weight: 700; | |||
font- | padding-bottom: 15px; | ||
font-weight: | |||
position: relative; | position: relative; | ||
} | } | ||
# | #content h1::after { | ||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; | ||
bottom: -2px; | |||
left: - | left: 50%; | ||
width: | transform: translateX(-50%); | ||
height: | width: 80px; | ||
background: | height: 2px; | ||
transition: var(--transition- | background: var(--accent-green); | ||
} | |||
#content h2 { | |||
color: var(--secondary-color); | |||
font-weight: 600; | |||
font-size: 1.4rem; | |||
border-bottom: 2px solid var(--border-soft); | |||
padding-bottom: 8px; | |||
margin-bottom: 20px; | |||
margin-top: 35px; | |||
transition: var(--transition-gentle); | |||
} | } | ||
# | #content h2:hover { | ||
color: var(--primary-color); | |||
border-bottom-color: var(--accent-sage); | |||
} | } | ||
# | #content h3, #content h4, #content h5, #content h6 { | ||
color: var(-- | color: var(--text-dark); | ||
font-weight: 500; | |||
margin-top: 25px; | |||
margin-bottom: 15px; | |||
transition: var(--transition-gentle); | |||
} | } | ||
#content h3 { font-size: 1.2rem; } | |||
#content h4 { font-size: 1.1rem; } | |||
/* ======================== | /* ======================== | ||
النصوص والروابط | |||
========================= */ | ========================= */ | ||
#content p { | |||
margin-bottom: 1.5em; | |||
text-align: justify; | |||
line-height: 1.8; | |||
color: var(--text-dark); | |||
} | } | ||
#content a { | |||
color: var(--accent-green); | |||
color: var(--text- | text-decoration: none; | ||
border-bottom: 1px solid var(-- | border-bottom: 1px solid var(--accent-sage); | ||
padding-bottom: 1px; | |||
transition: var(--transition-gentle); | |||
font-weight: 500 | font-weight: 500; | ||
} | } | ||
#content a:hover { | |||
color: var(--primary-color); | |||
color: var(--primary- | border-bottom-color: var(--accent-gold); | ||
border- | |||
} | } | ||
/* ======================== | /* ======================== | ||
التصنيفات - تصميم هادئ وجميل | |||
========================= */ | ========================= */ | ||
::- | #catlinks { | ||
background: var(--background-light); | |||
border: 2px solid var(--border-elegant); | |||
border-top: 3px solid var(--accent-sage); | |||
padding: 25px 30px; | |||
border-radius: 10px; | |||
margin-top: 40px; | |||
font-family: var(--sans-font); | |||
font-size: 14px; | |||
box-shadow: var(--shadow-soft); | |||
color: var(--text-muted); | |||
margin-left: auto; | |||
margin-right: auto; | |||
position: relative; | |||
transition: var(--transition-gentle); | |||
} | |||
#catlinks:hover { | |||
border-top-color: var(--accent-gold); | |||
box-shadow: var(--shadow-medium); | |||
} | } | ||
::- | #catlinks::before { | ||
content: 'التصنيفات'; | |||
border- | display: block; | ||
font-weight: 600; | |||
color: var(--primary-color); | |||
margin-bottom: 15px; | |||
font-size: 16px; | |||
text-align: center; | |||
border-bottom: 1px solid var(--border-elegant); | |||
padding-bottom: 10px; | |||
} | } | ||
: | #catlinks a { | ||
background: | color: var(--text-dark); | ||
border-radius: var(-- | font-weight: 400; | ||
text-decoration: none; | |||
padding: 8px 16px; | |||
margin: 6px 8px 6px 0; | |||
background: var(--background-main); | |||
border: 1px solid var(--border-soft); | |||
border-radius: 20px; | |||
display: inline-block; | |||
transition: var(--transition-gentle); | |||
font-size: 13px; | |||
font-family: var(--sans-font); | |||
} | } | ||
::- | #catlinks a:hover { | ||
background: | color: var(--primary-color); | ||
background: var(--background-light); | |||
border-color: var(--accent-sage); | |||
transform: translateY(-1px); | |||
box-shadow: 0 2px 8px rgba(44, 62, 48, 0.1); | |||
} | } | ||
/* ======================== | /* ======================== | ||
التصميم المتجاوب | |||
========================= */ | ========================= */ | ||
@media (max-width: | @media (max-width: 768px) { | ||
#content { | #content { | ||
margin: | margin: 20px 15px; | ||
padding: | padding: 35px 25px; | ||
} | } | ||
.mw- | .mw-body-header { | ||
font-size: | padding: 20px 25px; | ||
font-size: 18px; | |||
} | } | ||
# | #catlinks { | ||
margin: 25px 15px; | |||
padding: 20px 25px; | |||
} | } | ||
#content h1 { | #content h1 { | ||
font-size | font-size: 1.6rem; | ||
} | } | ||
} | } | ||
/* ======================== | /* ======================== | ||
التركيز وإمكانية الوصول | |||
========================= */ | |||
a:focus, .vector-dropdown:focus, #catlinks a:focus { | |||
outline: 2px solid var(--accent-gold); | |||
outline-offset: 2px; | |||
box-shadow: 0 0 0 3px rgba(201, 168, 118, 0.2); | |||
} | |||
/* ======================== | |||
إخفاء العناصر غير المرغوبة | |||
========================= */ | ========================= */ | ||
.printfooter, | |||
* | .vector-menu h3 { | ||
display: none; | |||
} | |||
/* شريط التمرير المخصص */ | |||
::-webkit-scrollbar { | |||
width: 10px; | |||
} | } | ||
::-webkit-scrollbar-track { | |||
background: var(--border-elegant); | |||
border-radius: 5px; | |||
} | } | ||
::-webkit-scrollbar-thumb { | |||
background: var(--accent-sage); | |||
: | border-radius: 5px; | ||
border: 1px solid var(--border-elegant); | |||
} | } | ||
::-webkit-scrollbar-thumb:hover { | |||
background: var(--accent-gold); | |||
} | } | ||
/* ======================== | /* ======================== | ||
أنماط الطباعة | |||
========================= */ | ========================= */ | ||
@media print { | @media print { | ||
سطر ٦٥٤: | سطر ٨٧٠: | ||
background: white !important; | background: white !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
. | .mw-body-header::after, #content::after { | ||
display: none; | |||
display: none | |||
} | } | ||
# | #catlinks { | ||
border: 1px solid #ccc | border: 1px solid #ccc; | ||
} | } | ||
} | } |
مراجعة ١١:٣٦، ٢٩ يوليو ٢٠٢٥
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@300;400;500;600;700&family=Scheherazade+New:wght@400;500;600;700&display=swap');
/* ==== ELEGANT MEDIAWIKI HEADER DESIGN ==== */
/* ==== ELEGANT MEDIAWIKI HEADER DESIGN ==== */
.cdx-text-input__icon{
display: none !important;
}
/* Header Container */
.vector-header-container {
background: #f5deb300 !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
position: relative;
z-index: 1000;
}
#footer-icons {
float: left;
display: none !important;
}
/* Main Header */
.vector-header {
padding: 0.75rem 1.5rem;
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
position: relative;
z-index: 1001;
min-height: 70px;
max-width: 100%;
gap: 1rem;
}
/* Header Start Section */
.vector-header-start {
display: flex !important;
align-items: center !important;
gap: 1rem !important;
flex: 1 !important;
max-width: 50% !important;
}
/* Main Menu Dropdown */
.vector-main-menu-dropdown {
position: relative;
}
.vector-dropdown-label {
background: rgba(255, 255, 255, 0.15) !important;
border: 1px solid rgba(255, 255, 255, 0.2) !important;
border-radius: 12px !important;
padding: 0.75rem 1rem !important;
color: white !important;
font-weight: 500 !important;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.vector-dropdown-label:hover {
background: rgba(255, 255, 255, 0.25) !important;
border-color: rgba(255, 255, 255, 0.4) !important;
transform: translateY(-2px) !important;
}
.vector-dropdown-label-text {
font-weight: 600 !important;
letter-spacing: 0.5px !important;
}
/* Logo Section */
.mw-logo {
display: flex;
align-items: center;
gap: 1rem;
text-decoration: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mw-logo:hover {
transform: scale(1.05);
}
.mw-logo-icon {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
height: 5.125em !important;
}
.mw-logo-wordmark {
color: #3a4739 !important;
font-size: 1.5rem !important;
font-weight: 700 !important;
letter-spacing: 1px !important;
/* text-shadow: 0 2px 4px rgb(0 0 0) !important; */
/* background: linear-gradient(45deg, #ffffff, #f0f8f0) !important; */
-webkit-background-clip: text !important;
/* -webkit-text-fill-color: transparent !important; */
background-clip: text !important;
}
/* Header End Section */
.vector-header-end {
display: flex !important;
align-items: center !important;
gap: 0.75rem !important;
flex: 1 !important;
justify-content: flex-end !important;
max-width: 50% !important;
}
/* Search Box */
.vector-search-box {
position: relative;
}
.cdx-search-input {
border-radius: 25px !important;
overflow: hidden !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}
.cdx-text-input {
background: rgba(255, 255, 255, 0.95) !important;
border: none !important;
}
.cdx-text-input__input {
background: transparent !important;
border: none !important;
padding: 0.75rem 1rem 0.75rem 3rem !important;
font-size: 1rem !important;
color: #2d3748 !important;
border-radius: 25px !important;
}
.cdx-text-input__input::placeholder {
color: #718096 !important;
font-weight: 500 !important;
}
.cdx-text-input__input:focus {
outline: none !important;
box-shadow: 0 0 0 3px rgba(143, 166, 142, 0.3) !important;
}
.cdx-search-input__end-button {
background: linear-gradient(135deg, #8fa68e, #a5bfa3) !important;
border: none !important;
color: white !important;
padding: 0.75rem 1.5rem !important;
border-radius: 0 25px 25px 0 !important;
font-weight: 600 !important;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.cdx-search-input__end-button:hover {
background: linear-gradient(135deg, #7a9379, #8fa68e) !important;
transform: translateX(2px) !important;
}
/* User Links Navigation */
.vector-user-links {
display: flex;
align-items: center;
gap: 0.5rem;
}
.vector-user-links .cdx-button {
background: rgba(255, 255, 255, 0.15) !important;
border: 1px solid rgba(255, 255, 255, 0.2) !important;
border-radius: 10px !important;
color: white !important;
padding: 0.5rem !important;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.vector-user-links .cdx-button:hover {
background: rgba(255, 255, 255, 0.25) !important;
border-color: rgba(255, 255, 255, 0.4) !important;
transform: translateY(-2px) !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
/* User Menu Dropdown */
.vector-user-menu .vector-dropdown-label {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)) !important;
border: 1px solid rgba(255, 255, 255, 0.3) !important;
border-radius: 50px !important;
padding: 0.5rem 1rem !important;
min-width: 120px !important;
}
.vector-user-menu .vector-dropdown-label:hover {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2)) !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}
/* Dropdown Content */
.vector-dropdown-content {
background: rgba(255, 255, 255, 0.95) !important;
border: 1px solid rgba(143, 166, 142, 0.2) !important;
border-radius: 12px !important;
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2) !important;
margin-top: 0.5rem !important;
}
/* Menu Items */
.vector-menu-content-list {
padding: 0.5rem !important;
}
.vector-menu-content-list li {
margin: 0 !important;
}
.vector-menu-content-list a {
display: flex !important;
align-items: center !important;
gap: 0.75rem !important;
padding: 0.75rem 1rem !important;
color: #2d3748 !important;
text-decoration: none !important;
border-radius: 8px !important;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
font-weight: 500 !important;
}
.vector-menu-content-list a:hover {
background: linear-gradient(135deg, rgba(143, 166, 142, 0.1), rgba(165, 191, 163, 0.1)) !important;
color: #8fa68e !important;
transform: translateX(4px) !important;
}
/* Icons */
.vector-icon {
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) !important;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* Responsive Design */
@media (max-width: 768px) {
.vector-header {
padding: 0.75rem 1rem;
flex-wrap: wrap;
gap: 1rem;
}
.mw-logo-wordmark {
font-size: 1.25rem !important;
}
.vector-search-box {
order: 3;
width: 100%;
margin-top: 1rem;
}
}
/* Animations */
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.vector-dropdown-content {
animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* Micro-interactions */
.vector-header-container:hover .vector-icon {
transform: scale(1.1);
}
.vector-dropdown-checkbox:checked + .vector-dropdown-label {
background: rgba(255, 255, 255, 0.3) !important;
border-color: rgba(255, 255, 255, 0.5) !important;
}
/* Focus States for Accessibility */
.vector-dropdown-label:focus,
.cdx-text-input__input:focus,
.vector-menu-content-list a:focus {
outline: 2px solid rgba(255, 255, 255, 0.8) !important;
outline-offset: 2px !important;
}
:root {
/* ألوان هادئة مناسبة لموضوع زيارة الإمام الحسين */
--primary-color: #2d4a3e;
--secondary-color: #4a6b5c;
--text-dark: #2c3e30;
--text-muted: #5a6b5a;
--accent-gold: #c9a876;
--accent-green: #6b8e5a;
--accent-sage: #8fa68e;
--background-main: #fcfcfc;
--background-light: #f9f9f7;
--border-elegant: #e8e6e0;
--border-soft: #d4d0c7;
--shadow-soft: 0 2px 12px rgba(44, 62, 48, 0.08);
--shadow-medium: 0 4px 20px rgba(44, 62, 48, 0.12);
--transition-gentle: 0.3s ease;
--serif-font: 'Scheherazade New', 'Amiri', serif;
--sans-font: 'Cairo', sans-serif;
}
/* Figure container */
.mw-default-size {
max-width: 320px;
margin: 2rem auto;
background: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mw-default-size:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
/* Image link */
.mw-file-description {
display: block;
text-decoration: none;
position: relative;
overflow: hidden;
}
/* Image styling */
.mw-file-element {
width: 100%;
height: auto;
display: block;
transition: transform 0.3s ease;
}
.mw-file-description:hover .mw-file-element {
transform: scale(1.02);
}
/* Caption styling - emphasized */
figcaption {
padding: 1.2rem 1.5rem;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-top: 3px solid #007bff;
font-size: 1.1rem;
font-weight: 600;
color: #2c3e50;
text-align: center;
line-height: 1.4;
letter-spacing: 0.3px;
position: relative;
}
/* Add subtle accent to caption */
figcaption::before {
content: '';
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 3px;
background:#c9a87600 !important;
border-radius: 0 0 2px 2px;
}
/* Responsive adjustments */
@media (max-width: 480px) {
.mw-default-size {
max-width: 280px;
margin: 1.5rem auto;
}
figcaption {
padding: 1rem;
font-size: 1rem;
}
}
.mw-default-size,
figure[typeof="mw:File/Thumb"] {
background: var(--background-light);
border: 2px solid var(--border-elegant);
border-radius: 12px;
box-shadow: var(--shadow-soft);
overflow: hidden;
margin: 25px auto;
padding: 12px;
transition: var(--transition-gentle);
position: relative;
max-width: fit-content;
}
.mw-default-size:hover,
figure[typeof="mw:File/Thumb"]:hover {
box-shadow: var(--shadow-medium);
border-color: var(--accent-sage);
}
.mw-default-size::before,
figure[typeof="mw:File/Thumb"]::before {
content: '';
position: absolute;
top: 8px;
right: 8px;
width: 20px;
height: 3px;
background: linear-gradient(90deg, var(--accent-gold), var(--accent-sage));
border-radius: 2px;
opacity: 0.7;
}
.mw-file-description {
display: block;
border-radius: 8px;
overflow: hidden;
transition: var(--transition-gentle);
}
.mw-file-description:hover {
transform: scale(1.02);
}
.mw-file-element {
width: 100%;
height: auto;
border-radius: 8px;
transition: var(--transition-gentle);
filter: brightness(0.95) contrast(1.05);
}
.mw-file-element:hover {
filter: brightness(1) contrast(1.1);
}
/* تنسيق التسمية التوضيحية */
figcaption {
padding: 12px 15px 8px;
font-family: var(--sans-font);
font-size: 13px;
color: var(--text-muted);
text-align: center;
line-height: 1.4;
border-top: 1px solid var(--border-elegant);
margin-top: 8px;
position: relative;
}
figcaption::before {
content: '';
position: absolute;
top: -1px;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 1px;
background:#c9a87600 !important;
}
/* تنسيق الصور داخل المحتوى */
#content figure {
text-align: center;
}
#content figure img {
border-radius: 8px;
}
/* تنسيق للصور المختلفة الأحجام */
figure.mw-halign-right {
float: left;
margin: 0 0 20px 25px;
clear: left;
}
figure.mw-halign-left {
float: right;
margin: 0 25px 20px 0;
clear: right;
}
figure.mw-halign-center {
display: block;
margin: 25px auto;
float: none;
clear: both;
}
/* تأثيرات خاصة للصور الكبيرة */
figure[typeof="mw:File/Thumb"][data-file-width] {
position: relative;
}
figure[typeof="mw:File/Thumb"][data-file-width]::after {
content: '🕌';
position: absolute;
bottom: 15px;
left: 15px;
font-size: 16px;
opacity: 0.4;
color: var(--accent-gold);
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}
/* التصميم المتجاوب للصور */
@media (max-width: 768px) {
.mw-default-size,
figure[typeof="mw:File/Thumb"] {
margin: 20px 10px;
padding: 10px;
}
figure.mw-halign-right,
figure.mw-halign-left {
float: none;
margin: 20px auto;
max-width: 100%;
}
.mw-file-element {
max-width: 100%;
height: auto;
}
}
.vector-page-titlebar::after {
content: '';
display: block;
position: absolute;
bottom: 0;
right: 0;
left: 0;
height: 1px;
background-color: #a2a9b100 !important;
}
/* ========================
قاعدة التصميم - خلفية هادئة
========================= */
body {
background: var(--background-main);
color: var(--text-dark);
line-height: 1.8;
margin: 0;
padding: 0;
font-size: 16px;
font-family: var(--serif-font);
position: relative;
}
/* ========================
رأس الصفحة - بسيط وأنيق
========================= */
.mw-body-header {
background: linear-gradient(135deg, var(--background-light) 0%, var(--background-main) 100%);
border: 2px solid var(--border-soft);
border-bottom: 3px solid var(--accent-gold);
padding: 25px 35px;
text-align: center;
font-family: var(--sans-font);
font-size: 20px;
color: var(--primary-color);
font-weight: 600;
letter-spacing: 0.5px;
box-shadow: var(--shadow-soft);
position: relative;
transition: var(--transition-gentle);
}
.mw-body-header:hover {
border-bottom-color: var(--accent-green);
}
.mw-body-header::after {
content: '◆';
position: absolute;
top: 50%;
right: 25px;
transform: translateY(-50%);
font-size: 14px;
color: var(--accent-gold);
opacity: 0.7;
}
/* ========================
القائمة المنسدلة - هادئة
========================= */
.vector-dropdown {
position: relative;
display: inline-block;
cursor: pointer;
transition: var(--transition-gentle);
}
.vector-dropdown-content {
display: none;
position: absolute;
background: var(--background-main);
border: 2px solid var(--border-soft);
min-width: 220px;
border-radius: 8px;
box-shadow: var(--shadow-medium);
z-index: 1000;
overflow: hidden;
}
.vector-dropdown:hover .vector-dropdown-content {
display: block;
}
.vector-dropdown-content a {
display: block;
padding: 14px 20px;
color: var(--text-dark);
text-decoration: none;
font-family: var(--sans-font);
font-size: 14px;
font-weight: 400;
border-bottom: 1px solid var(--border-elegant);
transition: var(--transition-gentle);
}
.vector-dropdown-content a:last-child {
border-bottom: none;
}
.vector-dropdown-content a:hover {
background: var(--background-light);
color: var(--primary-color);
padding-right: 25px;
}
/* ========================
المحتوى الرئيسي - نظيف وهادئ
========================= */
#content {
background: var(--background-main);
border: 2px solid var(--border-elegant);
border-right: 4px solid var(--accent-sage);
padding: 50px 60px;
border-radius: 12px;
font-family: var(--serif-font);
font-size: 17px;
color: var(--text-dark);
box-shadow: var(--shadow-soft);
direction: rtl;
margin: 30px auto;
position: relative;
transition: var(--transition-gentle);
}
#content:hover {
box-shadow: var(--shadow-medium);
border-right-color: var(--accent-gold);
}
#content::after {
content: '☪';
position: absolute;
top: 20px;
right: 25px;
font-size: 18px;
color: var(--accent-gold);
opacity: 0.6;
}
/* ========================
العناوين - أنيقة ومقروءة
========================= */
#content h1 {
color: var(--primary-color);
text-align: center;
font-size: 2rem;
margin-bottom: 35px;
font-weight: 700;
padding-bottom: 15px;
position: relative;
}
#content h1::after {
content: '';
position: absolute;
bottom: -2px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 2px;
background: var(--accent-green);
}
#content h2 {
color: var(--secondary-color);
font-weight: 600;
font-size: 1.4rem;
border-bottom: 2px solid var(--border-soft);
padding-bottom: 8px;
margin-bottom: 20px;
margin-top: 35px;
transition: var(--transition-gentle);
}
#content h2:hover {
color: var(--primary-color);
border-bottom-color: var(--accent-sage);
}
#content h3, #content h4, #content h5, #content h6 {
color: var(--text-dark);
font-weight: 500;
margin-top: 25px;
margin-bottom: 15px;
transition: var(--transition-gentle);
}
#content h3 { font-size: 1.2rem; }
#content h4 { font-size: 1.1rem; }
/* ========================
النصوص والروابط
========================= */
#content p {
margin-bottom: 1.5em;
text-align: justify;
line-height: 1.8;
color: var(--text-dark);
}
#content a {
color: var(--accent-green);
text-decoration: none;
border-bottom: 1px solid var(--accent-sage);
padding-bottom: 1px;
transition: var(--transition-gentle);
font-weight: 500;
}
#content a:hover {
color: var(--primary-color);
border-bottom-color: var(--accent-gold);
}
/* ========================
التصنيفات - تصميم هادئ وجميل
========================= */
#catlinks {
background: var(--background-light);
border: 2px solid var(--border-elegant);
border-top: 3px solid var(--accent-sage);
padding: 25px 30px;
border-radius: 10px;
margin-top: 40px;
font-family: var(--sans-font);
font-size: 14px;
box-shadow: var(--shadow-soft);
color: var(--text-muted);
margin-left: auto;
margin-right: auto;
position: relative;
transition: var(--transition-gentle);
}
#catlinks:hover {
border-top-color: var(--accent-gold);
box-shadow: var(--shadow-medium);
}
#catlinks::before {
content: 'التصنيفات';
display: block;
font-weight: 600;
color: var(--primary-color);
margin-bottom: 15px;
font-size: 16px;
text-align: center;
border-bottom: 1px solid var(--border-elegant);
padding-bottom: 10px;
}
#catlinks a {
color: var(--text-dark);
font-weight: 400;
text-decoration: none;
padding: 8px 16px;
margin: 6px 8px 6px 0;
background: var(--background-main);
border: 1px solid var(--border-soft);
border-radius: 20px;
display: inline-block;
transition: var(--transition-gentle);
font-size: 13px;
font-family: var(--sans-font);
}
#catlinks a:hover {
color: var(--primary-color);
background: var(--background-light);
border-color: var(--accent-sage);
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(44, 62, 48, 0.1);
}
/* ========================
التصميم المتجاوب
========================= */
@media (max-width: 768px) {
#content {
margin: 20px 15px;
padding: 35px 25px;
}
.mw-body-header {
padding: 20px 25px;
font-size: 18px;
}
#catlinks {
margin: 25px 15px;
padding: 20px 25px;
}
#content h1 {
font-size: 1.6rem;
}
}
/* ========================
التركيز وإمكانية الوصول
========================= */
a:focus, .vector-dropdown:focus, #catlinks a:focus {
outline: 2px solid var(--accent-gold);
outline-offset: 2px;
box-shadow: 0 0 0 3px rgba(201, 168, 118, 0.2);
}
/* ========================
إخفاء العناصر غير المرغوبة
========================= */
.printfooter,
.vector-menu h3 {
display: none;
}
/* شريط التمرير المخصص */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: var(--border-elegant);
border-radius: 5px;
}
::-webkit-scrollbar-thumb {
background: var(--accent-sage);
border-radius: 5px;
border: 1px solid var(--border-elegant);
}
::-webkit-scrollbar-thumb:hover {
background: var(--accent-gold);
}
/* ========================
أنماط الطباعة
========================= */
@media print {
body, #content {
background: white !important;
box-shadow: none !important;
}
.mw-body-header::after, #content::after {
display: none;
}
#catlinks {
border: 1px solid #ccc;
}
}