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

מתוך אוצר מהרי''ט
קפיצה לניווט קפיצה לחיפוש
אין תקציר עריכה
Admin (שיחה | תרומות)
אין תקציר עריכה
שורה 1: שורה 1:
@import url('https://fonts.googleapis.com/css2?family=David+Libre:wght@400;700&display=swap');
@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 {
body {
שורה 79: שורה 80:
         display: none;
         display: none;
     }
     }
   
 
     #content {
     #content {
         margin-left: 5%;
         margin-left: 5%;
שורה 109: שורה 110:
     height: 120px;  /* גובה */
     height: 120px;  /* גובה */
     margin: 15px auto;
     margin: 15px auto;
}
/* ========== בקרי מראה (Appearance Controls) ========== */
/* סגנון לתפריט המראה */
#appearance-panel {
    margin-bottom: 1em;
    border: 1px solid #c8ccd1;
    background-color: #f8f9fa;
}
#appearance-panel .vector-menu-heading {
    background-color: #eaecf0;
    padding: 0.5em 1em;
    font-weight: bold;
    border-bottom: 1px solid #c8ccd1;
}
.appearance-section {
    font-weight: bold;
    padding: 0.5em 1em !important;
    color: #54595d;
    font-size: 0.9em;
    margin-top: 0.3em;
}
.appearance-option {
    cursor: pointer;
    padding: 0.4em 1em 0.4em 2em !important;
    transition: background-color 0.2s;
}
.appearance-option:hover {
    background-color: #eaf3ff;
}
.appearance-option.active {
    background-color: #c8ccd1;
    font-weight: bold;
}
.appearance-option.active::before {
    content: '✓ ';
    margin-left: -1em;
}
.appearance-divider {
    height: 1px;
    background-color: #c8ccd1;
    margin: 0.5em 0;
}
/* ========== גדלי טקסט ========== */
body.text-small {
    font-size: 16px !important;
}
body.text-small #content {
    font-size: 16px;
}
body.text-medium {
    font-size: 19px !important;
}
body.text-medium #content {
    font-size: 19px;
}
body.text-large {
    font-size: 22px !important;
}
body.text-large #content {
    font-size: 22px;
}
body.text-xlarge {
    font-size: 26px !important;
}
body.text-xlarge #content {
    font-size: 26px;
}
/* ========== ערכות צבעים ========== */
/* בהיר (ברירת מחדל) */
body.theme-light {
    background-color: #ffffff;
    color: #202122;
}
body.theme-light #content {
    background-color: #ffffff;
    color: #202122;
}
body.theme-light a {
    color: #0645ad;
}
body.theme-light a:visited {
    color: #0b0080;
}
/* כהה */
body.theme-dark {
    background-color: #1a1a1a;
    color: #e8e8e8;
}
body.theme-dark #content {
    background-color: #1a1a1a;
    color: #e8e8e8;
}
body.theme-dark .mw-body {
    background-color: #1a1a1a;
    border-color: #404040;
}
body.theme-dark #mw-panel {
    background-color: #1a1a1a;
}
body.theme-dark .vector-menu-portal {
    background-color: #252525;
    border-color: #404040;
}
body.theme-dark a {
    color: #6bb1ff;
}
body.theme-dark a:visited {
    color: #b497ff;
}
body.theme-dark #toc {
    background-color: #252525;
    color: #e8e8e8;
}
body.theme-dark .mw-parser-output h1,
body.theme-dark .mw-parser-output h2,
body.theme-dark .mw-parser-output h3,
body.theme-dark .mw-parser-output h4 {
    color: #e8e8e8;
    border-color: #404040;
}
/* ספיה */
body.theme-sepia {
    background-color: #f4ecd8;
    color: #5b4636;
}
body.theme-sepia #content {
    background-color: #f4ecd8;
    color: #5b4636;
}
body.theme-sepia .mw-body {
    background-color: #f4ecd8;
    border-color: #d4c4a8;
}
body.theme-sepia #mw-panel {
    background-color: #f4ecd8;
}
body.theme-sepia .vector-menu-portal {
    background-color: #ebe1ca;
    border-color: #d4c4a8;
}
body.theme-sepia a {
    color: #704214;
}
body.theme-sepia a:visited {
    color: #5c2e0f;
}
body.theme-sepia #toc {
    background-color: #ebe1ca;
    color: #5b4636;
}
/* ========== גופנים ========== */
body.font-david,
body.font-david #content {
    font-family: 'David Libre', serif !important;
}
body.font-frank,
body.font-frank #content {
    font-family: 'Frank Ruhl Libre', serif !important;
}
body.font-arial,
body.font-arial #content {
    font-family: Arial, sans-serif !important;
}
}

גרסה מ־21:15, 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;
}

/* ========== בקרי מראה (Appearance Controls) ========== */

/* סגנון לתפריט המראה */
#appearance-panel {
    margin-bottom: 1em;
    border: 1px solid #c8ccd1;
    background-color: #f8f9fa;
}

#appearance-panel .vector-menu-heading {
    background-color: #eaecf0;
    padding: 0.5em 1em;
    font-weight: bold;
    border-bottom: 1px solid #c8ccd1;
}

.appearance-section {
    font-weight: bold;
    padding: 0.5em 1em !important;
    color: #54595d;
    font-size: 0.9em;
    margin-top: 0.3em;
}

.appearance-option {
    cursor: pointer;
    padding: 0.4em 1em 0.4em 2em !important;
    transition: background-color 0.2s;
}

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

.appearance-option.active {
    background-color: #c8ccd1;
    font-weight: bold;
}

.appearance-option.active::before {
    content: '✓ ';
    margin-left: -1em;
}

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

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

body.text-small {
    font-size: 16px !important;
}

body.text-small #content {
    font-size: 16px;
}

body.text-medium {
    font-size: 19px !important;
}

body.text-medium #content {
    font-size: 19px;
}

body.text-large {
    font-size: 22px !important;
}

body.text-large #content {
    font-size: 22px;
}

body.text-xlarge {
    font-size: 26px !important;
}

body.text-xlarge #content {
    font-size: 26px;
}

/* ========== ערכות צבעים ========== */

/* בהיר (ברירת מחדל) */
body.theme-light {
    background-color: #ffffff;
    color: #202122;
}

body.theme-light #content {
    background-color: #ffffff;
    color: #202122;
}

body.theme-light a {
    color: #0645ad;
}

body.theme-light a:visited {
    color: #0b0080;
}

/* כהה */
body.theme-dark {
    background-color: #1a1a1a;
    color: #e8e8e8;
}

body.theme-dark #content {
    background-color: #1a1a1a;
    color: #e8e8e8;
}

body.theme-dark .mw-body {
    background-color: #1a1a1a;
    border-color: #404040;
}

body.theme-dark #mw-panel {
    background-color: #1a1a1a;
}

body.theme-dark .vector-menu-portal {
    background-color: #252525;
    border-color: #404040;
}

body.theme-dark a {
    color: #6bb1ff;
}

body.theme-dark a:visited {
    color: #b497ff;
}

body.theme-dark #toc {
    background-color: #252525;
    color: #e8e8e8;
}

body.theme-dark .mw-parser-output h1,
body.theme-dark .mw-parser-output h2,
body.theme-dark .mw-parser-output h3,
body.theme-dark .mw-parser-output h4 {
    color: #e8e8e8;
    border-color: #404040;
}

/* ספיה */
body.theme-sepia {
    background-color: #f4ecd8;
    color: #5b4636;
}

body.theme-sepia #content {
    background-color: #f4ecd8;
    color: #5b4636;
}

body.theme-sepia .mw-body {
    background-color: #f4ecd8;
    border-color: #d4c4a8;
}

body.theme-sepia #mw-panel {
    background-color: #f4ecd8;
}

body.theme-sepia .vector-menu-portal {
    background-color: #ebe1ca;
    border-color: #d4c4a8;
}

body.theme-sepia a {
    color: #704214;
}

body.theme-sepia a:visited {
    color: #5c2e0f;
}

body.theme-sepia #toc {
    background-color: #ebe1ca;
    color: #5b4636;
}

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

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

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

body.font-arial,
body.font-arial #content {
    font-family: Arial, sans-serif !important;
}