انتقل إلى المحتوى

الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»

من موسوعة زيارة الاربعين
تراجع عن المراجعة 190 بواسطة Admin (نقاش).
وسم: رجوع
لا ملخص تعديل
سطر ١: سطر ١:
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:[email protected]&display=swap');
/* ========================
   .mw-body-header {
   Root Variables
            background: linear-gradient(135deg, #f7f3f0 0%, #ede7e0 50%, #f2ebe4 100%);
========================= */
            border-bottom: 3px solid transparent;
            border-image: linear-gradient(90deg, #d4af37, #b8860b, #daa520) 1;
            padding: 1.5rem 2rem;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1.5rem;
            overflow: hidden;
        }
 
        /* Layered Islamic patterns */
        .mw-body-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            right: -50%;
            bottom: -50%;
            background:
                radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 30%),
                radial-gradient(circle at 70% 80%, rgba(184, 134, 11, 0.06) 0%, transparent 25%),
                conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(218, 165, 32, 0.03) 60deg, transparent 120deg, rgba(212, 175, 55, 0.04) 180deg, transparent 240deg, rgba(184, 134, 11, 0.02) 300deg, transparent 360deg);
            background-size: 200px 200px, 150px 150px, 300px 300px;
            animation: rotatePattern 30s linear infinite;
            z-index: 0;
        }
 
        .mw-body-header::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='0.3' opacity='0.15'%3E%3Cpath d='M40 10 L50 30 L70 30 L56 42 L60 62 L40 50 L20 62 L24 42 L10 30 L30 30 Z'/%3E%3Ccircle cx='40' cy='40' r='35' stroke-width='0.2'/%3E%3C/g%3E%3C/svg%3E") repeat;
            background-size: 80px 80px;
            z-index: 1;
        }
 
        @keyframes rotatePattern {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
 
        .vector-toc-landmark {
            position: relative;
            z-index: 2;
        }
 
        .vector-dropdown {
            position: relative;
            display: inline-block;
        }
 
        .vector-dropdown-checkbox {
            display: none;
        }
 
        .vector-dropdown-label {
            background: linear-gradient(135deg, #8b7355 0%, #a0845c 100%);
            color: #f5f5dc;
            border: none;
            padding: 0.8rem 1.2rem;
            border-radius: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            box-shadow: 0 3px 12px rgba(139, 115, 85, 0.25);
            position: relative;
            overflow: hidden;
        }
 
        .vector-dropdown-label::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s;
        }
 
        .vector-dropdown-label:hover {
            background: linear-gradient(135deg, #a0845c 0%, #8b7355 100%);
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(139, 115, 85, 0.35);
        }
 
        .vector-dropdown-label:hover::before {
            left: 100%;
        }
 
        .vector-icon {
            display: inline-flex;
            width: 18px;
            height: 18px;
            color: #f5f5dc;
        }
 
        .vector-icon::before {
            content: '◈';
            font-size: 16px;
            color: #d4af37;
        }
 
        .vector-dropdown-content {
            display: none;
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: linear-gradient(145deg, #faf8f5, #f0ede8);
            min-width: 220px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(139, 115, 85, 0.1);
            border-radius: 12px;
            border: 1px solid rgba(212, 175, 55, 0.2);
            z-index: 1000;
            overflow: hidden;
            backdrop-filter: blur(8px);
        }
 
        .vector-dropdown-content::before {
            content: '';
            position: absolute;
            top: -6px;
            right: 20px;
            width: 12px;
            height: 12px;
            background: #faf8f5;
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-bottom: none;
            border-right: none;
            transform: rotate(45deg);
        }
 
        .vector-dropdown:hover .vector-dropdown-content {
            display: block;
            animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
 
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-8px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
 
        .vector-unpinned-container {
            padding: 1rem 0;
        }
 
        .vector-unpinned-container::after {
            content: 'فهرس المحتويات';
            display: block;
            padding: 0.8rem 1.2rem;
            color: #8b7355;
            font-weight: 600;
            border-bottom: 2px solid rgba(212, 175, 55, 0.15);
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
        }
 
        .firstHeading {
            flex: 1;
            text-align: center;
            margin: 0;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
        }
 
        .mw-page-title-main {
            font-size: 2.2rem;
            color: #5d4e37;
            font-weight: 700;
            font-family: 'Amiri', 'Times New Roman', serif;
            text-shadow:
                1px 1px 0 rgba(212, 175, 55, 0.3),
                2px 2px 4px rgba(93, 78, 55, 0.1);
            position: relative;
            display: inline-block;
        }
 
        .mw-page-title-main::before,
        .mw-page-title-main::after {
            content: '❋';
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #d4af37;
            font-size: 1.5rem;
            opacity: 0.7;
            animation: pulse 2s ease-in-out infinite alternate;
        }
 
        .mw-page-title-main::before {
            right: -3rem;
        }
 
        .mw-page-title-main::after {
            left: -3rem;
        }
 
        @keyframes pulse {
            0% { opacity: 0.5; transform: translateY(-50%) scale(0.9); }
            100% { opacity: 0.8; transform: translateY(-50%) scale(1.1); }
        }
 
        #ca-addsection {
            background: linear-gradient(135deg, #556b2f 0%, #6b8e23 50%, #808000 100%);
            color: #f0f8e8;
            text-decoration: none;
            padding: 0.8rem 1.5rem;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            z-index: 2;
            box-shadow: 0 3px 12px rgba(85, 107, 47, 0.25);
            overflow: hidden;
        }
 
        #ca-addsection::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(240, 248, 232, 0.2), transparent);
            transition: left 0.6s;
        }
 
        #ca-addsection:hover {
            background: linear-gradient(135deg, #6b8e23 0%, #556b2f 50%, #808000 100%);
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(85, 107, 47, 0.35);
        }
 
        #ca-addsection:hover::before {
            left: 100%;
        }
 
        .vector-icon.mw-ui-icon-speechBubbleAdd-progressive {
            color: #d4af37;
        }
 
        .vector-icon.mw-ui-icon-speechBubbleAdd-progressive::before {
            content: '✦';
            font-size: 18px;
            font-weight: bold;
        }
 
        /* Responsive */
        @media (max-width: 768px) {
            .mw-body-header {
                flex-direction: column;
                text-align: center;
                padding: 1.5rem 1rem;
                gap: 1rem;
            }
 
            .firstHeading {
                order: 1;
                margin: 1rem 0;
                padding: 0;
            }
 
            .mw-page-title-main {
                font-size: 1.8rem;
            }
 
            .mw-page-title-main::before,
            .mw-page-title-main::after {
                display: none;
            }
 
            .vector-toc-landmark {
                order: 0;
            }
 
            #ca-addsection {
                order: 2;
            }
        }
 
        /* Subtle animation for the whole header */
        .mw-body-header {
            animation: headerGlow 8s ease-in-out infinite alternate;
        }
 
        @keyframes headerGlow {
            0% {
                box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
            }
            100% {
                box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
            }
        }
:root {
:root {
   --soft-lavender: #f8f6ff;
   --primary-color: #f7d9aa;
   --pale-mint: #f0f8f5;
   --secondary-color: #deae63;
   --cream-white: #fdfcf8;
   --tertiary-color: #b88b4a;
   --dusty-rose: #f5f0f3;
   --hover-color: #f1c87b;
   --soft-blue: #e8f2ff;
   --background-gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  --gentle-purple: #e6e0ff;
   --box-shadow-glow: 0 0 15px rgba(255, 206, 115, 0.6);
  --warm-beige: #f9f7f4;
   --transition-fast: 0.3s ease-in-out;
  --subtle-gray: #f4f4f6;
   --pulse-glow: 0 0 10px rgba(255, 206, 115, 0.6);
   --muted-text: #5a5a6b;
  --accent-purple: #8b7fb8;
   --accent-mint: #7ba898;
  --accent-rose: #c4a5b0;
   --soft-shadow: rgba(139, 127, 184, 0.1);
  --gentle-border: rgba(139, 127, 184, 0.15);
}
 
.mw-footer-container{
    padding: 0;
    background: #ff000000;
    margin: 0;
    border-radius: 0px;
}
}
    .catlinks {
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 12px;
            padding: 32px;
                            max-width: -webkit-fill-available !important;
            box-shadow:
           
                0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
            max-width: 700px;
            width: 100%;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .catlinks::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b);
            border-radius: 12px 12px 0 0;
        }
        .catlinks:hover {
            transform: translateY(-2px);
            box-shadow:
                0 10px 25px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05),
                0 0 0 1px rgba(255, 255, 255, 0.7) inset;
        }
        .mw-normal-catlinks {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .catlinks-title {
            font-size: 17px;
            font-weight: 600;
            color: #1e293b;
            text-decoration: none;
            padding: 12px 20px;
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 8px;
            background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
            transition: all 0.2s ease;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }
        .catlinks-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
            transition: left 0.3s ease;
        }
        .catlinks-title:hover::before {
            left: 100%;
        }
        .catlinks-title:hover {
            background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
            border-color: #3b82f6;
            color: #1e40af;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(59, 130, 246, 0.15);
        }
        .catlinks-title:focus {
            outline: 2px solid #3b82f6;
            outline-offset: 2px;
        }
        .category-list {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 0;
        }
        .category-item {
            display: inline-block;
            position: relative;
        }
        .category-link {
            display: inline-block;
            padding: 10px 18px;
            background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
            color: #334155;
            text-decoration: none;
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s ease;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }
        .category-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.3s ease;
        }
        .category-link:hover::before {
            left: 100%;
        }
        .category-link:hover {
            background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
            border-color: #64748b;
            color: #1e293b;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(100, 116, 139, 0.15);
        }


        .category-link:focus {
/* ========================
            outline: 2px solid #3b82f6;
  Header Styling
            outline-offset: 2px;
========================= */
        }
.mw-body-header {
 
  background: var(--background-gradient);
        .category-link.new {
  border-bottom: 3px solid var(--tertiary-color);
            background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
  padding: 15px 20px;
            color: #dc2626;
  text-align: center;
            border-color: rgba(248, 113, 113, 0.3);
   font-family: 'Readex Pro', sans-serif;
            position: relative;
   font-size: 24px;
        }
   color: #5a3600;
 
   font-weight: bold;
        .category-link.new::after {
   box-shadow: var(--box-shadow-glow);
            content: '';
  position: relative;
            position: absolute;
            top: 2px;
            right: 2px;
            width: 8px;
            height: 8px;
            background: #ef4444;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
 
        @keyframes pulse {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.7;
                transform: scale(1.2);
            }
        }
 
        .category-link.new:hover {
            background: linear-gradient(145deg, #fee2e2 0%, #fecaca 100%);
            border-color: #f87171;
            color: #b91c1c;
            box-shadow: 0 4px 8px rgba(248, 113, 113, 0.2);
        }
 
        /* Separator styling */
        .category-item:not(:last-child)::before {
            content: '';
            position: absolute;
            top: 50%;
            left: -8px;
            transform: translateY(-50%);
            width: 4px;
            height: 4px;
            background: linear-gradient(45deg, #94a3b8, #64748b);
            border-radius: 50%;
            z-index: 1;
        }
 
        /* Professional typography */
        .catlinks {
            font-feature-settings: "kern" 1, "liga" 1;
            text-rendering: optimizeLegibility;
        }
 
        /* Responsive Design */
        @media (max-width: 768px) {
            .catlinks {
                padding: 24px;
                margin: 10px;
            }
           
            .mw-normal-catlinks {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
            }
           
            .category-list {
                width: 100%;
            }
           
            .catlinks-title {
                font-size: 16px;
                padding: 10px 16px;
            }
           
            .category-link {
                font-size: 13px;
                padding: 8px 14px;
            }
        }
 
        /* Dark mode support */
        @media (prefers-color-scheme: dark) {
            body {
                background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            }
           
            .catlinks {
                border-color: rgba(148, 163, 184, 0.2);
            }
           
            .catlinks-title {
                background: linear-gradient(145deg, #475569 0%, #64748b 100%);
                color: #f1f5f9;
                border-color: rgba(148, 163, 184, 0.3);
            }
           
            .category-link {
                background: linear-gradient(145deg, #475569 0%, #64748b 100%);
                color: #e2e8f0;
                border-color: rgba(148, 163, 184, 0.3);
            }
        }
 
        /* Print styles */
        @media print {
            body {
                background: white;
            }
           
            .catlinks {
                box-shadow: none;
                border: 1px solid #000;
                background: white;
            }
           
            .catlinks::before {
                display: none;
            }
           
            .catlinks-title,
            .category-link {
                background: white !important;
                border: 1px solid #000;
            }
        }
 
        /* Reduced motion */
        @media (prefers-reduced-motion: reduce) {
            .catlinks,
            .catlinks-title,
            .category-link,
            .category-link::before,
            .catlinks-title::before {
                transition: none;
                animation: none;
            }
        }
 
/* Overall page styling */
body {
  background: linear-gradient(135deg, var(--soft-lavender) 0%, var(--pale-mint) 50%, var(--cream-white) 100%);
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   color: var(--muted-text);
  line-height: 1.6;
   margin: 0;
   padding: 0;
  min-height: 100vh;
}
 
/* Main container */
.mw-page-container {
   background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 20px;
    max-width: max-content;
    padding: 0;
    margin: 0;
    box-shadow: 0 8px 32px var(--soft-shadow);
   overflow: hidden;
   overflow: hidden;
}
.skin--responsive .mw-page-container {
    min-width: auto;
    padding: 0 !important;
    margin: 0 !important;
}
.mw-page-container-inner {
  background: transparent;
}
.vector-menu-tabs .mw-list-item.selected a{
    color: #3875a1 !important;
    border-bottom: 3px solid;
    padding: 10px !important;
    background: linear-gradient(90deg, #e0f0ff00, #e8f2ff00) !important;
}
.vector-menu-tabs .mw-list-item a:visited{
    color: #3875a1 !important;
    border-bottom: 3px solid;
    padding: 10px !important;
    background: linear-gradient(90deg, #e0f0ff00, #e8f2ff00) !important;
}
/* Main content area */
.mw-body {
  background: var(--cream-white);
  margin: 0;
  padding: 2rem;
  border-radius: 0 0 20px 20px;
}
}


.mw-body-content {
.mw-body-header::after {
   background: transparent;
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
   background-image: repeating-conic-gradient(from 0deg, var(--primary-color) 0deg 10deg, transparent 10deg 20deg);
  opacity: 0.1;
  pointer-events: none;
  animation: rotateBackground 30s linear infinite;
}
}


.mw-content-text {
@keyframes rotateBackground {
   background: rgba(255, 255, 255, 0.8);
   from {
   padding: 2rem;
    transform: rotate(0deg);
   border-radius: 15px;
   }
  box-shadow: 0 4px 20px var(--soft-shadow);
   to {
   margin: 1rem 0;
    transform: rotate(360deg);
   }
}
}


/* Headings */
/* ========================
h1, h2, h3, h4, h5, h6 {
  Dropdown Menu
   color: var(--accent-purple);
========================= */
   font-weight: 400;
.vector-dropdown {
   margin: 1.5rem 0 1rem 0;
   position: relative;
   display: inline-block;
   cursor: pointer;
}
}


.mw-heading h2 {
.vector-dropdown-content {
    padding: 1rem 1.5rem;
  display: none;
    border-radius: 12px;
  position: absolute;
    background: #f5deb300;
  background-color: white;
    border-right: 4px solid;
   min-width: 160px;
    display: flex
  box-shadow: var(--box-shadow-glow);
;
  z-index: 1;
   font-family: "Readex Pro", sans-serif;
    font-size: 1.2rem !important;
 
    justify-content: space-around;
    flex-wrap: nowrap;
    border-left: 4px solid #8E1616;
    color: #8E1616;
    box-shadow: 0 2px 10px var(--soft-shadow);
}
}


/* Paragraphs and text */
.vector-dropdown:hover .vector-dropdown-content {
p {
   display: block;
   margin: 1rem 0;
  line-height: 1.7;
}
}


p b, strong {
/* ========================
   color: var(--accent-purple);
  Content Styling
   font-weight: 600;
========================= */
#content {
   background: #fff8e1;
  border: 1px solid var(--secondary-color);
  padding: 20px;
  border-radius: 8px;
   font-family: 'Amiri', serif;
  font-size: 18px;
  color: #4e342e;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  direction: rtl;
}
}


/* Category styling */
/* ========================
.mw-category-generated {
  Categories Styling
display: none !important;
========================= */
   background: var(--warm-beige);
#catlinks {
   padding: 1.5rem;
  background: var(--background-gradient);
   border-radius: 15px;
   border: 1px solid var(--secondary-color);
   margin: 1rem 0;
   padding: 10px;
   box-shadow: 0 4px 20px var(--soft-shadow);
   border-radius: 8px;
}
   margin-top: 20px;
 
   font-family: 'Readex Pro', sans-serif;
.mw-category-generated h2 {
  font-size: 16px;
  color: var(--accent-mint);
   box-shadow: var(--box-shadow-glow);
   border-bottom: 2px solid var(--accent-mint);
   color: #5a3600;
   padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
}


.mw-category {
#catlinks a {
  background: rgba(255, 255, 255, 0.6);
   color: #6d4c41;
  padding: 1rem;
   font-weight: bold;
  border-radius: 10px;
  margin: 0.5rem 0;
}
 
.mw-category-group h3 {
   color: var(--accent-rose);
   font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
 
.mw-category ul {
  list-style: none;
  padding: 0;
}
 
.mw-category li {
  margin: 0.3rem 0;
}
 
.mw-category a {
  color: var(--muted-text);
   text-decoration: none;
   text-decoration: none;
   padding: 0.5rem 1rem;
   padding: 5px 10px;
   border-radius: 8px;
  margin: 2px;
  background-color: #fff3e0;
   border-radius: 5px;
   display: inline-block;
   display: inline-block;
   transition: all 0.3s ease;
   transition: background-color var(--transition-fast);
  background: rgba(255, 255, 255, 0.5);
}
}


.mw-category a:hover {
#catlinks a:hover {
   background: var(--accent-mint);
   background-color: var(--hover-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--soft-shadow);
}
}


/* Toolbar styling */
/* ========================
.vector-page-toolbar {
  Utilities
  background: var(--subtle-gray);
========================= */
  border-radius: 15px;
body {
  margin: 1rem 0;
   font-family: 'Amiri', serif;
  padding: 0.5rem;
   background-color: #fffefc;
  box-shadow: 0 2px 10px var(--soft-shadow);
   margin: 0;
}
 
.vector-menu-tabs {
   background: transparent;
}
 
.vector-menu-tabs a {
  color: var(--muted-text);
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  margin: 0 0.2rem;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}
 
.vector-menu-tabs a:hover,
.vector-menu-tabs .selected a {
   background: var(--accent-purple);
  color: white;
  transform: translateY(-2px);
}
 
/* Page tools */
.vector-page-tools {
  background: var(--dusty-rose);
  border-radius: 15px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 20px var(--soft-shadow);
}
 
/* Appearance controls */
.vector-appearance {
  background: var(--soft-blue);
  border-radius: 15px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 20px var(--soft-shadow);
}
 
.cdx-radio {
   margin: 0.5rem 0;
}
 
.cdx-radio__label {
  color: var(--muted-text);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}
 
.cdx-radio__input:checked + .cdx-radio__icon + .cdx-radio__label {
  background: var(--accent-purple);
  color: white;
}
 
/* Footer */
.mw-footer {
    background: linear-gradient(90deg, var(--gentle-purple), var(--soft-blue));
    padding: 5rem;
    border-radius: 0 0 20px 20px;
    margin-top: 2rem;
}
 
.mw-footer ul {
  list-style: none;
   padding: 0;
   padding: 0;
  margin: 0.5rem 0;
}
}


.mw-footer li {
.printfooter, .vector-menu h3 {
   display: inline-block;
   display: none;
  margin: 0 1rem 0 0;
}
}


.mw-footer a {
@media (prefers-reduced-motion: reduce) {
  color: var(--muted-text);
   * {
   text-decoration: none;
    animation-duration: 0.001ms !important;
  padding: 0.5rem 1rem;
    animation-iteration-count: 1 !important;
  border-radius: 8px;
    transition-duration: 0.001ms !important;
  background: rgba(255, 255, 255, 0.5);
   }
   transition: all 0.3s ease;
}
}


.mw-footer a:hover {
@media print {
   background: var(--accent-mint);
   body {
   color: white;
    background-color: white;
  }
  .mw-body-header, #catlinks {
    display: none;
   }
}
}


/* Buttons */
@media (prefers-color-scheme: dark) {
.cdx-button {
   body {
  background: var(--accent-purple);
    background-color: #121212;
   color: white;
     color: #e0e0e0;
  border: none;
  background-color: #6485d1;
    color: #f4faff;
     /* border-color: var(--border-color-interactive, #72777d); */
    border-radius: 0;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--soft-shadow);
}
 
.cdx-button:hover {
  background: var(--accent-mint);
  transform: translateY(-2px);
  color: block;
  box-shadow: 0 6px 20px var(--soft-shadow);
}
 
/* Dropdown styling */
.vector-dropdown {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 20px var(--soft-shadow);
}
 
.vector-dropdown-content {
  background: var(--cream-white);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 0.5rem;
}
 
/* Responsive adjustments */
@media (max-width: 768px) {
  .mw-page-container {
    margin: 10px;
    border-radius: 15px;
   }
   }
    
   #content, #catlinks {
  .mw-body {
    background: #1e1e1e;
     padding: 1rem;
    color: #f1f1f1;
     border-color: #555;
   }
   }
    
   #catlinks a {
  .mw-content-text {
    background-color: #2e2e2e;
     padding: 1rem;
     color: #ffcc80;
   }
   }
    
   #catlinks a:hover {
  .firstHeading {
     background-color: #ffb74d;
     font-size: 2rem;
   }
   }
}
/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
/* Selection styling */
::selection {
  background: var(--accent-purple);
  color: white;
}
.cdx-search-input--has-end-button {
    /* background-color: #6e6069; */
    display: flex
;
    border: 1px solid var(--border-color-base, #a2a9b1);
    /* border-radius: 2px; */
}
.cdx-text-input__input:enabled {
    background-color: var(--background-color-base, #fff);
    color: var(--color-base, #202122);
    border-color: #72777d00;
    box-shadow: inset 0 0 0 1px var(--box-shadow-color-transparent, transparent);
    transition-property: background-color, color, border-color, box-shadow;
    transition-duration: .25s;
}
/* Focus styling */
*:focus {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
  border-radius: 4px;
}
@media screen and (min-width: 1680px) {
    .mw-page-container, .vector-header-container .mw-header, .vector-header-container .vector-sticky-header {
        padding-right: 3.25rem;
        padding-left: 3.25rem;
        border-bottom: 1px solid #27292d42 !important;
    }
}
}

مراجعة ١١:٠٥، ١٩ يوليو ٢٠٢٥

/* ========================
   Root Variables
========================= */
:root {
  --primary-color: #f7d9aa;
  --secondary-color: #deae63;
  --tertiary-color: #b88b4a;
  --hover-color: #f1c87b;
  --background-gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  --box-shadow-glow: 0 0 15px rgba(255, 206, 115, 0.6);
  --transition-fast: 0.3s ease-in-out;
  --pulse-glow: 0 0 10px rgba(255, 206, 115, 0.6);
}

/* ========================
   Header Styling
========================= */
.mw-body-header {
  background: var(--background-gradient);
  border-bottom: 3px solid var(--tertiary-color);
  padding: 15px 20px;
  text-align: center;
  font-family: 'Readex Pro', sans-serif;
  font-size: 24px;
  color: #5a3600;
  font-weight: bold;
  box-shadow: var(--box-shadow-glow);
  position: relative;
  overflow: hidden;
}

.mw-body-header::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: repeating-conic-gradient(from 0deg, var(--primary-color) 0deg 10deg, transparent 10deg 20deg);
  opacity: 0.1;
  pointer-events: none;
  animation: rotateBackground 30s linear infinite;
}

@keyframes rotateBackground {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ========================
   Dropdown Menu
========================= */
.vector-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.vector-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: var(--box-shadow-glow);
  z-index: 1;
}

.vector-dropdown:hover .vector-dropdown-content {
  display: block;
}

/* ========================
   Content Styling
========================= */
#content {
  background: #fff8e1;
  border: 1px solid var(--secondary-color);
  padding: 20px;
  border-radius: 8px;
  font-family: 'Amiri', serif;
  font-size: 18px;
  color: #4e342e;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  direction: rtl;
}

/* ========================
   Categories Styling
========================= */
#catlinks {
  background: var(--background-gradient);
  border: 1px solid var(--secondary-color);
  padding: 10px;
  border-radius: 8px;
  margin-top: 20px;
  font-family: 'Readex Pro', sans-serif;
  font-size: 16px;
  box-shadow: var(--box-shadow-glow);
  color: #5a3600;
}

#catlinks a {
  color: #6d4c41;
  font-weight: bold;
  text-decoration: none;
  padding: 5px 10px;
  margin: 2px;
  background-color: #fff3e0;
  border-radius: 5px;
  display: inline-block;
  transition: background-color var(--transition-fast);
}

#catlinks a:hover {
  background-color: var(--hover-color);
}

/* ========================
   Utilities
========================= */
body {
  font-family: 'Amiri', serif;
  background-color: #fffefc;
  margin: 0;
  padding: 0;
}

.printfooter, .vector-menu h3 {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body {
    background-color: white;
  }
  .mw-body-header, #catlinks {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e0e0e0;
  }
  #content, #catlinks {
    background: #1e1e1e;
    color: #f1f1f1;
    border-color: #555;
  }
  #catlinks a {
    background-color: #2e2e2e;
    color: #ffcc80;
  }
  #catlinks a:hover {
    background-color: #ffb74d;
  }
}