מדיה ויקי:Common.css: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 162: | שורה 162: | ||
} | } | ||
/* ========== גדלי טקסט ========== */ | /* ========== גדלי טקסט - חלים רק על אזור התוכן ========== */ | ||
#content.text-small, | |||
.mw-parser-output.text-small { | |||
font-size: 16px !important; | font-size: 16px !important; | ||
} | } | ||
#content.text-medium, | |||
.mw-parser-output.text-medium { | |||
font-size: 19px !important; | font-size: 19px !important; | ||
} | } | ||
#content.text-large, | |||
.mw-parser-output.text-large { | |||
font-size: 22px !important; | font-size: 22px !important; | ||
} | } | ||
#content.text-xlarge, | |||
.mw-parser-output.text-xlarge { | |||
font-size: 26px !important; | font-size: 26px !important; | ||
} | } | ||
/* ========== ערכות צבעים - חלות רק על אזור התוכן ========== */ | |||
/* ========== ערכות צבעים ========== */ | |||
/* בהיר (ברירת מחדל) */ | /* בהיר (ברירת מחדל) */ | ||
#content.theme-light, | |||
.mw-parser-output.theme-light, | |||
.mw-body.theme-light { | |||
body.theme-light | |||
background-color: #ffffff; | background-color: #ffffff; | ||
color: #202122; | color: #202122; | ||
} | } | ||
#content.theme-light a, | |||
.mw-parser-output.theme-light a { | |||
color: #0645ad; | color: #0645ad; | ||
} | } | ||
#content.theme-light a:visited, | |||
.mw-parser-output.theme-light a:visited { | |||
color: #0b0080; | color: #0b0080; | ||
} | } | ||
/* כהה */ | /* כהה */ | ||
#content.theme-dark, | |||
.mw-parser-output.theme-dark, | |||
.mw-body.theme-dark { | |||
body.theme-dark | |||
background-color: #1a1a1a; | background-color: #1a1a1a; | ||
color: #e8e8e8; | color: #e8e8e8; | ||
border-color: #404040; | border-color: #404040; | ||
} | } | ||
#content.theme-dark a, | |||
.mw-parser-output.theme-dark a { | |||
color: #6bb1ff; | color: #6bb1ff; | ||
} | } | ||
#content.theme-dark a:visited, | |||
.mw-parser-output.theme-dark a:visited { | |||
color: #b497ff; | color: #b497ff; | ||
} | } | ||
body.theme-dark #toc { | .mw-body.theme-dark #toc { | ||
background-color: #252525; | background-color: #252525; | ||
color: #e8e8e8; | 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; | color: #e8e8e8; | ||
border-color: #404040; | border-color: #404040; | ||
| שורה 264: | שורה 241: | ||
/* ספיה */ | /* ספיה */ | ||
#content.theme-sepia, | |||
.mw-parser-output.theme-sepia, | |||
.mw-body.theme-sepia { | |||
body.theme-sepia | |||
background-color: #f4ecd8; | background-color: #f4ecd8; | ||
color: #5b4636; | color: #5b4636; | ||
border-color: #d4c4a8; | border-color: #d4c4a8; | ||
} | } | ||
#content.theme-sepia a, | |||
.mw-parser-output.theme-sepia a { | |||
color: #704214; | color: #704214; | ||
} | } | ||
#content.theme-sepia a:visited, | |||
.mw-parser-output.theme-sepia a:visited { | |||
color: #5c2e0f; | color: #5c2e0f; | ||
} | } | ||
body.theme-sepia #toc { | .mw-body.theme-sepia #toc { | ||
background-color: #ebe1ca; | background-color: #ebe1ca; | ||
color: #5b4636; | color: #5b4636; | ||
} | } | ||
/* ========== גופנים ========== */ | /* ========== גופנים - חלים רק על אזור התוכן ========== */ | ||
#content.font-david, | |||
.mw-parser-output.font-david { | |||
font-family: 'David Libre', serif !important; | font-family: 'David Libre', serif !important; | ||
} | } | ||
#content.font-frank, | |||
.mw-parser-output.font-frank { | |||
font-family: 'Frank Ruhl Libre', serif !important; | font-family: 'Frank Ruhl Libre', serif !important; | ||
} | } | ||
#content.font-arial, | |||
.mw-parser-output.font-arial { | |||
font-family: Arial, sans-serif !important; | font-family: Arial, sans-serif !important; | ||
} | } | ||
גרסה מ־21:25, 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;
}
/* ========== גדלי טקסט - חלים רק על אזור התוכן ========== */
#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.theme-light,
.mw-parser-output.theme-light,
.mw-body.theme-light {
background-color: #ffffff;
color: #202122;
}
#content.theme-light a,
.mw-parser-output.theme-light a {
color: #0645ad;
}
#content.theme-light a:visited,
.mw-parser-output.theme-light a:visited {
color: #0b0080;
}
/* כהה */
#content.theme-dark,
.mw-parser-output.theme-dark,
.mw-body.theme-dark {
background-color: #1a1a1a;
color: #e8e8e8;
border-color: #404040;
}
#content.theme-dark a,
.mw-parser-output.theme-dark a {
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,
.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;
}