1006 lines
19 KiB
CSS
1006 lines
19 KiB
CSS
/* Fonts: Old Standard TT (body) and IM Fell English SC (titles), both SIL OFL, self-hosted. */
|
|
@font-face {
|
|
font-family: 'Old Standard TT';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url('../assets/fonts/old-standard-tt-400.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Old Standard TT';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url('../assets/fonts/old-standard-tt-400-italic.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Old Standard TT';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url('../assets/fonts/old-standard-tt-700.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'IM Fell English SC';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url('../assets/fonts/im-fell-english-sc.woff2') format('woff2');
|
|
}
|
|
|
|
:root {
|
|
--paper: #eadfc4;
|
|
--paper-light: #f3ead3;
|
|
--paper-dark: #ddcfa9;
|
|
--ink: #2f2519;
|
|
--ink-soft: #5e4f3b;
|
|
--sepia: #7a6445;
|
|
--rule: #8a7753;
|
|
--rouge: #8e2b26;
|
|
--bleu: #2c4268;
|
|
--shadow: 0 10px 28px rgba(60, 40, 15, 0.28);
|
|
--font-body: 'Old Standard TT', 'Georgia', 'Times New Roman', serif;
|
|
--font-title: 'IM Fell English SC', 'Old Standard TT', 'Georgia', serif;
|
|
--noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
|
color-scheme: light;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--paper);
|
|
background-image:
|
|
radial-gradient(ellipse at 50% 40%, transparent 50%, rgba(92, 58, 22, 0.3) 100%),
|
|
var(--noise);
|
|
background-attachment: fixed, scroll;
|
|
color: var(--ink);
|
|
font-family: var(--font-body);
|
|
font-size: 1.05rem;
|
|
line-height: 1.55;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-family: var(--font-title);
|
|
font-weight: 400;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Ornamental rule: two hairlines with a lozenge between them */
|
|
.ornament {
|
|
position: relative;
|
|
width: min(320px, 70%);
|
|
height: 12px;
|
|
margin: 0.9rem auto;
|
|
color: var(--rule);
|
|
background:
|
|
linear-gradient(currentColor, currentColor) left center / calc(50% - 14px) 1px no-repeat,
|
|
linear-gradient(currentColor, currentColor) right center / calc(50% - 14px) 1px no-repeat;
|
|
}
|
|
|
|
.ornament::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 8px;
|
|
height: 8px;
|
|
border: 1px solid currentColor;
|
|
transform: translate(-50%, -50%) rotate(45deg);
|
|
}
|
|
|
|
/* Header */
|
|
.site-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.9rem 1.5rem 0.8rem;
|
|
background: var(--paper-light);
|
|
background-image: var(--noise);
|
|
border-bottom: 3px double var(--ink);
|
|
box-shadow: 0 3px 10px rgba(60, 40, 15, 0.18);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
}
|
|
|
|
.site-header::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 5px;
|
|
background: linear-gradient(90deg, var(--bleu) 0 33.3%, var(--paper-light) 33.3% 66.6%, var(--rouge) 66.6% 100%);
|
|
border-bottom: 1px solid var(--ink);
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.7rem;
|
|
text-decoration: none;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.cockade {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 50%;
|
|
border: 1.5px solid var(--ink);
|
|
background: radial-gradient(circle, var(--bleu) 0 28%, var(--paper-light) 29% 58%, var(--rouge) 59%);
|
|
flex: none;
|
|
}
|
|
|
|
.brand-title {
|
|
font-family: var(--font-title);
|
|
font-size: 1.4rem;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.lang-switch {
|
|
border: 1px solid var(--ink);
|
|
background: transparent;
|
|
color: var(--ink);
|
|
border-radius: 2px;
|
|
padding: 0.3rem 0.7rem;
|
|
font-family: var(--font-title);
|
|
font-size: 0.95rem;
|
|
letter-spacing: 0.08em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lang-switch:hover {
|
|
background: var(--paper-dark);
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
width: 40px;
|
|
height: 36px;
|
|
border: 1px solid var(--ink);
|
|
border-radius: 2px;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.menu-toggle:hover {
|
|
background: var(--paper-dark);
|
|
}
|
|
|
|
.burger-bar {
|
|
display: block;
|
|
height: 2px;
|
|
background: var(--ink);
|
|
}
|
|
|
|
/* Nav panel */
|
|
.main-nav {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
height: 100%;
|
|
width: min(310px, 85vw);
|
|
background: var(--paper-light);
|
|
background-image: var(--noise);
|
|
border-left: 3px double var(--ink);
|
|
box-shadow: var(--shadow);
|
|
padding: calc(1.5rem + env(safe-area-inset-top, 0px)) 1.5rem 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
transform: translateX(100%);
|
|
transition: transform 0.25s ease;
|
|
z-index: 30;
|
|
}
|
|
|
|
.main-nav.open {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--ink);
|
|
text-decoration: none;
|
|
padding: 0.5rem 0.6rem;
|
|
border-bottom: 1px dotted var(--rule);
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.nav-link:hover, .nav-link.active {
|
|
background: var(--paper-dark);
|
|
color: var(--rouge);
|
|
}
|
|
|
|
.nav-link.active {
|
|
font-style: italic;
|
|
}
|
|
|
|
.nav-section-label {
|
|
margin: 1.2rem 0 0.1rem;
|
|
font-family: var(--font-title);
|
|
font-size: 0.95rem;
|
|
letter-spacing: 0.12em;
|
|
color: var(--sepia);
|
|
}
|
|
|
|
.nav-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(47, 37, 25, 0.5);
|
|
z-index: 25;
|
|
}
|
|
|
|
/* Main content */
|
|
main#app {
|
|
flex: 1;
|
|
width: 100%;
|
|
max-width: 1080px;
|
|
margin: 0 auto;
|
|
padding: 2.2rem 1.25rem 3rem;
|
|
}
|
|
|
|
/* The stele: an arched tablet, like the pewter plaque */
|
|
.tablet {
|
|
position: relative;
|
|
background: var(--paper-light);
|
|
background-image: var(--noise);
|
|
border: 6px double var(--ink);
|
|
border-radius: 50% 50% 6px 6px / 110px 110px 6px 6px;
|
|
padding: 3.2rem 2.2rem 2.2rem;
|
|
box-shadow: var(--shadow), inset 0 0 0 1px var(--rule), inset 0 0 40px rgba(122, 100, 69, 0.25);
|
|
}
|
|
|
|
.tablet-head {
|
|
text-align: center;
|
|
}
|
|
|
|
.today-heading {
|
|
margin: 0;
|
|
font-size: clamp(1.15rem, 3vw, 1.6rem);
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.tablet-body {
|
|
display: grid;
|
|
grid-template-columns: minmax(230px, 290px) 46px 1fr;
|
|
gap: 1.5rem;
|
|
align-items: center;
|
|
margin-top: 0.6rem;
|
|
}
|
|
|
|
/* Engraved plate: thin-lined frame around the picture and a caption below */
|
|
.plate {
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.plate-frame {
|
|
padding: 6px;
|
|
border: 1px solid var(--ink);
|
|
background: var(--paper-light);
|
|
box-shadow: 0 0 0 4px var(--paper-light), 0 0 0 5px var(--ink), 2px 4px 14px rgba(60, 40, 15, 0.3);
|
|
}
|
|
|
|
.plate-frame img {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
filter: sepia(0.28) contrast(1.03);
|
|
}
|
|
|
|
.plate figcaption {
|
|
margin-top: 1.1rem;
|
|
}
|
|
|
|
.month-name {
|
|
margin: 0;
|
|
font-size: 1.7rem;
|
|
letter-spacing: 0.1em;
|
|
text-transform: lowercase;
|
|
font-variant: small-caps;
|
|
}
|
|
|
|
.month-period {
|
|
margin: 0.15rem 0 0;
|
|
font-size: 0.9rem;
|
|
color: var(--ink-soft);
|
|
font-style: italic;
|
|
}
|
|
|
|
.fasces {
|
|
width: 100%;
|
|
height: auto;
|
|
max-height: 460px;
|
|
justify-self: center;
|
|
filter: drop-shadow(1px 2px 1px rgba(60, 40, 15, 0.3));
|
|
}
|
|
|
|
.decree {
|
|
text-align: center;
|
|
}
|
|
|
|
.date-display {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
.decade-day {
|
|
margin: 0;
|
|
font-family: var(--font-title);
|
|
font-size: 1.15rem;
|
|
letter-spacing: 0.25em;
|
|
color: var(--rouge);
|
|
}
|
|
|
|
.republican-date {
|
|
font-family: var(--font-title);
|
|
font-size: clamp(2rem, 5vw, 3.2rem);
|
|
line-height: 1.1;
|
|
letter-spacing: 0.04em;
|
|
margin: 0.1rem 0;
|
|
}
|
|
|
|
.republican-year {
|
|
font-family: var(--font-title);
|
|
font-size: 1.3rem;
|
|
letter-spacing: 0.1em;
|
|
color: var(--ink-soft);
|
|
margin: 0;
|
|
}
|
|
|
|
/* Rubber-stamp look */
|
|
.sextile-badge {
|
|
display: inline-block;
|
|
margin-top: 0.6rem;
|
|
color: var(--rouge);
|
|
border: 2px solid var(--rouge);
|
|
outline: 1px solid var(--rouge);
|
|
outline-offset: 2px;
|
|
padding: 0.1rem 0.8rem;
|
|
font-family: var(--font-title);
|
|
font-size: 0.95rem;
|
|
letter-spacing: 0.15em;
|
|
transform: rotate(-3deg);
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.gregorian-equivalent {
|
|
margin: 0.8rem 0 0;
|
|
font-size: 0.95rem;
|
|
font-style: italic;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.description-panel {
|
|
max-width: 34rem;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.month-season-suffix {
|
|
font-family: var(--font-title);
|
|
font-size: 0.9rem;
|
|
letter-spacing: 0.06em;
|
|
color: var(--sepia);
|
|
margin: 0 0 0.6rem;
|
|
}
|
|
|
|
.month-etymology {
|
|
font-style: italic;
|
|
color: var(--ink-soft);
|
|
margin: 0 0 0.6rem;
|
|
}
|
|
|
|
.month-description {
|
|
margin: 0;
|
|
text-align: justify;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.month-description::first-letter {
|
|
font-family: var(--font-title);
|
|
font-size: 1.9em;
|
|
line-height: 1;
|
|
color: var(--rouge);
|
|
}
|
|
|
|
/* Form: a small printed notice */
|
|
.convert-form {
|
|
margin-top: 2.2rem;
|
|
background: var(--paper-dark);
|
|
background-image: var(--noise);
|
|
border: 1px solid var(--ink);
|
|
outline: 1px solid var(--ink);
|
|
outline-offset: -5px;
|
|
padding: 1.6rem;
|
|
box-shadow: 0 4px 12px rgba(60, 40, 15, 0.2);
|
|
}
|
|
|
|
.convert-form h2 {
|
|
margin-top: 0;
|
|
font-size: 1.3rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.convert-form label {
|
|
display: block;
|
|
font-size: 0.95rem;
|
|
margin-bottom: 0.4rem;
|
|
color: var(--ink-soft);
|
|
font-style: italic;
|
|
}
|
|
|
|
.convert-form-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.convert-form-row input[type="date"] {
|
|
font-family: inherit;
|
|
font-size: 1rem;
|
|
padding: 0.45rem 0.7rem;
|
|
border: 1px solid var(--ink);
|
|
border-radius: 0;
|
|
background: var(--paper-light);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.convert-form-row button {
|
|
font-family: var(--font-title);
|
|
font-size: 1.05rem;
|
|
letter-spacing: 0.08em;
|
|
padding: 0.45rem 1.1rem;
|
|
border-radius: 0;
|
|
border: 1px solid var(--ink);
|
|
background: var(--rouge);
|
|
color: var(--paper-light);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.convert-form-row button.secondary {
|
|
background: transparent;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.convert-form-row button:hover {
|
|
filter: brightness(1.12);
|
|
}
|
|
|
|
.form-help {
|
|
margin: 0.75rem 0 0;
|
|
font-size: 0.85rem;
|
|
font-style: italic;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.form-error {
|
|
margin: 0.75rem 0 0;
|
|
font-size: 0.95rem;
|
|
color: var(--rouge);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Full calendar: a printed poster */
|
|
#view-calendar {
|
|
margin: 0 -0.5rem;
|
|
}
|
|
|
|
.poster {
|
|
background: var(--paper-light);
|
|
background-image: var(--noise);
|
|
border: 6px double var(--ink);
|
|
padding: 1.8rem 1.4rem 1.6rem;
|
|
box-shadow: var(--shadow), inset 0 0 0 1px var(--rule), inset 0 0 50px rgba(122, 100, 69, 0.22);
|
|
}
|
|
|
|
.poster-head {
|
|
text-align: center;
|
|
}
|
|
|
|
.poster-head h1 {
|
|
margin: 0;
|
|
font-size: clamp(1.4rem, 4vw, 2.3rem);
|
|
}
|
|
|
|
.poster-subtitle {
|
|
margin: 0.2rem 0 0;
|
|
font-style: italic;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.poster-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 1.8rem 1.2rem;
|
|
margin-top: 0.6rem;
|
|
}
|
|
|
|
.season,
|
|
.poster-center {
|
|
min-width: 0;
|
|
}
|
|
|
|
.arch {
|
|
height: 110px;
|
|
border: 2px solid var(--ink);
|
|
border-radius: 50% 50% 0 0 / 100% 100% 0 0;
|
|
overflow: hidden;
|
|
background: var(--paper-dark);
|
|
box-shadow: inset 0 0 0 3px var(--paper-light), inset 0 0 0 4px var(--ink);
|
|
}
|
|
|
|
.arch img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: 50% 18%;
|
|
filter: grayscale(1) sepia(0.55) contrast(1.15) brightness(1.05);
|
|
mix-blend-mode: multiply;
|
|
}
|
|
|
|
.season-title {
|
|
margin: 0.5rem 0 0.3rem;
|
|
text-align: center;
|
|
font-size: 1.5rem;
|
|
letter-spacing: 0.18em;
|
|
border-bottom: 1px solid var(--ink);
|
|
padding-bottom: 0.2rem;
|
|
}
|
|
|
|
.season-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
table-layout: fixed;
|
|
font-size: 0.8rem;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.season-table th,
|
|
.season-table td {
|
|
padding: 0.12rem 0.25rem;
|
|
text-align: left;
|
|
vertical-align: baseline;
|
|
overflow-wrap: anywhere;
|
|
border-bottom: 1px dotted rgba(138, 119, 83, 0.6);
|
|
}
|
|
|
|
.season-table thead th {
|
|
font-weight: 400;
|
|
text-align: center;
|
|
border-bottom: 1px solid var(--ink);
|
|
padding-bottom: 0.3rem;
|
|
}
|
|
|
|
.season-table col.col-day {
|
|
width: 4.4em;
|
|
}
|
|
|
|
.season-table abbr {
|
|
margin-left: 0.2em;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.season-table thead th {
|
|
overflow-wrap: normal;
|
|
}
|
|
|
|
.day-head {
|
|
font-family: var(--font-title);
|
|
font-size: 0.8rem;
|
|
letter-spacing: 0.08em;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.month-button {
|
|
font-family: var(--font-title);
|
|
font-size: 0.95rem;
|
|
letter-spacing: 0.04em;
|
|
color: var(--ink);
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
border-bottom: 1px dotted var(--rouge);
|
|
}
|
|
|
|
.month-button:hover,
|
|
.month-button:focus-visible {
|
|
color: var(--rouge);
|
|
}
|
|
|
|
.season-table tbody th {
|
|
font-weight: 400;
|
|
color: var(--ink-soft);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.season-table .day-number {
|
|
display: inline-block;
|
|
min-width: 1.4em;
|
|
text-align: right;
|
|
margin-right: 0.15em;
|
|
font-weight: 700;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.season-table .decade-row th {
|
|
padding: 0.35rem 0.25rem 0.1rem;
|
|
font-family: var(--font-title);
|
|
font-size: 0.82rem;
|
|
letter-spacing: 0.12em;
|
|
text-align: center;
|
|
color: var(--sepia);
|
|
border-bottom: 1px solid var(--rule);
|
|
}
|
|
|
|
.season-table .decade-end th,
|
|
.season-table .decade-end td {
|
|
background: rgba(122, 100, 69, 0.1);
|
|
}
|
|
|
|
.season-table td.today,
|
|
.season-table th.today-row,
|
|
.season-table th.today-row .day-number {
|
|
background: var(--rouge);
|
|
color: var(--paper-light);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.month-button.is-current {
|
|
color: var(--rouge);
|
|
border-bottom-style: solid;
|
|
}
|
|
|
|
.poster-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.medallion {
|
|
width: min(190px, 70%);
|
|
aspect-ratio: 1;
|
|
margin: 0 auto;
|
|
border-radius: 50%;
|
|
border: 2px solid var(--ink);
|
|
padding: 10px;
|
|
background:
|
|
repeating-conic-gradient(var(--ink) 0 0.6deg, transparent 0.6deg 6deg) center / 100% 100% no-repeat,
|
|
var(--paper-dark);
|
|
box-shadow: inset 0 0 0 2px var(--paper-light), inset 0 0 0 3px var(--ink);
|
|
}
|
|
|
|
.medallion-inner {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--ink);
|
|
background: var(--paper-light);
|
|
}
|
|
|
|
.medallion-inner img {
|
|
position: absolute;
|
|
top: 9%;
|
|
left: 50%;
|
|
height: 82%;
|
|
width: auto;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.explanation {
|
|
margin: 1.1rem 0 0;
|
|
text-align: left;
|
|
font-size: 0.88rem;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.explanation h2 {
|
|
margin: 0 0 0.4rem;
|
|
font-size: 1.3rem;
|
|
text-align: center;
|
|
letter-spacing: 0.2em;
|
|
}
|
|
|
|
.explanation p {
|
|
margin: 0 0 0.6rem;
|
|
text-align: justify;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.poster-feasts {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: 0.6rem;
|
|
margin-top: 1.8rem;
|
|
padding-top: 1rem;
|
|
border-top: 3px double var(--ink);
|
|
}
|
|
|
|
.feast {
|
|
text-align: center;
|
|
padding: 0.5rem 0.4rem;
|
|
border: 1px solid var(--ink);
|
|
outline: 1px solid var(--rule);
|
|
outline-offset: -4px;
|
|
background: var(--paper-dark);
|
|
font-size: 0.9rem;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.feast-day {
|
|
display: block;
|
|
font-family: var(--font-title);
|
|
font-size: 0.95rem;
|
|
letter-spacing: 0.12em;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.feast-name {
|
|
display: block;
|
|
}
|
|
|
|
.feast-note {
|
|
display: block;
|
|
font-size: 0.78rem;
|
|
font-style: italic;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.feast.today {
|
|
background: var(--rouge);
|
|
color: var(--paper-light);
|
|
}
|
|
|
|
.feast.today .feast-day,
|
|
.feast.today .feast-note {
|
|
color: var(--paper-light);
|
|
}
|
|
|
|
/* Month dialog */
|
|
.month-dialog {
|
|
width: min(560px, calc(100vw - 2rem));
|
|
max-height: calc(100vh - 2rem);
|
|
overflow: auto;
|
|
padding: 1.6rem 1.6rem 1.4rem;
|
|
color: var(--ink);
|
|
background: var(--paper-light);
|
|
background-image: var(--noise);
|
|
border: 6px double var(--ink);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.month-dialog::backdrop {
|
|
background: rgba(47, 37, 25, 0.6);
|
|
}
|
|
|
|
.month-dialog .plate {
|
|
max-width: 280px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.dialog-close {
|
|
position: absolute;
|
|
top: 0.4rem;
|
|
right: 0.6rem;
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.8rem;
|
|
line-height: 1;
|
|
color: var(--ink);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dialog-close:hover {
|
|
color: var(--rouge);
|
|
}
|
|
|
|
.dialog-text {
|
|
margin-top: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
/* About view */
|
|
.about-view {
|
|
background: var(--paper-light);
|
|
background-image: var(--noise);
|
|
border: 6px double var(--ink);
|
|
padding: 2rem 2.2rem;
|
|
box-shadow: var(--shadow), inset 0 0 0 1px var(--rule), inset 0 0 40px rgba(122, 100, 69, 0.2);
|
|
}
|
|
|
|
.about-view h1 {
|
|
margin-top: 0;
|
|
text-align: center;
|
|
font-size: clamp(1.4rem, 4vw, 2rem);
|
|
padding-bottom: 0.6rem;
|
|
border-bottom: 3px double var(--ink);
|
|
}
|
|
|
|
.about-content h2 {
|
|
font-size: 1.3rem;
|
|
color: var(--rouge);
|
|
margin: 1.6rem 0 0.5rem;
|
|
}
|
|
|
|
.about-content h2:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.about-content p {
|
|
margin: 0 0 0.8rem;
|
|
text-align: justify;
|
|
hyphens: auto;
|
|
}
|
|
|
|
/* Footer */
|
|
.site-footer {
|
|
text-align: center;
|
|
padding: 0.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
|
|
font-size: 0.9rem;
|
|
font-style: italic;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.site-footer p {
|
|
margin: 0 auto;
|
|
max-width: 44rem;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (min-width: 820px) {
|
|
.poster-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.poster-center {
|
|
grid-column: 1 / -1;
|
|
display: grid;
|
|
grid-template-columns: 190px 1fr;
|
|
gap: 1.5rem;
|
|
align-items: center;
|
|
text-align: left;
|
|
order: -1;
|
|
}
|
|
|
|
.poster-center .medallion {
|
|
width: 190px;
|
|
}
|
|
|
|
.poster-center .explanation {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
/* Five columns like the original poster: autumn, winter, key, spring, summer */
|
|
@media (min-width: 1420px) {
|
|
main#app:has(#view-calendar:not([hidden])) {
|
|
max-width: 1640px;
|
|
}
|
|
|
|
.poster-grid {
|
|
grid-template-columns: 1.25fr 1.25fr 0.95fr 1.25fr 1.25fr;
|
|
}
|
|
|
|
.poster-center {
|
|
display: block;
|
|
order: 0;
|
|
grid-row: 1;
|
|
grid-column: 3;
|
|
}
|
|
|
|
.poster-center .medallion {
|
|
width: min(190px, 70%);
|
|
}
|
|
|
|
.poster-center .explanation {
|
|
margin-top: 1.1rem;
|
|
}
|
|
|
|
.season-table {
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.season-table .month-button {
|
|
font-size: 0.78rem;
|
|
letter-spacing: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 819px) {
|
|
.tablet {
|
|
border-radius: 50% 50% 6px 6px / 70px 70px 6px 6px;
|
|
padding: 2.4rem 1.3rem 1.6rem;
|
|
}
|
|
|
|
.tablet-body {
|
|
grid-template-columns: 1fr;
|
|
gap: 1.2rem;
|
|
}
|
|
|
|
.plate {
|
|
max-width: 280px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.fasces {
|
|
display: none;
|
|
}
|
|
|
|
.about-view {
|
|
padding: 1.4rem 1.2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.site-header {
|
|
padding: 0.9rem 1rem 0.7rem;
|
|
}
|
|
|
|
.brand-title {
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
main#app {
|
|
padding: 1.4rem 0.8rem 2rem;
|
|
}
|
|
|
|
.tablet {
|
|
border-width: 4px;
|
|
border-radius: 50% 50% 4px 4px / 48px 48px 4px 4px;
|
|
padding: 1.8rem 1rem 1.3rem;
|
|
}
|
|
|
|
.convert-form {
|
|
padding: 1.2rem;
|
|
}
|
|
|
|
.poster {
|
|
padding: 1.2rem 0.6rem;
|
|
border-width: 4px;
|
|
}
|
|
|
|
#view-calendar {
|
|
margin: 0 -0.4rem;
|
|
}
|
|
|
|
.season-table {
|
|
font-size: 0.72rem;
|
|
}
|
|
}
|