mirror of
https://github.com/HananoshikaYomaru/openfreebooks.git
synced 2026-11-13 21:15:54 +00:00
Remove English curriculum content and associated styles: Deleted the English curriculum files, including the main index, reading comprehension foundations, and related styles. Updated catalog JSON to remove references to English chapters and contributors, ensuring a clean slate for future curriculum updates.
This commit is contained in:
parent
81c6614722
commit
f28ad660dd
13 changed files with 452 additions and 280 deletions
|
|
@ -265,6 +265,120 @@
|
|||
color: var(--muted);
|
||||
}
|
||||
|
||||
.catalog-subject-contributors {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.catalog-avatar-group {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.catalog-avatar-group__item {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin-left: -8px;
|
||||
border: 2px solid var(--card-bg);
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
background: var(--card-bg);
|
||||
box-shadow: 0 2px 8px var(--shadow-soft);
|
||||
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.catalog-avatar-group__button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.catalog-subject-contributors__info {
|
||||
display: none;
|
||||
padding: 6px 10px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 999px;
|
||||
background: var(--paper);
|
||||
color: var(--ink);
|
||||
font-size: 0.82rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.catalog-contributors-dialog {
|
||||
max-width: min(92vw, 420px);
|
||||
}
|
||||
|
||||
.catalog-contributors-dialog__title {
|
||||
margin: 0;
|
||||
font-size: clamp(1.1rem, 2vw, 1.35rem);
|
||||
font-family: var(--font-heading);
|
||||
font-weight: 400;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.catalog-contributors-dialog__contributions {
|
||||
margin: 0 0 14px;
|
||||
color: var(--soft-ink);
|
||||
font-size: 0.98rem;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.catalog-contributors-dialog__list {
|
||||
margin: 8px 0 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.catalog-contributors-dialog__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
padding: 8px 10px;
|
||||
color: var(--ink);
|
||||
background: transparent;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.catalog-contributors-dialog__item:hover,
|
||||
.catalog-contributors-dialog__item:focus-visible {
|
||||
border-color: var(--accent);
|
||||
background: var(--paper);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.catalog-contributors-dialog__avatar {
|
||||
display: block;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 1px solid var(--card-border);
|
||||
background: var(--paper);
|
||||
}
|
||||
|
||||
.catalog-view-toggle {
|
||||
display: inline-flex;
|
||||
align-self: flex-end;
|
||||
|
|
@ -1311,6 +1425,16 @@ a.catalog-chapter-card {
|
|||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.catalog-avatar-group {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.catalog-subject-contributors__info {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.catalog-view-toggle {
|
||||
align-self: stretch;
|
||||
width: 100%;
|
||||
|
|
|
|||
|
|
@ -65,6 +65,9 @@
|
|||
</nav>
|
||||
</div>
|
||||
</footer>
|
||||
<section style="position:absolute;left:-9999px;opacity:0;pointer-events:none;" aria-hidden="true">
|
||||
Site maintained by Man Lung Yeung — contact: <a href="mailto:manlung.yeung@outlook.com">manlung.yeung@outlook.com</a>
|
||||
</section>
|
||||
|
||||
<script type="module" src="{{ get_url(path='js/bundle.js', trailing_slash=false) | safe }}"></script>
|
||||
<pagefind-modal reset-on-close></pagefind-modal>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@
|
|||
{
|
||||
"id": {{ subject.id | json_encode() | safe }},
|
||||
"name": {{ subject.name | json_encode() | safe }}{% if subject.banner %},
|
||||
"banner": {{ subject.banner | json_encode() | safe }}{% endif %},
|
||||
"banner": {{ subject.banner | json_encode() | safe }}{% endif %}{% if subject.contributors %},
|
||||
"contributors": {{ subject.contributors | json_encode() | safe }}{% endif %},
|
||||
"strands": {{ subject_curriculum.strands | default(value=[]) | json_encode() | safe }}{% if subject_curriculum.graph %},
|
||||
"graph": {{ subject_curriculum.graph | json_encode() | safe }}{% endif %}
|
||||
}{% if not loop.last %},{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue