الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»
المظهر
لا ملخص تعديل |
لا ملخص تعديل |
||
سطر ١: | سطر ١: | ||
@import url('https://fonts.googleapis.com/css2?family= | @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&display=swap'); | ||
:root { | :root { | ||
--primary-color: # | --primary-color: #1a472a; | ||
--secondary-color: # | --secondary-color: #2d5a3d; | ||
--tertiary-color: # | --tertiary-color: #4a7c59; | ||
--accent-gold: # | --accent-gold: #c9a961; | ||
--accent- | --accent-green: #5d8f47; | ||
--background-white: #fefefe; | --background-white: #fefefe; | ||
--text-dark: # | --background-cream: #faf9f7; | ||
--text-muted: # | --text-dark: #2c2c2c; | ||
--border-elegant: # | --text-muted: #666666; | ||
--shadow-subtle: 0 2px | --border-elegant: #e8e5e0; | ||
--shadow-elevated: 0 | --border-gold: #d4b76a; | ||
--transition-smooth: 0. | --shadow-subtle: 0 2px 12px rgba(26, 71, 42, 0.1); | ||
--serif-font: ' | --shadow-elevated: 0 6px 24px rgba(26, 71, 42, 0.15); | ||
--sans-font: ' | --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1); | ||
--serif-font: 'Amiri', 'Times New Roman', serif; | |||
--sans-font: 'Cairo', 'Segoe UI', sans-serif; | |||
} | } | ||
سطر ٢٢: | سطر ٢٤: | ||
========================= */ | ========================= */ | ||
body { | body { | ||
background- | background: linear-gradient(135deg, #f8f7f4 0%, #f2f0eb 100%); | ||
color: var(--text-dark); | color: var(--text-dark); | ||
line-height: 1. | line-height: 1.7; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
font-size: 16px; | font-size: 16px; | ||
font-family: var(--serif-font); | |||
} | } | ||
/* ======================== | /* ======================== | ||
Header Styling - | Header Styling - Sacred & Professional | ||
========================= */ | ========================= */ | ||
.mw-body-header { | .mw-body-header { | ||
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); | background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--tertiary-color) 100%); | ||
border-bottom: | border-bottom: 3px solid var(--accent-gold); | ||
padding: | padding: 24px 40px; | ||
text-align: center; | text-align: center; | ||
font-family: var(--sans-font); | font-family: var(--sans-font); | ||
font-size: | font-size: 20px; | ||
color: var(--background-white); | color: var(--background-white); | ||
font-weight: 600; | font-weight: 600; | ||
letter-spacing: | letter-spacing: 1px; | ||
box-shadow: var(--shadow- | box-shadow: var(--shadow-elevated); | ||
position: relative; | position: relative; | ||
overflow: hidden; | |||
} | } | ||
سطر ٥٣: | سطر ٥٧: | ||
left: 0; | left: 0; | ||
right: 0; | right: 0; | ||
height: | height: 4px; | ||
background:linear-gradient(90deg, transparent 0%, | background: linear-gradient(90deg, | ||
transparent 0%, | |||
var(--accent-gold) 20%, | |||
#f4e4a6 40%, | |||
var(--accent-gold) 60%, | |||
var(--accent-green) 80%, | |||
transparent 100%); | |||
animation: shimmer 3s ease-in-out infinite; | |||
} | |||
.mw-body-header::after { | |||
content: ''; | |||
position: absolute; | |||
top: 50%; | |||
left: 50%; | |||
width: 200px; | |||
height: 200px; | |||
background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%); | |||
transform: translate(-50%, -50%); | |||
pointer-events: none; | |||
} | |||
@keyframes shimmer { | |||
0%, 100% { opacity: 0.7; } | |||
50% { opacity: 1; } | |||
} | } | ||
/* ======================== | /* ======================== | ||
Dropdown Menu - | Dropdown Menu - Enhanced | ||
========================= */ | ========================= */ | ||
.vector-dropdown { | .vector-dropdown { | ||
سطر ٦٩: | سطر ٩٧: | ||
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
background | background: var(--background-white); | ||
min-width: | min-width: 220px; | ||
border: 1px solid var(--border- | border: 1px solid var(--border-gold); | ||
border-radius: | border-radius: 8px; | ||
box-shadow: var(--shadow-elevated); | box-shadow: var(--shadow-elevated); | ||
z-index: 1000; | z-index: 1000; | ||
overflow: hidden; | overflow: hidden; | ||
backdrop-filter: blur(10px); | |||
} | } | ||
.vector-dropdown:hover .vector-dropdown-content { | .vector-dropdown:hover .vector-dropdown-content { | ||
display: block; | display: block; | ||
animation: | animation: slideDown 0.3s ease-out; | ||
} | } | ||
@keyframes | @keyframes slideDown { | ||
from { opacity: 0; transform: translateY(- | from { | ||
to { opacity: 1; transform: translateY(0); } | opacity: 0; | ||
transform: translateY(-10px) scale(0.95); | |||
} | |||
to { | |||
opacity: 1; | |||
transform: translateY(0) scale(1); | |||
} | |||
} | } | ||
.vector-dropdown-content a { | .vector-dropdown-content a { | ||
display: block; | display: block; | ||
padding: | padding: 14px 18px; | ||
color: var(--text-dark); | color: var(--text-dark); | ||
text-decoration: none; | text-decoration: none; | ||
سطر ٩٧: | سطر ١٣٢: | ||
border-bottom: 1px solid var(--border-elegant); | border-bottom: 1px solid var(--border-elegant); | ||
transition: var(--transition-smooth); | transition: var(--transition-smooth); | ||
position: relative; | |||
} | } | ||
سطر ١٠٤: | سطر ١٤٠: | ||
.vector-dropdown-content a:hover { | .vector-dropdown-content a:hover { | ||
background- | background: linear-gradient(90deg, var(--background-cream) 0%, #f5f3ef 100%); | ||
padding-left: | padding-left: 24px; | ||
color: var(--primary-color); | |||
} | |||
.vector-dropdown-content a::before { | |||
content: ''; | |||
position: absolute; | |||
left: 0; | |||
top: 0; | |||
bottom: 0; | |||
width: 3px; | |||
background: var(--accent-gold); | |||
transform: scaleY(0); | |||
transition: var(--transition-smooth); | |||
} | |||
.vector-dropdown-content a:hover::before { | |||
transform: scaleY(1); | |||
} | } | ||
/* ======================== | /* ======================== | ||
Content Styling - | Content Styling - Scholarly & Sacred | ||
========================= */ | ========================= */ | ||
#content { | #content { | ||
background: var(--background-white); | background: var(--background-white); | ||
border: 1px solid var(--border-elegant); | border: 1px solid var(--border-elegant); | ||
padding: | padding: 50px 60px; | ||
border-radius: | border-radius: 12px; | ||
font-family: var(--serif-font); | font-family: var(--serif-font); | ||
font-size: | font-size: 17px; | ||
color: var(--text-dark); | color: var(--text-dark); | ||
box-shadow: var(--shadow- | box-shadow: var(--shadow-elevated); | ||
direction: rtl; | direction: rtl; | ||
margin: | margin: 30px auto; | ||
position: relative; | position: relative; | ||
max-width: 1200px; | |||
} | } | ||
سطر ١٣٠: | سطر ١٨٤: | ||
top: 0; | top: 0; | ||
left: 0; | left: 0; | ||
width: | width: 6px; | ||
height: 100%; | height: 100%; | ||
background: linear-gradient(180deg, var(--accent-gold), var(--accent- | background: linear-gradient(180deg, | ||
border-radius: 0 2px | var(--accent-gold) 0%, | ||
var(--accent-green) 50%, | |||
var(--primary-color) 100%); | |||
border-radius: 0 6px 6px 0; | |||
} | |||
#content::after { | |||
content: ''; | |||
position: absolute; | |||
top: 20px; | |||
right: 20px; | |||
width: 60px; | |||
height: 60px; | |||
background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%); | |||
border-radius: 50%; | |||
pointer-events: none; | |||
} | |||
#content h2 { | |||
color: var(--accent-green); | |||
font-weight: 700; | |||
border-bottom: 2px solid var(--border-gold); | |||
padding-bottom: 8px; | |||
margin-bottom: 20px; | |||
} | } | ||
#content h1 { | |||
color: var(--primary-color); | |||
text-align: center; | |||
font-size: 2rem; | |||
margin-bottom: 30px; | |||
position: relative; | |||
} | } | ||
#content h1::after { | |||
content: ''; | |||
position: absolute; | |||
bottom: -10px; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 80px; | |||
height: 3px; | |||
background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); | |||
} | } | ||
#content h1, #content h3, #content h4, #content h5, #content h6 { | #content h1, #content h3, #content h4, #content h5, #content h6 { | ||
font-weight: 700; | |||
font-size: 1.4rem !important; | |||
margin-top: 2em; | |||
margin-bottom: 0.8em; | |||
line-height: 1.3; | |||
color: var(--secondary-color); | |||
} | } | ||
#content h1 { font-size: | #content h1 { font-size: 28px; } | ||
#content h2 { font-size: | #content h2 { font-size: 24px; } | ||
#content h3 { font-size: | #content h3 { font-size: 20px; } | ||
#content p { | #content p { | ||
margin-bottom: 1. | margin-bottom: 1.4em; | ||
text-align: justify; | text-align: justify; | ||
line-height: 1.8; | |||
} | } | ||
سطر ١٦٤: | سطر ٢٥٤: | ||
color: var(--tertiary-color); | color: var(--tertiary-color); | ||
text-decoration: underline; | text-decoration: underline; | ||
text-decoration-color: var(--accent- | text-decoration-color: var(--accent-gold); | ||
text-underline-offset: | text-underline-offset: 3px; | ||
transition: var(--transition-smooth); | transition: var(--transition-smooth); | ||
font-weight: 500; | |||
} | } | ||
#content a:hover { | #content a:hover { | ||
color: var(-- | color: var(--primary-color); | ||
text-decoration-color: var(-- | text-decoration-color: var(--accent-green); | ||
text-shadow: 0 1px 2px rgba(26, 71, 42, 0.1); | |||
} | } | ||
/* ======================== | /* ======================== | ||
Categories Styling - | Categories Styling - Islamic Design | ||
========================= */ | ========================= */ | ||
#catlinks { | #catlinks { | ||
background: linear-gradient(135deg, | background: linear-gradient(135deg, var(--background-cream) 0%, #f4f2ee 100%); | ||
border: | border: 2px solid var(--border-gold); | ||
padding: | padding: 25px 30px; | ||
border-radius: | border-radius: 12px; | ||
margin-top: | margin-top: 40px; | ||
font-family: var(--sans-font); | font-family: var(--sans-font); | ||
font-size: 14px; | font-size: 14px; | ||
سطر ١٨٩: | سطر ٢٨١: | ||
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
position: relative; | |||
} | } | ||
سطر ١٩٤: | سطر ٢٨٧: | ||
content: 'التصنيفات'; | content: 'التصنيفات'; | ||
display: block; | display: block; | ||
font-weight: | font-weight: 700; | ||
color: var(--primary-color); | color: var(--primary-color); | ||
margin-bottom: | margin-bottom: 16px; | ||
font-size: | font-size: 16px; | ||
letter-spacing: 0. | letter-spacing: 0.5px; | ||
text-align: center; | |||
position: relative; | |||
} | |||
#catlinks::after { | |||
content: ''; | |||
position: absolute; | |||
top: 10px; | |||
right: 10px; | |||
width: 30px; | |||
height: 30px; | |||
background: radial-gradient(circle, rgba(201, 169, 97, 0.2) 0%, transparent 70%); | |||
border-radius: 50%; | |||
} | } | ||
سطر ٢٠٥: | سطر ٣١١: | ||
font-weight: 500; | font-weight: 500; | ||
text-decoration: none; | text-decoration: none; | ||
padding: | padding: 10px 18px; | ||
margin: | margin: 6px 8px 6px 0; | ||
background- | background: linear-gradient(135deg, var(--background-white) 0%, #fcfbf9 100%); | ||
border: | border: 2px solid var(--border-elegant); | ||
border-radius: | border-radius: 25px; | ||
display: inline-block; | display: inline-block; | ||
transition: var(--transition-smooth); | transition: var(--transition-smooth); | ||
سطر ٢١٥: | سطر ٣٢١: | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
font-family: var(--sans-font); | |||
} | } | ||
سطر ٢٢٤: | سطر ٣٣١: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
background: linear-gradient(90deg, transparent, rgba( | background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.15), transparent); | ||
transition: var(--transition-smooth); | transition: var(--transition-smooth); | ||
} | } | ||
#catlinks a:hover { | #catlinks a:hover { | ||
background-color | background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); | ||
color: var(--background-white); | color: var(--background-white); | ||
transform: translateY(- | transform: translateY(-2px); | ||
box-shadow: var(-- | box-shadow: 0 4px 12px rgba(26, 71, 42, 0.25); | ||
border-color: var(--accent-gold); | |||
} | } | ||
سطر ٢٤٤: | سطر ٣٥٢: | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
#content { | #content { | ||
margin: 15px; | margin: 20px 15px; | ||
padding: 25px | padding: 30px 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 { | |||
font-size: 1.5rem; | |||
} | } | ||
} | } | ||
سطر ٢٧٢: | سطر ٣٨٤: | ||
@media print { | @media print { | ||
body { | body { | ||
background | background: white; | ||
} | } | ||
سطر ٢٨١: | سطر ٣٩٣: | ||
#content { | #content { | ||
box-shadow: none; | box-shadow: none; | ||
border: | border: 1px solid #ccc; | ||
padding: 20px 0; | padding: 20px 0; | ||
} | } | ||
سطر ٢٨٨: | سطر ٤٠٠: | ||
/* Focus states for accessibility */ | /* Focus states for accessibility */ | ||
a:focus, .vector-dropdown:focus { | a:focus, .vector-dropdown:focus { | ||
outline: | outline: 3px solid var(--accent-gold); | ||
outline-offset: 2px; | outline-offset: 2px; | ||
} | } | ||
سطر ٣٠٠: | سطر ٤١٢: | ||
} | } | ||
/* | /* Enhanced scrollbar */ | ||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
width: | width: 10px; | ||
} | } | ||
::-webkit-scrollbar-track { | ::-webkit-scrollbar-track { | ||
background: var(--border-elegant); | background: var(--border-elegant); | ||
border-radius: 5px; | |||
} | } | ||
::-webkit-scrollbar-thumb { | ::-webkit-scrollbar-thumb { | ||
background: var(--tertiary-color); | background: linear-gradient(180deg, var(--tertiary-color), var(--primary-color)); | ||
border-radius: | border-radius: 5px; | ||
border: 1px solid var(--border-elegant); | |||
} | } | ||
::-webkit-scrollbar-thumb:hover { | ::-webkit-scrollbar-thumb:hover { | ||
background: var(--secondary-color); | background: linear-gradient(180deg, var(--secondary-color), var(--primary-color)); | ||
} | |||
/* ======================== | |||
Islamic Geometric Patterns (Subtle) | |||
========================= */ | |||
body::before { | |||
content: ''; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100%; | |||
background-image: | |||
radial-gradient(circle at 25% 25%, rgba(201, 169, 97, 0.02) 0%, transparent 25%), | |||
radial-gradient(circle at 75% 75%, rgba(93, 143, 71, 0.02) 0%, transparent 25%); | |||
pointer-events: none; | |||
z-index: -1; | |||
} | } |
مراجعة ١٠:٣٥، ٢٠ يوليو ٢٠٢٥
@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&display=swap');
:root {
--primary-color: #1a472a;
--secondary-color: #2d5a3d;
--tertiary-color: #4a7c59;
--accent-gold: #c9a961;
--accent-green: #5d8f47;
--background-white: #fefefe;
--background-cream: #faf9f7;
--text-dark: #2c2c2c;
--text-muted: #666666;
--border-elegant: #e8e5e0;
--border-gold: #d4b76a;
--shadow-subtle: 0 2px 12px rgba(26, 71, 42, 0.1);
--shadow-elevated: 0 6px 24px rgba(26, 71, 42, 0.15);
--transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--serif-font: 'Amiri', 'Times New Roman', serif;
--sans-font: 'Cairo', 'Segoe UI', sans-serif;
}
/* ========================
Base Styling
========================= */
body {
background: linear-gradient(135deg, #f8f7f4 0%, #f2f0eb 100%);
color: var(--text-dark);
line-height: 1.7;
margin: 0;
padding: 0;
font-size: 16px;
font-family: var(--serif-font);
}
/* ========================
Header Styling - Sacred & Professional
========================= */
.mw-body-header {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--tertiary-color) 100%);
border-bottom: 3px solid var(--accent-gold);
padding: 24px 40px;
text-align: center;
font-family: var(--sans-font);
font-size: 20px;
color: var(--background-white);
font-weight: 600;
letter-spacing: 1px;
box-shadow: var(--shadow-elevated);
position: relative;
overflow: hidden;
}
.mw-body-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg,
transparent 0%,
var(--accent-gold) 20%,
#f4e4a6 40%,
var(--accent-gold) 60%,
var(--accent-green) 80%,
transparent 100%);
animation: shimmer 3s ease-in-out infinite;
}
.mw-body-header::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 200px;
height: 200px;
background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
transform: translate(-50%, -50%);
pointer-events: none;
}
@keyframes shimmer {
0%, 100% { opacity: 0.7; }
50% { opacity: 1; }
}
/* ========================
Dropdown Menu - Enhanced
========================= */
.vector-dropdown {
position: relative;
display: inline-block;
cursor: pointer;
}
.vector-dropdown-content {
display: none;
position: absolute;
background: var(--background-white);
min-width: 220px;
border: 1px solid var(--border-gold);
border-radius: 8px;
box-shadow: var(--shadow-elevated);
z-index: 1000;
overflow: hidden;
backdrop-filter: blur(10px);
}
.vector-dropdown:hover .vector-dropdown-content {
display: block;
animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.vector-dropdown-content a {
display: block;
padding: 14px 18px;
color: var(--text-dark);
text-decoration: none;
font-family: var(--sans-font);
font-size: 14px;
border-bottom: 1px solid var(--border-elegant);
transition: var(--transition-smooth);
position: relative;
}
.vector-dropdown-content a:last-child {
border-bottom: none;
}
.vector-dropdown-content a:hover {
background: linear-gradient(90deg, var(--background-cream) 0%, #f5f3ef 100%);
padding-left: 24px;
color: var(--primary-color);
}
.vector-dropdown-content a::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background: var(--accent-gold);
transform: scaleY(0);
transition: var(--transition-smooth);
}
.vector-dropdown-content a:hover::before {
transform: scaleY(1);
}
/* ========================
Content Styling - Scholarly & Sacred
========================= */
#content {
background: var(--background-white);
border: 1px solid var(--border-elegant);
padding: 50px 60px;
border-radius: 12px;
font-family: var(--serif-font);
font-size: 17px;
color: var(--text-dark);
box-shadow: var(--shadow-elevated);
direction: rtl;
margin: 30px auto;
position: relative;
max-width: 1200px;
}
#content::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 6px;
height: 100%;
background: linear-gradient(180deg,
var(--accent-gold) 0%,
var(--accent-green) 50%,
var(--primary-color) 100%);
border-radius: 0 6px 6px 0;
}
#content::after {
content: '';
position: absolute;
top: 20px;
right: 20px;
width: 60px;
height: 60px;
background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
}
#content h2 {
color: var(--accent-green);
font-weight: 700;
border-bottom: 2px solid var(--border-gold);
padding-bottom: 8px;
margin-bottom: 20px;
}
#content h1 {
color: var(--primary-color);
text-align: center;
font-size: 2rem;
margin-bottom: 30px;
position: relative;
}
#content h1::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 3px;
background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}
#content h1, #content h3, #content h4, #content h5, #content h6 {
font-weight: 700;
font-size: 1.4rem !important;
margin-top: 2em;
margin-bottom: 0.8em;
line-height: 1.3;
color: var(--secondary-color);
}
#content h1 { font-size: 28px; }
#content h2 { font-size: 24px; }
#content h3 { font-size: 20px; }
#content p {
margin-bottom: 1.4em;
text-align: justify;
line-height: 1.8;
}
#content a {
color: var(--tertiary-color);
text-decoration: underline;
text-decoration-color: var(--accent-gold);
text-underline-offset: 3px;
transition: var(--transition-smooth);
font-weight: 500;
}
#content a:hover {
color: var(--primary-color);
text-decoration-color: var(--accent-green);
text-shadow: 0 1px 2px rgba(26, 71, 42, 0.1);
}
/* ========================
Categories Styling - Islamic Design
========================= */
#catlinks {
background: linear-gradient(135deg, var(--background-cream) 0%, #f4f2ee 100%);
border: 2px solid var(--border-gold);
padding: 25px 30px;
border-radius: 12px;
margin-top: 40px;
font-family: var(--sans-font);
font-size: 14px;
box-shadow: var(--shadow-subtle);
color: var(--text-muted);
margin-left: auto;
margin-right: auto;
position: relative;
}
#catlinks::before {
content: 'التصنيفات';
display: block;
font-weight: 700;
color: var(--primary-color);
margin-bottom: 16px;
font-size: 16px;
letter-spacing: 0.5px;
text-align: center;
position: relative;
}
#catlinks::after {
content: '';
position: absolute;
top: 10px;
right: 10px;
width: 30px;
height: 30px;
background: radial-gradient(circle, rgba(201, 169, 97, 0.2) 0%, transparent 70%);
border-radius: 50%;
}
#catlinks a {
color: var(--text-dark);
font-weight: 500;
text-decoration: none;
padding: 10px 18px;
margin: 6px 8px 6px 0;
background: linear-gradient(135deg, var(--background-white) 0%, #fcfbf9 100%);
border: 2px solid var(--border-elegant);
border-radius: 25px;
display: inline-block;
transition: var(--transition-smooth);
font-size: 13px;
position: relative;
overflow: hidden;
font-family: var(--sans-font);
}
#catlinks a::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.15), transparent);
transition: var(--transition-smooth);
}
#catlinks a:hover {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: var(--background-white);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(26, 71, 42, 0.25);
border-color: var(--accent-gold);
}
#catlinks a:hover::before {
left: 100%;
}
/* ========================
Responsive Design
========================= */
@media (max-width: 768px) {
#content {
margin: 20px 15px;
padding: 30px 25px;
}
.mw-body-header {
padding: 20px 25px;
font-size: 18px;
}
#catlinks {
margin: 25px 15px;
padding: 20px 25px;
}
#content h1 {
font-size: 1.5rem;
}
}
/* ========================
Accessibility & Print
========================= */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
@media print {
body {
background: white;
}
.mw-body-header, #catlinks {
display: none;
}
#content {
box-shadow: none;
border: 1px solid #ccc;
padding: 20px 0;
}
}
/* Focus states for accessibility */
a:focus, .vector-dropdown:focus {
outline: 3px solid var(--accent-gold);
outline-offset: 2px;
}
/* ========================
Utility Classes
========================= */
.printfooter,
.vector-menu h3 {
display: none;
}
/* Enhanced scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: var(--border-elegant);
border-radius: 5px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, var(--tertiary-color), var(--primary-color));
border-radius: 5px;
border: 1px solid var(--border-elegant);
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
}
/* ========================
Islamic Geometric Patterns (Subtle)
========================= */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
radial-gradient(circle at 25% 25%, rgba(201, 169, 97, 0.02) 0%, transparent 25%),
radial-gradient(circle at 75% 75%, rgba(93, 143, 71, 0.02) 0%, transparent 25%);
pointer-events: none;
z-index: -1;
}