MediaWiki:Common.css: Difference between revisions
From Encyclopedium Universum
Style Torah citation links and verse modal |
Style Chicago citations and token popups |
||
| Line 33: | Line 33: | ||
} | } | ||
/* UKOY Torah citation links and Pealim-backed verse modal. */ | /* UKOY Torah citation links, Chicago-style note boxes, and Pealim-backed verse modal. */ | ||
#mw-content-text .mw-parser-output .ukoy-cite-note { | |||
font-size: 0.7em; | |||
line-height: 0; | |||
vertical-align: super; | |||
margin-left: 0.12em; | |||
} | |||
#mw-content-text .mw-parser-output .ukoy-cite-note a { color: #8a6418; text-decoration: none; } | |||
#mw-content-text .mw-parser-output .ukoy-citation-note { | |||
display: block; | |||
margin: 0.5rem 0 1rem; | |||
padding: 0.55rem 0.7rem; | |||
border: 1px solid #d5c7a4; | |||
background: #fbfaf7; | |||
font-size: 0.86rem; | |||
line-height: 1.45; | |||
} | |||
#mw-content-text .mw-parser-output .ukoy-citation-note-number { | |||
font-weight: 700; | |||
color: #8a6418; | |||
margin-right: 0.35em; | |||
} | |||
#mw-content-text .mw-parser-output .ukoy-cite { | #mw-content-text .mw-parser-output .ukoy-cite { | ||
display: inline-block; | display: inline-block; | ||
| Line 105: | Line 126: | ||
.ukoy-vtok { display: inline-flex; flex-direction: column; align-items: center; min-width: 2.2rem; } | .ukoy-vtok { display: inline-flex; flex-direction: column; align-items: center; min-width: 2.2rem; } | ||
.ukoy-vtok-surface { font-family: "yisraeleet400" !important; font-size: 1.55rem; line-height: 1.2; } | .ukoy-vtok-surface { font-family: "yisraeleet400" !important; font-size: 1.55rem; line-height: 1.2; } | ||
.ukoy- | .ukoy-token-link { | ||
.ukoy-vtok-morph { | border: 0; | ||
background: transparent; | |||
color: inherit; | |||
text-decoration: underline; | |||
cursor: pointer; | |||
padding: 0; | |||
font: inherit; | |||
} | |||
.ukoy-strong { color: #6fb6ff; font-size: .72rem; line-height: 1.1; } | |||
.ukoy-vtok-morph { font-size: .72rem; line-height: 1.1; } | |||
.ukoy-morph { color: #21d18a; margin: 0 .08rem; } | |||
.ukoy-kjv-text { font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.55; } | .ukoy-kjv-text { font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.55; } | ||
.ukoy-entry-html { font-family: Georgia, serif; font-size: 1rem; line-height: 1.5; } | |||
.ukoy-entry-html h2, .ukoy-entry-html h3 { color: #8a6418; margin-top: 0.4rem; } | |||
.ukoy-entry-html a { color: #77540f; } | |||
.ukoy-loading, .ukoy-verse-error, .ukoy-missing { padding: .75rem; color: #555; } | .ukoy-loading, .ukoy-verse-error, .ukoy-missing { padding: .75rem; color: #555; } | ||
@media (max-width: 700px) { | @media (max-width: 700px) { | ||
Revision as of 07:32, 24 May 2026
@font-face {
font-family: "yisraeleet400";
src: url("/fonts/yisraeleet.eot");
src: url("/fonts/yisraeleet.eot?#iefix") format("embedded-opentype"),
url("/fonts/yisraeleet.woff2") format("woff2"),
url("/fonts/yisraeleet.woff") format("woff"),
url("/fonts/yisraeleet.ttf") format("truetype"),
url("/fonts/yisraeleet.svg#yisraeleeth") format("svg");
font-weight: 400; /* IMPORTANT: match the real font weight */
font-style: normal;
font-display: block; /* no fallback swap */
}
/* Apply YOUR script to content only (not the whole MediaWiki UI) */
#mw-content-text .mw-parser-output,
#mw-content-text .mw-parser-output *:not(.ashuri):not(.ashuri *) {
font-family: "yisraeleet400" !important; /* no fallback stack */
}
/* Size controls (content only) */
#mw-content-text .mw-parser-output p,
#mw-content-text .mw-parser-output td,
#mw-content-text .mw-parser-output th {
font-size: 20px !important;
}
/* Ashuri comparison font: ONLY where you explicitly add class="ashuri" */
#mw-content-text .mw-parser-output .ashuri,
#mw-content-text .mw-parser-output .ashuri * {
font-family: "David Libre" !important; /* Ashuri-only override */
font-size: 110%;
letter-spacing: 0.05em;
}
/* UKOY Torah citation links, Chicago-style note boxes, and Pealim-backed verse modal. */
#mw-content-text .mw-parser-output .ukoy-cite-note {
font-size: 0.7em;
line-height: 0;
vertical-align: super;
margin-left: 0.12em;
}
#mw-content-text .mw-parser-output .ukoy-cite-note a { color: #8a6418; text-decoration: none; }
#mw-content-text .mw-parser-output .ukoy-citation-note {
display: block;
margin: 0.5rem 0 1rem;
padding: 0.55rem 0.7rem;
border: 1px solid #d5c7a4;
background: #fbfaf7;
font-size: 0.86rem;
line-height: 1.45;
}
#mw-content-text .mw-parser-output .ukoy-citation-note-number {
font-weight: 700;
color: #8a6418;
margin-right: 0.35em;
}
#mw-content-text .mw-parser-output .ukoy-cite {
display: inline-block;
cursor: pointer;
color: #8a6418;
border-bottom: 1px dotted #8a6418;
font-size: 0.92em;
white-space: nowrap;
margin: 0 0.08em;
}
#mw-content-text .mw-parser-output .ukoy-cite::before { content: "["; }
#mw-content-text .mw-parser-output .ukoy-cite::after { content: "]"; }
.ukoy-verse-modal {
display: none;
position: fixed;
inset: 0;
z-index: 99999;
background: rgba(0,0,0,.58);
padding: 3vh 2vw;
}
.ukoy-verse-modal.is-open { display: block; }
.ukoy-verse-modal-card {
position: relative;
max-width: 980px;
max-height: 90vh;
overflow: auto;
margin: 0 auto;
background: #fff;
color: #111;
border: 1px solid #9c7a2a;
box-shadow: 0 24px 70px rgba(0,0,0,.45);
padding: 1.2rem;
}
.ukoy-verse-modal-close {
position: sticky;
top: 0;
float: right;
z-index: 2;
border: 1px solid #888;
background: #fff;
font-size: 1.4rem;
line-height: 1;
cursor: pointer;
}
.ukoy-verse-heading {
font-weight: 700;
font-size: 1.35rem;
color: #8a6418;
margin: 0 0 1rem;
}
.ukoy-verse-entry { border-top: 1px solid #ddd; padding: 1rem 0; }
.ukoy-verse-ref { font-weight: 700; margin-bottom: .6rem; }
.ukoy-verse-label {
font-size: .78rem;
text-transform: uppercase;
letter-spacing: .08em;
color: #666;
margin: .7rem 0 .35rem;
}
.ukoy-tanakh-interlinear {
display: flex;
flex-wrap: wrap;
gap: .55rem .8rem;
align-items: flex-start;
justify-content: flex-start;
background: #111;
color: #fff;
padding: .75rem;
border-radius: .25rem;
}
.ukoy-vtok { display: inline-flex; flex-direction: column; align-items: center; min-width: 2.2rem; }
.ukoy-vtok-surface { font-family: "yisraeleet400" !important; font-size: 1.55rem; line-height: 1.2; }
.ukoy-token-link {
border: 0;
background: transparent;
color: inherit;
text-decoration: underline;
cursor: pointer;
padding: 0;
font: inherit;
}
.ukoy-strong { color: #6fb6ff; font-size: .72rem; line-height: 1.1; }
.ukoy-vtok-morph { font-size: .72rem; line-height: 1.1; }
.ukoy-morph { color: #21d18a; margin: 0 .08rem; }
.ukoy-kjv-text { font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.55; }
.ukoy-entry-html { font-family: Georgia, serif; font-size: 1rem; line-height: 1.5; }
.ukoy-entry-html h2, .ukoy-entry-html h3 { color: #8a6418; margin-top: 0.4rem; }
.ukoy-entry-html a { color: #77540f; }
.ukoy-loading, .ukoy-verse-error, .ukoy-missing { padding: .75rem; color: #555; }
@media (max-width: 700px) {
.ukoy-verse-modal { padding: 0; }
.ukoy-verse-modal-card { max-height: 100vh; min-height: 100vh; border: 0; }
.ukoy-vtok-surface { font-size: 1.35rem; }
}
