מדיה ויקי:Common.css: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
יצירת דף עם התוכן "←הסגנונות הנכתבים כאן ישפיעו על כל העיצובים: .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 {..." |
אין תקציר עריכה |
||
| (120 גרסאות ביניים של אותו משתמש אינן מוצגות) | |||
| שורה 1: | שורה 1: | ||
/ | @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 { | .bookshelf-container { | ||
display: flex; | display: flex; | ||
| שורה 41: | שורה 47: | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | 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; | |||
} | } | ||
גרסה מ־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;
}