mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-04-16 13:48:32 +02:00
Update: UniNotes page style
This commit is contained in:
@@ -662,6 +662,10 @@
|
|||||||
|
|
||||||
/* ── UniNotes Contents Panel ─────────────────────────────────────────────── */
|
/* ── UniNotes Contents Panel ─────────────────────────────────────────────── */
|
||||||
|
|
||||||
|
.uninotes-contents-heading {
|
||||||
|
margin-bottom: -14.6px;
|
||||||
|
}
|
||||||
|
|
||||||
.uninotes-contents {
|
.uninotes-contents {
|
||||||
margin: 1.25rem 0 2rem 0;
|
margin: 1.25rem 0 2rem 0;
|
||||||
border-left: 3px solid var(--accent-color);
|
border-left: 3px solid var(--accent-color);
|
||||||
@@ -674,7 +678,6 @@
|
|||||||
.uninotes-contents__semester {
|
.uninotes-contents__semester {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.3rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__sem-link {
|
.uninotes-contents__sem-link {
|
||||||
@@ -693,8 +696,9 @@
|
|||||||
.uninotes-contents__subject {
|
.uninotes-contents__subject {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.25rem;
|
gap: 0.1rem;
|
||||||
padding-left: 0.7rem;
|
padding-top: 0.3rem;
|
||||||
|
padding-left: 1.21rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__subject-link {
|
.uninotes-contents__subject-link {
|
||||||
@@ -702,7 +706,7 @@
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--foreground-color);
|
color: var(--foreground-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
letter-spacing: 0.05rem;
|
letter-spacing: 0.04rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__subject-link:hover {
|
.uninotes-contents__subject-link:hover {
|
||||||
@@ -713,21 +717,21 @@
|
|||||||
.uninotes-contents__units {
|
.uninotes-contents__units {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0.6px;
|
padding: 0.6px;
|
||||||
margin: 0.15rem 0 0.3rem 0.75rem;
|
margin: 0.15rem 0 0.3rem 1.21rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.03rem;
|
gap: 0.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__unit {
|
.uninotes-contents__unit {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.7rem;
|
gap: 0.68rem;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__unit-link {
|
.uninotes-contents__unit-link {
|
||||||
font-size: 0.9rem;
|
font-size: 0.94rem;
|
||||||
color: var(--foreground-color);
|
color: var(--foreground-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@@ -739,7 +743,7 @@
|
|||||||
|
|
||||||
.uninotes-contents__unit-cats {
|
.uninotes-contents__unit-cats {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.25rem;
|
gap: 0.05rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__cat {
|
.uninotes-contents__cat {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<label class=brand__mobile-toggle for=mobile-menu-check aria-label=Menu><svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg></label><div class=brand__mobile-links><a href=/login/ class=mobile-link>Login</a>
|
<label class=brand__mobile-toggle for=mobile-menu-check aria-label=Menu><svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg></label><div class=brand__mobile-links><a href=/login/ class=mobile-link>Login</a>
|
||||||
<a href=/signup/ class=mobile-link>Sign Up</a>
|
<a href=/signup/ class=mobile-link>Sign Up</a>
|
||||||
<a href=/uninotes/index.xml class="mobile-link mobile-link--subscribe"><svg viewBox="0 0 24 24" width="12" height="12" fill="currentColor" aria-hidden="true"><path d="M6.18 15.64a2.18 2.18.0 012.18 2.18c0 1.19-.98 2.18-2.18 2.18C4.98 20 4 19.01 4 17.82a2.18 2.18.0 012.18-2.18M4 4.44A15.56 15.56.0 0119.56 20h-2.83A12.73 12.73.0 004 7.27V4.44m0 5.66a9.9 9.9.0 019.9 9.9h-2.83A7.07 7.07.0 004 12.93V10.1z"/></svg>
|
<a href=/uninotes/index.xml class="mobile-link mobile-link--subscribe"><svg viewBox="0 0 24 24" width="12" height="12" fill="currentColor" aria-hidden="true"><path d="M6.18 15.64a2.18 2.18.0 012.18 2.18c0 1.19-.98 2.18-2.18 2.18C4.98 20 4 19.01 4 17.82a2.18 2.18.0 012.18-2.18M4 4.44A15.56 15.56.0 0119.56 20h-2.83A12.73 12.73.0 004 7.27V4.44m0 5.66a9.9 9.9.0 019.9 9.9h-2.83A7.07 7.07.0 004 12.93V10.1z"/></svg>
|
||||||
Subscribe</a></div></div></div></div><nav class="menu language"><ul class="menu__list language__list"><li class=menu__item><a class=menu__link href=/>Home</a></li><li class=menu__item><a class=menu__link href=/blog/>Blog</a></li><li class=menu__item><a class=menu__link href=/services/>Services</a></li><li class=menu__item><a class=menu__link href=/uninotes/>UniNotes</a></li><li class=menu__item><a class=menu__link href=/contact/>Contact</a></li></ul></nav></header><main class=main><nav class="uninotes-breadcrumbs breadcrumbs"><a href=/uninotes/>UniNotes</a></nav><h1>UniNotes</h1><h3>Contents</h3><div class=uninotes-contents><div class=uninotes-contents__semester><a class=uninotes-contents__sem-link href=/uninotes/s1/>S1</a><div class=uninotes-contents__subject><a class=uninotes-contents__subject-link href=/uninotes/s1/bo-dcm1109/>BO DCM1109</a><ul class=uninotes-contents__units><li class=uninotes-contents__unit><a class=uninotes-contents__unit-link href=/uninotes/s1/bo-dcm1109/unit1/>Unit 1</a>
|
Subscribe</a></div></div></div></div><nav class="menu language"><ul class="menu__list language__list"><li class=menu__item><a class=menu__link href=/>Home</a></li><li class=menu__item><a class=menu__link href=/blog/>Blog</a></li><li class=menu__item><a class=menu__link href=/services/>Services</a></li><li class=menu__item><a class=menu__link href=/uninotes/>UniNotes</a></li><li class=menu__item><a class=menu__link href=/contact/>Contact</a></li></ul></nav></header><main class=main><nav class="uninotes-breadcrumbs breadcrumbs"><a href=/uninotes/>UniNotes</a></nav><h1>UniNotes</h1><h3 class=uninotes-contents-heading>Contents</h3><div class=uninotes-contents><div class=uninotes-contents__semester><a class=uninotes-contents__sem-link href=/uninotes/s1/>S1</a><div class=uninotes-contents__subject><a class=uninotes-contents__subject-link href=/uninotes/s1/bo-dcm1109/>BO DCM1109</a><ul class=uninotes-contents__units><li class=uninotes-contents__unit><a class=uninotes-contents__unit-link href=/uninotes/s1/bo-dcm1109/unit1/>Unit 1</a>
|
||||||
<span class=uninotes-contents__unit-cats><a class="uninotes-contents__cat uninotes-contents__cat--self" href=/uninotes/s1/bo-dcm1109/unit1/self/>Self</a>
|
<span class=uninotes-contents__unit-cats><a class="uninotes-contents__cat uninotes-contents__cat--self" href=/uninotes/s1/bo-dcm1109/unit1/self/>Self</a>
|
||||||
<span class="uninotes-contents__cat uninotes-contents__cat--na">Live</span></span></li><li class=uninotes-contents__unit><a class=uninotes-contents__unit-link href=/uninotes/s1/bo-dcm1109/unit2/>Unit 2</a>
|
<span class="uninotes-contents__cat uninotes-contents__cat--na">Live</span></span></li><li class=uninotes-contents__unit><a class=uninotes-contents__unit-link href=/uninotes/s1/bo-dcm1109/unit2/>Unit 2</a>
|
||||||
<span class=uninotes-contents__unit-cats><a class="uninotes-contents__cat uninotes-contents__cat--self" href=/uninotes/s1/bo-dcm1109/unit2/self/>Self</a>
|
<span class=uninotes-contents__unit-cats><a class="uninotes-contents__cat uninotes-contents__cat--self" href=/uninotes/s1/bo-dcm1109/unit2/self/>Self</a>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<h1>UniNotes</h1>
|
<h1>UniNotes</h1>
|
||||||
|
|
||||||
<h3>Contents</h3>
|
<h3 class="uninotes-contents-heading">Contents</h3>
|
||||||
|
|
||||||
{{/* Build full tree: semester → subjectcode → units → self/live */}} {{ $semesters :=
|
{{/* Build full tree: semester → subjectcode → units → self/live */}} {{ $semesters :=
|
||||||
site.Taxonomies.semester.Alphabetical }}
|
site.Taxonomies.semester.Alphabetical }}
|
||||||
|
|||||||
@@ -662,6 +662,10 @@
|
|||||||
|
|
||||||
/* ── UniNotes Contents Panel ─────────────────────────────────────────────── */
|
/* ── UniNotes Contents Panel ─────────────────────────────────────────────── */
|
||||||
|
|
||||||
|
.uninotes-contents-heading {
|
||||||
|
margin-bottom: -14.6px;
|
||||||
|
}
|
||||||
|
|
||||||
.uninotes-contents {
|
.uninotes-contents {
|
||||||
margin: 1.25rem 0 2rem 0;
|
margin: 1.25rem 0 2rem 0;
|
||||||
border-left: 3px solid var(--accent-color);
|
border-left: 3px solid var(--accent-color);
|
||||||
@@ -674,7 +678,6 @@
|
|||||||
.uninotes-contents__semester {
|
.uninotes-contents__semester {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.3rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__sem-link {
|
.uninotes-contents__sem-link {
|
||||||
@@ -693,8 +696,9 @@
|
|||||||
.uninotes-contents__subject {
|
.uninotes-contents__subject {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.25rem;
|
gap: 0.1rem;
|
||||||
padding-left: 0.7rem;
|
padding-top: 0.3rem;
|
||||||
|
padding-left: 1.21rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__subject-link {
|
.uninotes-contents__subject-link {
|
||||||
@@ -702,7 +706,7 @@
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--foreground-color);
|
color: var(--foreground-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
letter-spacing: 0.05rem;
|
letter-spacing: 0.04rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__subject-link:hover {
|
.uninotes-contents__subject-link:hover {
|
||||||
@@ -713,21 +717,21 @@
|
|||||||
.uninotes-contents__units {
|
.uninotes-contents__units {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0.6px;
|
padding: 0.6px;
|
||||||
margin: 0.15rem 0 0.3rem 0.75rem;
|
margin: 0.15rem 0 0.3rem 1.21rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.03rem;
|
gap: 0.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__unit {
|
.uninotes-contents__unit {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.7rem;
|
gap: 0.68rem;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__unit-link {
|
.uninotes-contents__unit-link {
|
||||||
font-size: 0.9rem;
|
font-size: 0.94rem;
|
||||||
color: var(--foreground-color);
|
color: var(--foreground-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@@ -739,7 +743,7 @@
|
|||||||
|
|
||||||
.uninotes-contents__unit-cats {
|
.uninotes-contents__unit-cats {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.25rem;
|
gap: 0.05rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uninotes-contents__cat {
|
.uninotes-contents__cat {
|
||||||
|
|||||||
Reference in New Issue
Block a user