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

מתוך אוצר מהרי''ט
קפיצה לניווט קפיצה לחיפוש
אין תקציר עריכה
תגית: שוחזרה
אין תקציר עריכה
 
(48 גרסאות ביניים של אותו משתמש אינן מוצגות)
שורה 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');


body {
body {
     font-family: 'David Libre', serif;
     font-family: 'David Libre', serif;
     font-size: 19px; /* הוסף שורה זו לשינוי גודל הפונט */
     font-size: 19px;
}
}
.bookshelf-container {
.bookshelf-container {
     display: flex;
     display: flex;
שורה 15: שורה 14:
     border: 2px solid #8B4513;
     border: 2px solid #8B4513;
}
}
.shelf {
.shelf {
     display: flex;
     display: flex;
שורה 24: שורה 24:
     margin-bottom: 20px;
     margin-bottom: 20px;
}
}
.book {
.book {
     width: 100px;
     width: 100px;
שורה 36: שורה 37:
     transition: transform 0.3s ease;
     transition: transform 0.3s ease;
}
}
.book:hover {
.book:hover {
     transform: rotate(0deg);
     transform: rotate(0deg);
}
}
.book-link {
.book-link {
     text-decoration: none;
     text-decoration: none;
שורה 45: שורה 48:
     text-align: center;
     text-align: center;
}
}
/* תוכן עניינים - הגדרה אחת מאוחדת */
#toc {
#toc {
     float: right;
     position: fixed;
     margin: 0 0 1em 1em;
    top: 220px;
     width: 20%;
    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 {
#content {
     margin-left: 10%;
     margin-left: 10%;
     margin-right: 10%;
     margin-right: 220px;
}
}
/* התאמה למסכים קטנים */
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
    #toc {
        display: none;
    }
   
     #content {
     #content {
         margin-left: 5%;
         margin-left: 5%;
שורה 60: שורה 85:
     }
     }
}
}
#toc {
 
    position: absolute;
#p-tb { display: none; }
    right: -250px; /* מיקום מחוץ לשוליים הימניים */
 
    top: 100px; /* התאמה לפי הצורך */
.page-וויאל_משה_מאמר_לשון_הקודש #toc,
    border: none; /* להסרת הריבוע מסביב */
.page-וויאל_משה_מאמר_לשון_הקודש_ .mw-parser-output #toc {
    background: none; /* להסרת צבע רקע */
}
#toc {
    margin-right: 70px; /* משנה את המרווח בין תוכן העניינים לטקסט */
}
#toc .toctitle {
    display: none;
}
.mainpage #toc {
     display: none;
     display: none;
}
}
#toc {
#toc {
     font-size: 75%; /* משנה את גודל הפונט בתוכן העניינים */
     position: fixed !important;
}
    width: 200px !important;
.page-וויאל_משה_מאמר_לשון_הקודש #toc,
    right: 0 !important;
.page-וויאל_משה_מאמר_לשון_הקודש_ .mw-parser-output #toc {
    overflow-y: auto !important;
     display: none;
    max-height: 90vh !important;
     transition: top 0.3s ease !important;
}
}
#p-tb { display: none; } /* הסתרת הכלים */

גרסה אחרונה מ־23:11, 8 בפברואר 2025

@import url('https://fonts.googleapis.com/css2?family=David+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;
}