מדיה ויקי:Common.css: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 104: | שורה 104: | ||
#p-logo a { | #p-logo a { | ||
background-size: contain; | background-size: contain; | ||
width: | background-repeat: no-repeat; | ||
height: | background-position: center; | ||
margin: | width: 140px; | ||
height: 100px; | |||
margin: 5px auto; | |||
} | } | ||
גרסה מ־21:55, 30 באוגוסט 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;
}
#p-logo a {
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 140px;
height: 100px;
margin: 5px auto;
}