工农解放报第二期26.11

This commit is contained in:
Nobody committed 2026-11-12 11:13:28 +08:00
1 parent 97e84fa6c4
commit 5977b1b272
17 files changed
+604 -46

No files matched your search

+112 -8
View File
@@ -33,6 +33,8 @@
}
.global h1 {
font-size: 3rem;
line-height: 1.5;
}
.global h2 {
@@ -61,18 +63,39 @@
color: white;
background-color: red;
border: 0.18rem solid red;
display: inline-flex;
display: block;
break-before: page;
page-break-before: always;
width: fit-content;
line-height: 1.5;
padding: 0.08em 0.24em;
white-space: normal;
word-break: break-all;
font-family: "ZCOOL QingKe HuangYou", sans-serif;
margin: 1rem 1rem 0rem 2rem;
margin: 0 1rem 1.5rem 2rem;
border-radius: 0.5rem;
overflow-wrap: break-word;
max-width: 21cm;
}
/* Keep the first article with its column title; separate later articles
while allowing their bodies to flow across pages. */
.passages {
margin: 0 2rem;
padding: 0 0 1.5rem;
break-inside: auto;
page-break-inside: auto;
}
.passages:not(.first-passage) {
break-before: page;
page-break-before: always;
}
.passages.first-passage > :first-child {
margin-block-start: 1.5rem;
}
.index-column page_title {
font-size: calc(var(--font-size) + 0.5rem);
font-weight: bold;
@@ -85,14 +108,95 @@
margin: 1rem 0;
color: #666;
}
/* Material You-inspired surfaces for Markdown-generated tables. */
.global table {
width: 100%;
margin: 1.5rem 0 2rem;
border: 1px solid #c4c7c5;
border-radius: 0.75rem;
border-spacing: 0;
border-collapse: separate;
background-color: #fdfbff;
color: #1a1b1f;
overflow: hidden;
break-inside: auto;
page-break-inside: auto;
line-height: 1.5;
}
.global table caption {
margin-bottom: 0.75rem;
color: #454746;
font-size: 0.9em;
font-weight: 600;
text-align: left;
}
.global table thead {
display: table-header-group;
background-color: #dcefeb;
color: #00201f;
}
.global table th,
.global table td {
padding: 0.75rem 1rem;
border-right: 1px solid #c4c7c5;
border-bottom: 1px solid #c4c7c5;
text-align: left;
vertical-align: top;
overflow-wrap: anywhere;
}
.global table th {
color: #00504f;
font-weight: 700;
}
.global table tbody tr:nth-child(even) {
background-color: #f3f5f3;
}
.global table tbody tr {
break-inside: avoid;
page-break-inside: avoid;
}
.global table tr > :last-child {
border-right: 0;
}
.global table tbody tr:last-child td {
border-bottom: 0;
}
.global table thead tr:first-child th:first-child {
border-top-left-radius: 0.75rem;
}
.global table thead tr:first-child th:last-child {
border-top-right-radius: 0.75rem;
}
.global table tbody tr:last-child td:first-child {
border-bottom-left-radius: 0.75rem;
}
.global table tbody tr:last-child td:last-child {
border-bottom-right-radius: 0.75rem;
}
.global img {
height: 100%;
object-fit: scale-down;
height: auto;
max-width: 100%;
max-height: 25cm;
border-radius: 12px;
border: 4px solid linear-gradient(45deg, #e799b1, #44b144, #2f90ba);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
max-height: 33vh;
object-fit: contain;
padding: 5px;
border: 1px solid #c9d9d5;
border-radius: 10px;
background: #fff;
box-shadow: 0 2px 8px rgba(24, 50, 46, 0.14);
display: block;
margin: 1rem auto;
/* color: transparent; */