מדיה ויקי:Common.css: הבדלים בין גרסאות בדף

מתוך אוצר מהרי''ט
קפיצה לניווט קפיצה לחיפוש
Admin (שיחה | תרומות)
אין תקציר עריכה
Admin (שיחה | תרומות)
אין תקציר עריכה
 
(4 גרסאות ביניים של אותו משתמש אינן מוצגות)
שורה 107: שורה 107:
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-position: center;
     background-position: center;
     width: 170px;   /* רוחב */
     width: 170px;
     height: 120px; /* גובה */
     height: 120px;
     margin: 15px auto;
     margin: 15px auto;
    display: block;
}
}


/* ========== בקרי מראה (Appearance Controls) - בצד שמאל ========== */
#p-logo {
    padding: 10px;
    background: transparent;
}
 
/* ========== כפתור הצגה/הסתרה של תפריט המראה ========== */
 
#appearance-toggle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background-color: #0645ad;
    color: white;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: all 0.3s ease;
}
 
#appearance-toggle:hover {
    background-color: #0757c9;
    width: 40px;
}
 
#appearance-toggle.panel-hidden {
    left: 0;
}
 
/* ========== תפריט מראה ========== */


#appearance-panel {
#appearance-panel {
שורה 130: שורה 167:
     z-index: 999;
     z-index: 999;
     direction: rtl;
     direction: rtl;
    transition: transform 0.3s ease;
}
#appearance-panel.hidden {
    transform: translateX(-100%);
}
}


שורה 158: שורה 200:
.appearance-option {
.appearance-option {
     cursor: pointer;
     cursor: pointer;
     padding: 0.5em 0.5em 0.5em 1.5em;
     padding: 0.5em 1.8em 0.5em 0.5em;
     transition: all 0.2s;
     transition: all 0.2s;
     border-radius: 4px;
     border-radius: 4px;
שורה 176: שורה 218:


.appearance-option.active::before {
.appearance-option.active::before {
     content: '✓';
     content: '✓ ';
     position: absolute;
     position: absolute;
     right: 5px;
     right: 8px;
     font-weight: bold;
     font-weight: bold;
     color: #0645ad;
     color: #0645ad;
שורה 189: שורה 231:
}
}


/* התאמה למסכים קטנים - הסתרת לוח המראה */
/* התאמה למסכים קטנים */
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
     #appearance-panel {
     #appearance-panel,
    #appearance-toggle {
         display: none;
         display: none;
     }
     }
}
}


/* ========== גדלי טקסט - חלים רק על אזור התוכן ========== */
/* ========== גדלי טקסט ========== */


#content.text-small,
#content.text-small,
שורה 218: שורה 261:
}
}


/* ========== ערכות צבעים - חלות רק על אזור התוכן ========== */
/* ========== רוחב תוכן ========== */


/* בהיר (ברירת מחדל) */
/* רגיל - ברירת מחדל */
#content.theme-light,
#content.width-normal,
.mw-parser-output.theme-light,
.mw-body.width-normal {
.mw-body.theme-light {
     max-width: none;
     background-color: #ffffff;
    color: #202122;
}
}


#content.theme-light a,
#content.width-normal {
.mw-parser-output.theme-light a {
    margin-left: 10%;
     color: #0645ad;
     margin-right: 220px;
}
}


#content.theme-light a:visited,
/* רחב */
.mw-parser-output.theme-light a:visited {
#content.width-wide,
     color: #0b0080;
.mw-body.width-wide {
     max-width: none;
}
}


/* כהה */
#content.width-wide {
#content.theme-dark,
     margin-left: 5%;
.mw-parser-output.theme-dark,
     margin-right: 5%;
.mw-body.theme-dark {
     background-color: #1a1a1a;
     color: #e8e8e8;
    border-color: #404040;
}
}


#content.theme-dark a,
.mw-body.width-wide #toc {
.mw-parser-output.theme-dark a {
     display: none;
     color: #6bb1ff;
}
}


#content.theme-dark a:visited,
/* ========== גופנים ========== */
.mw-parser-output.theme-dark a:visited {
    color: #b497ff;
}
 
.mw-body.theme-dark #toc {
    background-color: #252525;
    color: #e8e8e8;
}
 
#content.theme-dark h1,
#content.theme-dark h2,
#content.theme-dark h3,
#content.theme-dark h4,
.mw-parser-output.theme-dark h1,
.mw-parser-output.theme-dark h2,
.mw-parser-output.theme-dark h3,
.mw-parser-output.theme-dark h4 {
    color: #e8e8e8;
    border-color: #404040;
}
 
/* ספיה */
#content.theme-sepia,
.mw-parser-output.theme-sepia,
.mw-body.theme-sepia {
    background-color: #f4ecd8;
    color: #5b4636;
    border-color: #d4c4a8;
}
 
#content.theme-sepia a,
.mw-parser-output.theme-sepia a {
    color: #704214;
}
 
#content.theme-sepia a:visited,
.mw-parser-output.theme-sepia a:visited {
    color: #5c2e0f;
}
 
.mw-body.theme-sepia #toc {
    background-color: #ebe1ca;
    color: #5b4636;
}
 
/* ========== גופנים - חלים רק על אזור התוכן ========== */


#content.font-david,
#content.font-david,
שורה 313: שורה 304:
.mw-parser-output.font-arial {
.mw-parser-output.font-arial {
     font-family: Arial, sans-serif !important;
     font-family: Arial, sans-serif !important;
}
}/* Logo styling with correct selectors for Vector skin */
.mw-logo-wordmark {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.6), rgba(255, 255, 255, 0.8)) !important;
    padding: 10px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(200, 204, 209, 0.3) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    filter: brightness(1.05) contrast(1.05) !important;
    transition: all 0.3s ease !important;
}
.mw-logo-wordmark:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95)) !important;
    border-color: rgba(200, 204, 209, 0.5) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
    filter: brightness(1.08) contrast(1.08) !important;
    transform: translateY(-1px) !important;
}
/* Also style the logo container */
.mw-logo-container {
    padding: 5px !important;
}
.mw-logo {
    display: block !important;
}
}

גרסה אחרונה מ־22:29, 1 בנובמבר 2025

@import url('https://fonts.googleapis.com/css2?family=David+Libre:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@400;700&display=swap');

body {
    font-family: 'David Libre', serif;
    font-size: 19px;
}

.bookshelf-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F5F5DC;
    padding: 20px;
    border: 2px solid #8B4513;
}

.shelf {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    padding: 10px;
    border-bottom: 5px solid #8B4513;
    margin-bottom: 20px;
}

.book {
    width: 100px;
    height: 150px;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.book:hover {
    transform: rotate(0deg);
}

.book-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* תוכן עניינים - הגדרה אחת מאוחדת */
#toc {
    position: fixed;
    top: 220px;
    right: 0;
    width: 200px;
    padding: 15px;
    background-color: #faf5eb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 75%;
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    z-index: 1000;
}

.toctitle {
    display: none;
}

#content {
    margin-left: 10%;
    margin-right: 220px;
}

/* התאמה למסכים קטנים */
@media screen and (max-width: 768px) {
    #toc {
        display: none;
    }

    #content {
        margin-left: 5%;
        margin-right: 5%;
    }
}

#p-tb { display: none; }

.page-וויאל_משה_מאמר_לשון_הקודש #toc,
.page-וויאל_משה_מאמר_לשון_הקודש_ .mw-parser-output #toc {
    display: none;
}

#toc {
    position: fixed !important;
    width: 200px !important;
    right: 0 !important;
    overflow-y: auto !important;
    max-height: 90vh !important;
    transition: top 0.3s ease !important;
}

#p-logo a {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 170px;
    height: 120px;
    margin: 15px auto;
    display: block;
}

#p-logo {
    padding: 10px;
    background: transparent;
}

/* ========== כפתור הצגה/הסתרה של תפריט המראה ========== */

#appearance-toggle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background-color: #0645ad;
    color: white;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: all 0.3s ease;
}

#appearance-toggle:hover {
    background-color: #0757c9;
    width: 40px;
}

#appearance-toggle.panel-hidden {
    left: 0;
}

/* ========== תפריט מראה ========== */

#appearance-panel {
    position: fixed;
    left: 0;
    top: 220px;
    width: 180px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #c8ccd1;
    border-left: none;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    font-size: 0.9em;
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    z-index: 999;
    direction: rtl;
    transition: transform 0.3s ease;
}

#appearance-panel.hidden {
    transform: translateX(-100%);
}

.appearance-heading {
    background-color: #eaecf0;
    padding: 0.5em;
    margin: -15px -15px 10px -15px;
    font-weight: bold;
    font-size: 1.1em;
    border-bottom: 2px solid #c8ccd1;
    text-align: center;
    border-radius: 0 8px 0 0;
}

.appearance-content {
    padding: 5px;
}

.appearance-section {
    font-weight: bold;
    padding: 0.5em 0.5em 0.3em 0.5em;
    color: #54595d;
    font-size: 0.95em;
    margin-top: 0.5em;
    border-bottom: 1px solid #e8e8e8;
}

.appearance-option {
    cursor: pointer;
    padding: 0.5em 1.8em 0.5em 0.5em;
    transition: all 0.2s;
    border-radius: 4px;
    margin: 2px 0;
    position: relative;
}

.appearance-option:hover {
    background-color: #eaf3ff;
}

.appearance-option.active {
    background-color: #d4e8ff;
    font-weight: bold;
    color: #0645ad;
}

.appearance-option.active::before {
    content: '✓ ';
    position: absolute;
    right: 8px;
    font-weight: bold;
    color: #0645ad;
}

.appearance-divider {
    height: 1px;
    background-color: #c8ccd1;
    margin: 10px 0;
}

/* התאמה למסכים קטנים */
@media screen and (max-width: 768px) {
    #appearance-panel,
    #appearance-toggle {
        display: none;
    }
}

/* ========== גדלי טקסט ========== */

#content.text-small,
.mw-parser-output.text-small {
    font-size: 16px !important;
}

#content.text-medium,
.mw-parser-output.text-medium {
    font-size: 19px !important;
}

#content.text-large,
.mw-parser-output.text-large {
    font-size: 22px !important;
}

#content.text-xlarge,
.mw-parser-output.text-xlarge {
    font-size: 26px !important;
}

/* ========== רוחב תוכן ========== */

/* רגיל - ברירת מחדל */
#content.width-normal,
.mw-body.width-normal {
    max-width: none;
}

#content.width-normal {
    margin-left: 10%;
    margin-right: 220px;
}

/* רחב */
#content.width-wide,
.mw-body.width-wide {
    max-width: none;
}

#content.width-wide {
    margin-left: 5%;
    margin-right: 5%;
}

.mw-body.width-wide #toc {
    display: none;
}

/* ========== גופנים ========== */

#content.font-david,
.mw-parser-output.font-david {
    font-family: 'David Libre', serif !important;
}

#content.font-frank,
.mw-parser-output.font-frank {
    font-family: 'Frank Ruhl Libre', serif !important;
}

#content.font-arial,
.mw-parser-output.font-arial {
    font-family: Arial, sans-serif !important;
}
}/* Logo styling with correct selectors for Vector skin */

.mw-logo-wordmark {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.6), rgba(255, 255, 255, 0.8)) !important;
    padding: 10px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(200, 204, 209, 0.3) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    filter: brightness(1.05) contrast(1.05) !important;
    transition: all 0.3s ease !important;
}

.mw-logo-wordmark:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95)) !important;
    border-color: rgba(200, 204, 209, 0.5) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
    filter: brightness(1.08) contrast(1.08) !important;
    transform: translateY(-1px) !important;
}

/* Also style the logo container */
.mw-logo-container {
    padding: 5px !important;
}

.mw-logo {
    display: block !important;
}