الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»
المظهر
لا ملخص تعديل |
لا ملخص تعديل |
||
سطر ٢: | سطر ٢: | ||
:root { | :root { | ||
/* | /* ألوان هادئة مناسبة لموضوع زيارة الإمام الحسين */ | ||
--primary-color: # | --primary-color: #2d4a3e; | ||
--secondary-color: # | --secondary-color: #4a6b5c; | ||
--text-dark: # | --text-dark: #2c3e30; | ||
--text-muted: # | --text-muted: #5a6b5a; | ||
--accent- | --accent-gold: #c9a876; | ||
--accent- | --accent-green: #6b8e5a; | ||
--accent- | --accent-sage: #8fa68e; | ||
--background-main: # | --background-main: #fcfcfc; | ||
--background-light: # | --background-light: #f9f9f7; | ||
--border-elegant: #e8e6e0; | |||
--border-elegant: # | --border-soft: #d4d0c7; | ||
--border- | --shadow-soft: 0 2px 12px rgba(44, 62, 48, 0.08); | ||
--shadow-soft: 0 2px 12px rgba( | --shadow-medium: 0 4px 20px rgba(44, 62, 48, 0.12); | ||
--shadow-medium: 0 4px 20px rgba( | |||
--transition-gentle: 0.3s ease; | --transition-gentle: 0.3s ease; | ||
--serif-font: 'Scheherazade New', 'Amiri', serif; | --serif-font: 'Scheherazade New', 'Amiri', serif; | ||
--sans-font: 'Cairo', sans-serif; | --sans-font: 'Cairo', sans-serif; | ||
} | } | ||
/* ======================== | /* ======================== | ||
تنسيق الصور - أنيق ومناسب | |||
========================= */ | ========================= */ | ||
.mw-default-size, | .mw-default-size, | ||
figure[typeof="mw:File/Thumb"] { | figure[typeof="mw:File/Thumb"] { | ||
background: var(--background- | background: var(--background-light); | ||
border: 2px solid var(--border-elegant); | border: 2px solid var(--border-elegant); | ||
border-radius: | border-radius: 12px; | ||
box-shadow: var(--shadow-soft); | box-shadow: var(--shadow-soft); | ||
overflow: hidden; | overflow: hidden; | ||
margin: 25px auto; | margin: 25px auto; | ||
padding: | padding: 12px; | ||
transition: var(--transition-gentle); | transition: var(--transition-gentle); | ||
position: relative; | position: relative; | ||
سطر ٤٢: | سطر ٤٠: | ||
figure[typeof="mw:File/Thumb"]:hover { | figure[typeof="mw:File/Thumb"]:hover { | ||
box-shadow: var(--shadow-medium); | box-shadow: var(--shadow-medium); | ||
border-color: var(--accent- | border-color: var(--accent-sage); | ||
} | } | ||
سطر ٥١: | سطر ٤٩: | ||
top: 8px; | top: 8px; | ||
right: 8px; | right: 8px; | ||
width: | width: 20px; | ||
height: 3px; | height: 3px; | ||
background: var(--accent- | background: linear-gradient(90deg, var(--accent-gold), var(--accent-sage)); | ||
border-radius: 2px; | border-radius: 2px; | ||
opacity: 0. | opacity: 0.7; | ||
} | } | ||
.mw-file-description { | .mw-file-description { | ||
display: block; | display: block; | ||
border-radius: | border-radius: 8px; | ||
overflow: hidden; | overflow: hidden; | ||
transition: var(--transition-gentle); | transition: var(--transition-gentle); | ||
سطر ٦٦: | سطر ٦٤: | ||
.mw-file-description:hover { | .mw-file-description:hover { | ||
transform: scale(1. | transform: scale(1.02); | ||
} | } | ||
سطر ٧٢: | سطر ٧٠: | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
border-radius: | border-radius: 8px; | ||
transition: var(--transition-gentle); | transition: var(--transition-gentle); | ||
filter: | filter: brightness(0.95) contrast(1.05); | ||
} | } | ||
.mw-file-element:hover { | .mw-file-element:hover { | ||
filter: contrast(1. | filter: brightness(1) contrast(1.1); | ||
} | } | ||
/* | /* تنسيق التسمية التوضيحية */ | ||
figcaption { | figcaption { | ||
padding: | padding: 12px 15px 8px; | ||
font-family: var(--sans-font); | font-family: var(--sans-font); | ||
font-size: | font-size: 13px; | ||
color: var(--text-muted); | color: var(--text-muted); | ||
text-align: center; | text-align: center; | ||
line-height: 1. | line-height: 1.4; | ||
border-top: | border-top: 1px solid var(--border-elegant); | ||
margin-top: | margin-top: 8px; | ||
background: var(-- | position: relative; | ||
} | |||
figcaption::before { | |||
content: ''; | |||
position: absolute; | |||
top: -1px; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 40px; | |||
height: 1px; | |||
background: var(--accent-gold); | |||
} | } | ||
/* | /* تنسيق الصور داخل المحتوى */ | ||
#content figure { | #content figure { | ||
margin: | margin: 30px 0; | ||
text-align: center; | text-align: center; | ||
} | } | ||
#content figure img { | #content figure img { | ||
border-radius: | border-radius: 8px; | ||
} | } | ||
/* | /* تنسيق للصور المختلفة الأحجام */ | ||
figure.mw-halign-right { | figure.mw-halign-right { | ||
float: left; | float: left; | ||
margin: 0 0 | margin: 0 0 20px 25px; | ||
clear: left; | clear: left; | ||
} | } | ||
سطر ١١٣: | سطر ١٢٢: | ||
figure.mw-halign-left { | figure.mw-halign-left { | ||
float: right; | float: right; | ||
margin: 0 | margin: 0 25px 20px 0; | ||
clear: right; | clear: right; | ||
} | } | ||
سطر ١١٩: | سطر ١٢٨: | ||
figure.mw-halign-center { | figure.mw-halign-center { | ||
display: block; | display: block; | ||
margin: | margin: 25px auto; | ||
float: none; | float: none; | ||
clear: both; | clear: both; | ||
} | } | ||
/* | /* تأثيرات خاصة للصور الكبيرة */ | ||
figure[typeof="mw:File/Thumb"][data-file-width] { | |||
position: relative; | |||
} | |||
figure[typeof="mw:File/Thumb"][data-file-width]::after { | figure[typeof="mw:File/Thumb"][data-file-width]::after { | ||
content: ' | content: '🕌'; | ||
position: absolute; | position: absolute; | ||
bottom: | bottom: 15px; | ||
left: | left: 15px; | ||
font-size: | font-size: 16px; | ||
color: var(--accent- | opacity: 0.4; | ||
color: var(--accent-gold); | |||
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0. | text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); | ||
} | } | ||
/* | /* التصميم المتجاوب للصور */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.mw-default-size, | .mw-default-size, | ||
figure[typeof="mw:File/Thumb"] { | figure[typeof="mw:File/Thumb"] { | ||
margin: 20px | margin: 20px 10px; | ||
padding: | padding: 10px; | ||
} | } | ||
سطر ١٦٥: | سطر ١٧٨: | ||
left: 0; | left: 0; | ||
height: 1px; | height: 1px; | ||
background-color: | background-color: #a2a9b100 !important; | ||
} | } | ||
/* ======================== | /* ======================== | ||
قاعدة التصميم - خلفية هادئة | |||
========================= */ | ========================= */ | ||
body { | body { | ||
background: var(--background-main); | background: var(--background-main); | ||
color: var(--text-dark); | color: var(--text-dark); | ||
line-height: 1. | line-height: 1.8; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
font-size: 16px; | font-size: 16px; | ||
font-family: var(--serif-font); | font-family: var(--serif-font); | ||
position: relative; | |||
} | } | ||
/* ======================== | /* ======================== | ||
رأس الصفحة - بسيط وأنيق | |||
========================= */ | ========================= */ | ||
.mw-body-header { | .mw-body-header { | ||
background: var(--background-light); | background: linear-gradient(135deg, var(--background-light) 0%, var(--background-main) 100%); | ||
border: 2px solid var(--border- | border: 2px solid var(--border-soft); | ||
border-bottom: | border-bottom: 3px solid var(--accent-gold); | ||
padding: | padding: 25px 35px; | ||
text-align: center; | text-align: center; | ||
font-family: var(--sans-font); | font-family: var(--sans-font); | ||
font-size: | font-size: 20px; | ||
color: var(--primary-color); | color: var(--primary-color); | ||
font-weight: 600; | font-weight: 600; | ||
letter-spacing: 0. | letter-spacing: 0.5px; | ||
box-shadow: var(--shadow-soft); | box-shadow: var(--shadow-soft); | ||
position: relative; | position: relative; | ||
سطر ٢٠١: | سطر ٢١٤: | ||
.mw-body-header:hover { | .mw-body-header:hover { | ||
border-bottom-color: var(--accent- | border-bottom-color: var(--accent-green); | ||
} | } | ||
سطر ٢٠٨: | سطر ٢٢١: | ||
position: absolute; | position: absolute; | ||
top: 50%; | top: 50%; | ||
right: | right: 25px; | ||
transform: translateY(-50%); | transform: translateY(-50%); | ||
font-size: | font-size: 14px; | ||
color: var(--accent- | color: var(--accent-gold); | ||
opacity: 0. | opacity: 0.7; | ||
} | } | ||
/* ======================== | /* ======================== | ||
القائمة المنسدلة - هادئة | |||
========================= */ | ========================= */ | ||
.vector-dropdown { | .vector-dropdown { | ||
سطر ٢٢٩: | سطر ٢٤٢: | ||
position: absolute; | position: absolute; | ||
background: var(--background-main); | background: var(--background-main); | ||
border: 2px solid var(--border- | border: 2px solid var(--border-soft); | ||
min-width: | min-width: 220px; | ||
border-radius: | border-radius: 8px; | ||
box-shadow: var(--shadow-medium); | box-shadow: var(--shadow-medium); | ||
z-index: 1000; | z-index: 1000; | ||
سطر ٢٤٣: | سطر ٢٥٦: | ||
.vector-dropdown-content a { | .vector-dropdown-content a { | ||
display: block; | display: block; | ||
padding: | padding: 14px 20px; | ||
color: var(--text-dark); | color: var(--text-dark); | ||
text-decoration: none; | text-decoration: none; | ||
font-family: var(--sans-font); | font-family: var(--sans-font); | ||
font-size: | font-size: 14px; | ||
font-weight: 400; | font-weight: 400; | ||
border-bottom: 1px solid var(--border-elegant); | border-bottom: 1px solid var(--border-elegant); | ||
سطر ٢٥٨: | سطر ٢٧١: | ||
.vector-dropdown-content a:hover { | .vector-dropdown-content a:hover { | ||
background: var(--background- | background: var(--background-light); | ||
color: var(--primary-color); | color: var(--primary-color); | ||
padding-right: | padding-right: 25px; | ||
} | } | ||
/* ======================== | /* ======================== | ||
المحتوى الرئيسي - نظيف وهادئ | |||
========================= */ | ========================= */ | ||
#content { | #content { | ||
background: var(--background-main); | background: var(--background-main); | ||
border: 2px solid var(--border-elegant); | border: 2px solid var(--border-elegant); | ||
border-right: | border-right: 4px solid var(--accent-sage); | ||
padding: | padding: 50px 60px; | ||
border-radius: | border-radius: 12px; | ||
font-family: var(--serif-font); | font-family: var(--serif-font); | ||
font-size: 17px; | font-size: 17px; | ||
سطر ٢٧٧: | سطر ٢٩٠: | ||
box-shadow: var(--shadow-soft); | box-shadow: var(--shadow-soft); | ||
direction: rtl; | direction: rtl; | ||
margin: | margin: 30px auto; | ||
position: relative; | position: relative; | ||
transition: var(--transition-gentle); | transition: var(--transition-gentle); | ||
سطر ٢٨٤: | سطر ٢٩٧: | ||
#content:hover { | #content:hover { | ||
box-shadow: var(--shadow-medium); | box-shadow: var(--shadow-medium); | ||
border-right-color: var(--accent- | border-right-color: var(--accent-gold); | ||
} | } | ||
#content::after { | #content::after { | ||
content: ' | content: '☪'; | ||
position: absolute; | position: absolute; | ||
top: | top: 20px; | ||
right: | right: 25px; | ||
font-size: | font-size: 18px; | ||
color: var(--accent- | color: var(--accent-gold); | ||
opacity: 0.6; | opacity: 0.6; | ||
} | } | ||
/* ======================== | /* ======================== | ||
العناوين - أنيقة ومقروءة | |||
========================= */ | ========================= */ | ||
#content h1 { | #content h1 { | ||
color: var(--primary-color); | color: var(--primary-color); | ||
text-align: center; | text-align: center; | ||
font-size: | font-size: 2rem; | ||
margin-bottom: | margin-bottom: 35px; | ||
font-weight: 700; | font-weight: 700; | ||
padding-bottom: | padding-bottom: 15px; | ||
position: relative; | position: relative; | ||
} | } | ||
سطر ٣١٤: | سطر ٣٢٦: | ||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; | ||
bottom: - | bottom: -2px; | ||
left: 50%; | left: 50%; | ||
transform: translateX(-50%); | transform: translateX(-50%); | ||
width: | width: 80px; | ||
height: | height: 2px; | ||
background: var(--accent- | background: var(--accent-green); | ||
} | } | ||
سطر ٣٢٥: | سطر ٣٣٧: | ||
color: var(--secondary-color); | color: var(--secondary-color); | ||
font-weight: 600; | font-weight: 600; | ||
font-size: 1. | font-size: 1.4rem; | ||
border-bottom: 2px solid var(--border- | border-bottom: 2px solid var(--border-soft); | ||
padding-bottom: | padding-bottom: 8px; | ||
margin-bottom: | margin-bottom: 20px; | ||
margin-top: | margin-top: 35px; | ||
transition: var(--transition-gentle); | transition: var(--transition-gentle); | ||
} | } | ||
سطر ٣٣٥: | سطر ٣٤٧: | ||
#content h2:hover { | #content h2:hover { | ||
color: var(--primary-color); | color: var(--primary-color); | ||
border-bottom-color: var(--accent- | border-bottom-color: var(--accent-sage); | ||
} | } | ||
سطر ٣٤١: | سطر ٣٥٣: | ||
color: var(--text-dark); | color: var(--text-dark); | ||
font-weight: 500; | font-weight: 500; | ||
margin-top: | margin-top: 25px; | ||
margin-bottom: | margin-bottom: 15px; | ||
transition: var(--transition-gentle); | transition: var(--transition-gentle); | ||
} | } | ||
#content h3 { | #content h3 { font-size: 1.2rem; } | ||
#content h4 { font-size: 1.1rem; } | |||
} | |||
#content h4 { | |||
} | |||
/* ======================== | /* ======================== | ||
النصوص والروابط | |||
========================= */ | ========================= */ | ||
#content p { | #content p { | ||
margin-bottom: 1. | margin-bottom: 1.5em; | ||
text-align: justify; | text-align: justify; | ||
line-height: 1.8; | line-height: 1.8; | ||
سطر ٣٦٨: | سطر ٣٧٢: | ||
#content a { | #content a { | ||
color: var(--accent- | color: var(--accent-green); | ||
text-decoration: none; | text-decoration: none; | ||
border-bottom: 1px solid var(--accent- | border-bottom: 1px solid var(--accent-sage); | ||
padding-bottom: | padding-bottom: 1px; | ||
transition: var(--transition-gentle); | transition: var(--transition-gentle); | ||
font-weight: 500; | font-weight: 500; | ||
سطر ٣٧٨: | سطر ٣٨٢: | ||
#content a:hover { | #content a:hover { | ||
color: var(--primary-color); | color: var(--primary-color); | ||
border-bottom-color: var(--accent- | border-bottom-color: var(--accent-gold); | ||
} | } | ||
/* ======================== | /* ======================== | ||
التصنيفات - تصميم هادئ وجميل | |||
========================= */ | ========================= */ | ||
#catlinks { | #catlinks { | ||
background: var(--background-light); | background: var(--background-light); | ||
border: 2px solid var(--border- | border: 2px solid var(--border-elegant); | ||
border-top: | border-top: 3px solid var(--accent-sage); | ||
padding: | padding: 25px 30px; | ||
border-radius: | border-radius: 10px; | ||
margin-top: | margin-top: 40px; | ||
font-family: var(--sans-font); | font-family: var(--sans-font); | ||
font-size: | font-size: 14px; | ||
box-shadow: var(--shadow-soft); | box-shadow: var(--shadow-soft); | ||
color: var(--text-muted); | color: var(--text-muted); | ||
سطر ٤٠٣: | سطر ٤٠٦: | ||
#catlinks:hover { | #catlinks:hover { | ||
border-top-color: var(--accent- | border-top-color: var(--accent-gold); | ||
box-shadow: var(--shadow-medium); | box-shadow: var(--shadow-medium); | ||
} | } | ||
سطر ٤١٢: | سطر ٤١٥: | ||
font-weight: 600; | font-weight: 600; | ||
color: var(--primary-color); | color: var(--primary-color); | ||
margin-bottom: | margin-bottom: 15px; | ||
font-size: | font-size: 16px; | ||
text-align: center; | text-align: center; | ||
border-bottom: | border-bottom: 1px solid var(--border-elegant); | ||
padding-bottom: | padding-bottom: 10px; | ||
} | } | ||
#catlinks a { | #catlinks a { | ||
color: var(--text-dark); | color: var(--text-dark); | ||
font-weight: | font-weight: 400; | ||
text-decoration: none; | text-decoration: none; | ||
padding: | padding: 8px 16px; | ||
margin: 8px | margin: 6px 8px 6px 0; | ||
background: var(--background-main); | background: var(--background-main); | ||
border: | border: 1px solid var(--border-soft); | ||
border-radius: | border-radius: 20px; | ||
display: inline-block; | display: inline-block; | ||
transition: var(--transition-gentle); | transition: var(--transition-gentle); | ||
font-size: | font-size: 13px; | ||
font-family: var(--sans-font); | font-family: var(--sans-font); | ||
} | } | ||
سطر ٤٣٦: | سطر ٤٣٩: | ||
#catlinks a:hover { | #catlinks a:hover { | ||
color: var(--primary-color); | color: var(--primary-color); | ||
background: var(--background- | background: var(--background-light); | ||
border-color: var(--accent- | border-color: var(--accent-sage); | ||
transform: translateY(- | transform: translateY(-1px); | ||
box-shadow: 0 | box-shadow: 0 2px 8px rgba(44, 62, 48, 0.1); | ||
} | } | ||
/* ======================== | /* ======================== | ||
التصميم المتجاوب | |||
========================= */ | ========================= */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
#content { | #content { | ||
margin: | margin: 20px 15px; | ||
padding: | padding: 35px 25px; | ||
} | } | ||
.mw-body-header { | .mw-body-header { | ||
padding: | padding: 20px 25px; | ||
font-size: | font-size: 18px; | ||
} | } | ||
#catlinks { | #catlinks { | ||
margin: | margin: 25px 15px; | ||
padding: | padding: 20px 25px; | ||
} | } | ||
#content h1 { | #content h1 { | ||
font-size: 1. | font-size: 1.6rem; | ||
} | } | ||
} | } | ||
/* ======================== | /* ======================== | ||
التركيز وإمكانية الوصول | |||
========================= */ | ========================= */ | ||
a:focus, .vector-dropdown:focus, #catlinks a:focus { | a:focus, .vector-dropdown:focus, #catlinks a:focus { | ||
outline: | outline: 2px solid var(--accent-gold); | ||
outline-offset: 2px; | outline-offset: 2px; | ||
box-shadow: 0 0 0 | box-shadow: 0 0 0 3px rgba(201, 168, 118, 0.2); | ||
} | } | ||
/* ======================== | /* ======================== | ||
إخفاء العناصر غير المرغوبة | |||
========================= */ | ========================= */ | ||
.printfooter, | .printfooter, | ||
سطر ٤٨٣: | سطر ٤٨٦: | ||
} | } | ||
/* | /* شريط التمرير المخصص */ | ||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
width: | width: 10px; | ||
} | } | ||
::-webkit-scrollbar-track { | ::-webkit-scrollbar-track { | ||
background: var(-- | background: var(--border-elegant); | ||
border-radius: | border-radius: 5px; | ||
} | } | ||
::-webkit-scrollbar-thumb { | ::-webkit-scrollbar-thumb { | ||
background: var(--accent- | background: var(--accent-sage); | ||
border-radius: | border-radius: 5px; | ||
border: | border: 1px solid var(--border-elegant); | ||
} | } | ||
::-webkit-scrollbar-thumb:hover { | ::-webkit-scrollbar-thumb:hover { | ||
background: var(--accent- | background: var(--accent-gold); | ||
} | } | ||
/* ======================== | /* ======================== | ||
أنماط الطباعة | |||
========================= */ | ========================= */ | ||
@media print { | @media print { | ||
سطر ٥١٠: | سطر ٥١٣: | ||
background: white !important; | background: white !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
سطر ٥١٨: | سطر ٥٢٠: | ||
#catlinks { | #catlinks { | ||
border | 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');
: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;
}
/* ========================
تنسيق الصور - أنيق ومناسب
========================= */
.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: var(--accent-gold);
}
/* تنسيق الصور داخل المحتوى */
#content figure {
margin: 30px 0;
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;
}
}