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

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

من موسوعة زيارة الاربعين
لا ملخص تعديل
لا ملخص تعديل
سطر ١٧: سطر ١٧:
   --soft-shadow: rgba(139, 127, 184, 0.1);
   --soft-shadow: rgba(139, 127, 184, 0.1);
   --gentle-border: rgba(139, 127, 184, 0.15);
   --gentle-border: rgba(139, 127, 184, 0.15);
}
.mw-footer-container{
    padding: 0;
    background: #ff000000;
    margin: 0;
    border-radius: 0px;
}
}
     .catlinks {
     .catlinks {
سطر ٦٣٤: سطر ٦٤٠:
/* Footer */
/* Footer */
.mw-footer {
.mw-footer {
  background: linear-gradient(90deg, var(--gentle-purple), var(--soft-blue));
    background: linear-gradient(90deg, var(--gentle-purple), var(--soft-blue));
  padding: 2rem;
    padding: 5rem;
  border-radius: 0 0 20px 20px;
    border-radius: 0 0 20px 20px;
  margin-top: 2rem;
    margin-top: 2rem;
}
}



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

/* Calm Pastel MediaWiki Design */

/* Root variables for consistent color scheme */
:root {
  --soft-lavender: #f8f6ff;
  --pale-mint: #f0f8f5;
  --cream-white: #fdfcf8;
  --dusty-rose: #f5f0f3;
  --soft-blue: #e8f2ff;
  --gentle-purple: #e6e0ff;
  --warm-beige: #f9f7f4;
  --subtle-gray: #f4f4f6;
  --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;
            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;
            outline-offset: 2px;
        }

        .category-link.new {
            background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
            color: #dc2626;
            border-color: rgba(248, 113, 113, 0.3);
            position: relative;
        }

        .category-link.new::after {
            content: '';
            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;
            }
        }
.mw-body-header {
    background: linear-gradient(90deg, var(--gentle-purple), var(--soft-blue));
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    border-bottom: 3px solid var(--gentle-border);
}
/* 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;
}
.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;
}
/* Header styling */
.mw-body-header {
    background: linear-gradient(90deg, #e0f0ff, var(--soft-blue));
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    border: 3px solid var(--gentle-border);
    /* color: bisque; */
}
.mw-page-title-main {
    color: #4d4d50;
}
.firstHeading {
  color: var(--accent-purple);
  font-size: 2.5rem;
  font-weight: 300;
  margin: 0;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.mw-page-title-namespace,
.mw-page-title-separator,
.mw-page-title-main {
  color: var(--accent-purple);
}

/* Navigation styling */
.vector-main-menu {
  background: var(--dusty-rose);
  border-radius: 15px;
  margin: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 20px var(--soft-shadow);
}

.vector-main-menu-landmark {
  background: transparent;
}

.vector-menu-heading {
  color: var(--accent-purple);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
}

.vector-menu-content-list {
  list-style: none;
  padding: 0;
}

.vector-menu-content-list li {
  margin: 0.3rem 0;
}

.vector-menu-content-list a {
  color: var(--muted-text);
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  display: block;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.4);
}

.vector-menu-content-list a:hover {
  background: var(--accent-mint);
  color: white;
  transform: translateX(5px);
  box-shadow: 0 4px 15px var(--soft-shadow);
}

/* Table of Contents */
.vector-toc {
  background: var(--soft-blue);
  border-radius: 15px;
  margin: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 20px var(--soft-shadow);
}

.vector-toc-contents {
  list-style: none;
  padding: 0;
}

.vector-toc-list-item {
  margin: 0.5rem 0;
}

.vector-toc-link {
  color: var(--muted-text);
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  display: block;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
}

.vector-toc-link:hover,
.vector-toc-list-item-active .vector-toc-link {
  background: var(--accent-purple);
  color: white;
  transform: scale(1.02);
}

/* Main content area */
.mw-body {
  background: var(--cream-white);
  margin: 0;
  padding: 2rem;
  border-radius: 0 0 20px 20px;
}

.mw-body-content {
  background: transparent;
}

.mw-content-text {
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px var(--soft-shadow);
  margin: 1rem 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--accent-purple);
  font-weight: 400;
  margin: 1.5rem 0 1rem 0;
}

.mw-heading h2 {
  padding: 1rem 1.5rem;
  border-radius: 12px;
      background: #f5deb300;
    border-right: 4px solid;
    display: flex
;
    /* border-left: 0; */
    justify-content: space-around;
    flex-wrap: nowrap;
  border-left: 4px solid var(--accent-purple);
  color: var(--accent-purple);
  box-shadow: 0 2px 10px var(--soft-shadow);
}

/* Paragraphs and text */
p {
  margin: 1rem 0;
  line-height: 1.7;
}

p b, strong {
  color: var(--accent-purple);
  font-weight: 600;
}

/* Category styling */
.mw-category-generated {
	display: none !important;
  background: var(--warm-beige);
  padding: 1.5rem;
  border-radius: 15px;
  margin: 1rem 0;
  box-shadow: 0 4px 20px var(--soft-shadow);
}

.mw-category-generated h2 {
  color: var(--accent-mint);
  border-bottom: 2px solid var(--accent-mint);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.mw-category {
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  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;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
}

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

/* Toolbar styling */
.vector-page-toolbar {
  background: var(--subtle-gray);
  border-radius: 15px;
  margin: 1rem 0;
  padding: 0.5rem;
  box-shadow: 0 2px 10px var(--soft-shadow);
}

.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;
  margin: 0.5rem 0;
}

.mw-footer li {
  display: inline-block;
  margin: 0 1rem 0 0;
}

.mw-footer a {
  color: var(--muted-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.mw-footer a:hover {
  background: var(--accent-mint);
  color: white;
}

/* Buttons */
.cdx-button {
  background: var(--accent-purple);
  color: white;
  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;
  }
  
  .mw-body {
    padding: 1rem;
  }
  
  .mw-content-text {
    padding: 1rem;
  }
  
  .firstHeading {
    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;
    }
}