Update: UniNotes looks

This commit is contained in:
hyzen
2026-04-16 02:10:55 +05:30
parent f918f73df0
commit 5d1c8f6988
4 changed files with 14 additions and 788 deletions

View File

@@ -674,7 +674,7 @@
.uninotes-contents__semester { .uninotes-contents__semester {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.6rem; gap: 0.4rem;
} }
.uninotes-contents__sem-link { .uninotes-contents__sem-link {
@@ -693,7 +693,7 @@
.uninotes-contents__subject { .uninotes-contents__subject {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.6rem; gap: 0.3rem;
padding-left: 0.7rem; padding-left: 0.7rem;
} }
@@ -702,7 +702,7 @@
font-weight: 600; font-weight: 600;
color: var(--foreground-color); color: var(--foreground-color);
text-decoration: none; text-decoration: none;
letter-spacing: 0.01em; letter-spacing: 0.05rem;
} }
.uninotes-contents__subject-link:hover { .uninotes-contents__subject-link:hover {
@@ -713,10 +713,10 @@
.uninotes-contents__units { .uninotes-contents__units {
list-style: none; list-style: none;
padding: 0.6px; padding: 0.6px;
margin: 0.15rem 0 0 0.75rem; margin: 0.15rem 0 0.3rem 0.75rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.4rem; gap: 0.1rem;
} }
.uninotes-contents__unit { .uninotes-contents__unit {
@@ -739,7 +739,7 @@
.uninotes-contents__unit-cats { .uninotes-contents__unit-cats {
display: flex; display: flex;
gap: 0.3rem; gap: 0.25rem;
} }
.uninotes-contents__cat { .uninotes-contents__cat {

View File

@@ -1,774 +0,0 @@
/*
Styles are mobile-first. Desktop styles are wrapped in media queries.
Naming convention: BEM (Block, Element, Modifier). When it's difficult to add classes, I will use tag names.
*/
*,
*::before,
*::after {
box-sizing: border-box; }
.body {
margin: 0; }
a {
text-decoration: none; }
.menu__list,
.translation-list,
.pagination {
list-style-type: none;
padding-inline-start: 0; }
ul:has(> li > input[type="checkbox"]) {
list-style-type: none;
padding-inline-start: 1em; }
blockquote {
margin: 0; }
.body {
margin-left: 16px;
margin-right: 16px; }
@media (min-width: 800px) {
.body {
width: 768px;
margin-left: auto;
margin-right: auto; } }
:root {
--background-color: #171414;
--background-color1: #fff;
--foreground-color: #e3e1db;
--foreground-color3: #ccc3b3;
--accent-color: #fff; }
@media (prefers-color-scheme: light) {
:root {
--background-color: #fbf1c7;
--background-color1: #ebdbb2;
--foreground-color: #3c3836;
--foreground-color3: #665c54;
--accent-color: #af3a03; } }
.body {
background-color: var(--background-color);
color: var(--foreground-color); }
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--foreground-color); }
a {
color: var(--accent-color); }
.header {
border-bottom: 1px solid var(--background-color1); }
.brand {
display: flex;
align-items: center;
gap: 6.9px;
margin-bottom: -18px; }
.brand img {
height: 37px;
padding: 0px; }
.footer {
border-top: 1px solid var(--background-color1); }
blockquote {
background-color: var(--background-color1); }
[dir=rtl] blockquote {
border-right: 0.5rem solid var(--accent-color); }
[dir=ltr] blockquote {
border-left: 0.5rem solid var(--accent-color); }
:not(pre) > code {
background-color: var(--background-color1); }
hr {
background: var(--background-color1); }
table {
background-color: var(--background-color1); }
td,
th {
border: 1px solid var(--background-color); }
figcaption {
color: var(--foreground-color3); }
/* Background */
.bg {
color: #3c3836;
background-color: #fbf1c7; }
/* PreWrapper */
.chroma {
color: #3c3836;
background-color: #fbf1c7; }
/* Other */
/* Error */
/* CodeLine */
/* LineLink */
.chroma .lnlinks {
outline: none;
text-decoration: none;
color: inherit; }
/* LineTableTD */
.chroma .lntd {
vertical-align: top;
padding: 0;
margin: 0;
border: 0; }
/* LineTable */
.chroma .lntable {
border-spacing: 0;
padding: 0;
margin: 0;
border: 0; }
/* LineHighlight */
.chroma .hl {
background-color: #e1d8b3; }
/* LineNumbersTable */
.chroma .lnt {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #9d9b9a; }
/* LineNumbers */
.chroma .ln {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #9d9b9a; }
/* Line */
.chroma .line {
display: flex; }
/* Keyword */
.chroma .k {
color: #af3a03; }
/* KeywordConstant */
.chroma .kc {
color: #af3a03; }
/* KeywordDeclaration */
.chroma .kd {
color: #af3a03; }
/* KeywordNamespace */
.chroma .kn {
color: #af3a03; }
/* KeywordPseudo */
.chroma .kp {
color: #af3a03; }
/* KeywordReserved */
.chroma .kr {
color: #af3a03; }
/* KeywordType */
.chroma .kt {
color: #b57614; }
/* Name */
/* NameAttribute */
.chroma .na {
color: #79740e;
font-weight: bold; }
/* NameBuiltin */
.chroma .nb {
color: #b57614; }
/* NameBuiltinPseudo */
/* NameClass */
/* NameConstant */
.chroma .no {
color: #d3869b; }
/* NameDecorator */
/* NameEntity */
.chroma .ni {
color: #b57614; }
/* NameException */
.chroma .ne {
color: #fb4934; }
/* NameFunction */
.chroma .nf {
color: #b57614; }
/* NameFunctionMagic */
/* NameLabel */
.chroma .nl {
color: #9d0006; }
/* NameNamespace */
/* NameOther */
/* NameProperty */
/* NameTag */
.chroma .nt {
color: #9d0006; }
/* NameVariable */
/* NameVariableClass */
/* NameVariableGlobal */
/* NameVariableInstance */
/* NameVariableMagic */
/* Literal */
/* LiteralDate */
/* LiteralString */
.chroma .s {
color: #79740e; }
/* LiteralStringAffix */
.chroma .sa {
color: #79740e; }
/* LiteralStringBacktick */
.chroma .sb {
color: #79740e; }
/* LiteralStringChar */
.chroma .sc {
color: #79740e; }
/* LiteralStringDelimiter */
.chroma .dl {
color: #79740e; }
/* LiteralStringDoc */
.chroma .sd {
color: #79740e; }
/* LiteralStringDouble */
.chroma .s2 {
color: #79740e; }
/* LiteralStringEscape */
.chroma .se {
color: #79740e; }
/* LiteralStringHeredoc */
.chroma .sh {
color: #79740e; }
/* LiteralStringInterpol */
.chroma .si {
color: #79740e; }
/* LiteralStringOther */
.chroma .sx {
color: #79740e; }
/* LiteralStringRegex */
.chroma .sr {
color: #79740e; }
/* LiteralStringSingle */
.chroma .s1 {
color: #79740e; }
/* LiteralStringSymbol */
.chroma .ss {
color: #076678; }
/* LiteralNumber */
.chroma .m {
color: #8f3f71; }
/* LiteralNumberBin */
.chroma .mb {
color: #8f3f71; }
/* LiteralNumberFloat */
.chroma .mf {
color: #8f3f71; }
/* LiteralNumberHex */
.chroma .mh {
color: #8f3f71; }
/* LiteralNumberInteger */
.chroma .mi {
color: #8f3f71; }
/* LiteralNumberIntegerLong */
.chroma .il {
color: #8f3f71; }
/* LiteralNumberOct */
.chroma .mo {
color: #8f3f71; }
/* Operator */
.chroma .o {
color: #af3a03; }
/* OperatorWord */
.chroma .ow {
color: #af3a03; }
/* Punctuation */
/* Comment */
.chroma .c {
color: #928374;
font-style: italic; }
/* CommentHashbang */
.chroma .ch {
color: #928374;
font-style: italic; }
/* CommentMultiline */
.chroma .cm {
color: #928374;
font-style: italic; }
/* CommentSingle */
.chroma .c1 {
color: #928374;
font-style: italic; }
/* CommentSpecial */
.chroma .cs {
color: #928374;
font-style: italic; }
/* CommentPreproc */
.chroma .cp {
color: #427b58; }
/* CommentPreprocFile */
.chroma .cpf {
color: #427b58;
font-style: italic; }
/* Generic */
/* GenericDeleted */
.chroma .gd {
color: #282828;
background-color: #9d0006; }
/* GenericEmph */
.chroma .ge {
color: #076678;
text-decoration: underline; }
/* GenericError */
.chroma .gr {
background-color: #9d0006;
font-weight: bold; }
/* GenericHeading */
.chroma .gh {
color: #79740e;
font-weight: bold; }
/* GenericInserted */
.chroma .gi {
color: #282828;
background-color: #79740e; }
/* GenericOutput */
.chroma .go {
color: #504945; }
/* GenericPrompt */
/* GenericStrong */
/* GenericSubheading */
.chroma .gu {
color: #79740e;
font-weight: bold; }
/* GenericTraceback */
.chroma .gt {
background-color: #3c3836;
font-weight: bold; }
/* GenericUnderline */
/* TextWhitespace */
@media (prefers-color-scheme: dark) {
/* Background */
.bg {
color: #ebdbb2;
background-color: #282828; }
/* PreWrapper */
.chroma {
color: #ebdbb2;
background-color: #282828; }
/* Other */
/* Error */
/* CodeLine */
/* LineLink */
.chroma .lnlinks {
outline: none;
text-decoration: none;
color: inherit; }
/* LineTableTD */
.chroma .lntd {
vertical-align: top;
padding: 0;
margin: 0;
border: 0; }
/* LineTable */
.chroma .lntable {
border-spacing: 0;
padding: 0;
margin: 0;
border: 0; }
/* LineHighlight */
.chroma .hl {
background-color: #3d3d3d; }
/* LineNumbersTable */
.chroma .lnt {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #756d59; }
/* LineNumbers */
.chroma .ln {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #756d59; }
/* Line */
.chroma .line {
display: flex; }
/* Keyword */
.chroma .k {
color: #fe8019; }
/* KeywordConstant */
.chroma .kc {
color: #fe8019; }
/* KeywordDeclaration */
.chroma .kd {
color: #fe8019; }
/* KeywordNamespace */
.chroma .kn {
color: #fe8019; }
/* KeywordPseudo */
.chroma .kp {
color: #fe8019; }
/* KeywordReserved */
.chroma .kr {
color: #fe8019; }
/* KeywordType */
.chroma .kt {
color: #fabd2f; }
/* Name */
/* NameAttribute */
.chroma .na {
color: #b8bb26;
font-weight: bold; }
/* NameBuiltin */
.chroma .nb {
color: #fabd2f; }
/* NameBuiltinPseudo */
/* NameClass */
/* NameConstant */
.chroma .no {
color: #d3869b; }
/* NameDecorator */
/* NameEntity */
.chroma .ni {
color: #fabd2f; }
/* NameException */
.chroma .ne {
color: #fb4934; }
/* NameFunction */
.chroma .nf {
color: #fabd2f; }
/* NameFunctionMagic */
/* NameLabel */
.chroma .nl {
color: #fb4934; }
/* NameNamespace */
/* NameOther */
/* NameProperty */
/* NameTag */
.chroma .nt {
color: #fb4934; }
/* NameVariable */
/* NameVariableClass */
/* NameVariableGlobal */
/* NameVariableInstance */
/* NameVariableMagic */
/* Literal */
/* LiteralDate */
/* LiteralString */
.chroma .s {
color: #b8bb26; }
/* LiteralStringAffix */
.chroma .sa {
color: #b8bb26; }
/* LiteralStringBacktick */
.chroma .sb {
color: #b8bb26; }
/* LiteralStringChar */
.chroma .sc {
color: #b8bb26; }
/* LiteralStringDelimiter */
.chroma .dl {
color: #b8bb26; }
/* LiteralStringDoc */
.chroma .sd {
color: #b8bb26; }
/* LiteralStringDouble */
.chroma .s2 {
color: #b8bb26; }
/* LiteralStringEscape */
.chroma .se {
color: #b8bb26; }
/* LiteralStringHeredoc */
.chroma .sh {
color: #b8bb26; }
/* LiteralStringInterpol */
.chroma .si {
color: #b8bb26; }
/* LiteralStringOther */
.chroma .sx {
color: #b8bb26; }
/* LiteralStringRegex */
.chroma .sr {
color: #b8bb26; }
/* LiteralStringSingle */
.chroma .s1 {
color: #b8bb26; }
/* LiteralStringSymbol */
.chroma .ss {
color: #83a598; }
/* LiteralNumber */
.chroma .m {
color: #d3869b; }
/* LiteralNumberBin */
.chroma .mb {
color: #d3869b; }
/* LiteralNumberFloat */
.chroma .mf {
color: #d3869b; }
/* LiteralNumberHex */
.chroma .mh {
color: #d3869b; }
/* LiteralNumberInteger */
.chroma .mi {
color: #d3869b; }
/* LiteralNumberIntegerLong */
.chroma .il {
color: #d3869b; }
/* LiteralNumberOct */
.chroma .mo {
color: #d3869b; }
/* Operator */
.chroma .o {
color: #fe8019; }
/* OperatorWord */
.chroma .ow {
color: #fe8019; }
/* Punctuation */
/* Comment */
.chroma .c {
color: #928374;
font-style: italic; }
/* CommentHashbang */
.chroma .ch {
color: #928374;
font-style: italic; }
/* CommentMultiline */
.chroma .cm {
color: #928374;
font-style: italic; }
/* CommentSingle */
.chroma .c1 {
color: #928374;
font-style: italic; }
/* CommentSpecial */
.chroma .cs {
color: #928374;
font-style: italic; }
/* CommentPreproc */
.chroma .cp {
color: #8ec07c; }
/* CommentPreprocFile */
.chroma .cpf {
color: #8ec07c;
font-style: italic; }
/* Generic */
/* GenericDeleted */
.chroma .gd {
color: #282828;
background-color: #fb4934; }
/* GenericEmph */
.chroma .ge {
color: #83a598;
text-decoration: underline; }
/* GenericError */
.chroma .gr {
background-color: #fb4934;
font-weight: bold; }
/* GenericHeading */
.chroma .gh {
color: #b8bb26;
font-weight: bold; }
/* GenericInserted */
.chroma .gi {
color: #282828;
background-color: #b8bb26; }
/* GenericOutput */
.chroma .go {
color: #504945; }
/* GenericPrompt */
/* GenericStrong */
/* GenericSubheading */
.chroma .gu {
color: #b8bb26;
font-weight: bold; }
/* GenericTraceback */
.chroma .gt {
background-color: #fb4934;
font-weight: bold; }
/* GenericUnderline */
/* TextWhitespace */ }
pre:not(.chroma),
.bg,
.chroma,
.highlight {
background-color: var(--background-color1); }
.html {
font-size: 18px; }
.body {
font-family: sans-serif;
line-height: 1.5; }
p,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word; }
.toc {
margin-block: 1rem; }
.toc__summary {
font-weight: bolder;
cursor: pointer; }
blockquote {
padding: 0.5rem; }
hr {
border: none;
height: 1px; }
figure {
margin-inline: 0; }
.heading__anchor {
display: none; }
.heading:hover > .heading__anchor {
display: inline; }
.table-wrapper {
overflow-x: auto;
margin-block: 1rem; }
.table-wrapper > table {
word-break: keep-all;
border-collapse: collapse; }
.table-wrapper > table td,
.table-wrapper > table th {
padding: 0.5rem;
text-align: start; }
svg,
img,
video,
iframe {
max-width: 100%; }
.menu__list {
display: flex;
flex-direction: row;
gap: 0.5rem;
flex-wrap: wrap; }
.menu__link--active {
font-weight: bolder; }
.pagination {
display: flex;
gap: 1rem; }
.page-item.active {
font-weight: bolder; }
.page-nav {
display: flex;
flex-direction: column;
margin-block: 1rem; }
.section-post-title,
.term-post-title {
margin-block-start: 0; }
.home-post-title {
margin-block-end: 0; }
.summary {
margin-block-start: 0; }
:not(pre) > code {
padding-inline: 0.25rem; }
div.highlight {
overflow-x: auto;
margin-block: 1rem; }
div.highlight > div.chroma > table.lntable {
padding-inline-end: 0.4rem; }
div.highlight > pre.chroma {
padding-inline: 0.4rem; }
pre:not(.chroma) {
overflow-x: auto;
padding-block: 1rem;
padding-inline: 0.4rem; }
pre {
font-size: 0.875rem; }
.footer {
font-size: smaller; }

View File

@@ -9,6 +9,6 @@
<a href=/uninotes/s1/pbm-dcm1110/unit1/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/s1/pbm-dcm1110/unit1/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> 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>
<a href=/uninotes/s1/>S1</a> <a href=/uninotes/s1/>S1</a>
<a href=/uninotes/s1/ge-dcm1106/>GE DCM1106</a> <a href=/uninotes/s1/pbm-dcm1110/>PBM DCM1110</a>
<span>Unit 1</span></nav><div class=uninotes-meta><span class=uninotes-meta__pill>S1</span> <span>Unit 1</span></nav><div class=uninotes-meta><span class=uninotes-meta__pill>S1</span>
<span class=uninotes-meta__pill>GE DCM1106</span></div><h1>Unit 1</h1><p class=unit-choice__subtitle>Choose type:</p><div class=unit-choice__options><div class="unit-choice__card unit-choice__card--self unit-choice__card--unavailable"><div class=unit-choice__icon><svg viewBox="0 0 24 24" width="32" height="32" fill="currentColor"><path d="M12 3 1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9L12 3zm6.82 6L12 12.72 5.18 9 12 5.28 18.82 9zM17 15.99l-5 2.73-5-2.73v-3.72L12 15l5-2.73v3.72z"/></svg></div><div class=unit-choice__label>Self</div><div class=unit-choice__desc>Not available</div></div><a class="unit-choice__card unit-choice__card--live" href=/uninotes/s1/pbm-dcm1110/unit1/live/><div class=unit-choice__icon><svg viewBox="0 0 24 24" width="32" height="32" fill="currentColor"><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55.0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55.0 1-.45 1-1v-3.5l4 4v-11l-4 4z"/></svg></div><div class=unit-choice__label>Live</div><div class=unit-choice__desc>Live class notes</div></a></div></main><footer class=footer><p class=footer__copyright-notice>&copy; <a href=https://freedoms4.org>freedoms4.org</a> <a href=/changelog/>Changelog</a></p><p class=footer__theme-info>Built with <a href=https://gohugo.io>Hugo</a> and based on <a href=https://github.com/CyrusYip/hugo-theme-yue>Yue</a> theme</p></footer><script>(function(){var e=document.getElementById("theme-toggle");if(!e)return;function t(){var e=localStorage.getItem("theme");return e?e:window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}function n(e){document.documentElement.setAttribute("data-theme",e),localStorage.setItem("theme",e)}n(t()),e.addEventListener("click",function(){var e=document.documentElement.getAttribute("data-theme")||t();n(e==="dark"?"light":"dark")})})()</script><script>(function(){var e=document.getElementById("mobile-menu-check");if(!e)return;document.addEventListener("click",function(t){if(!e.checked)return;var n=e.closest(".brand__mobile-menu");n&&!n.contains(t.target)&&(e.checked=!1)})})()</script></body></html>/body></html> <span class=uninotes-meta__pill>PBM DCM1110</span></div><h1>Unit 1</h1><p class=unit-choice__subtitle>Choose type:</p><div class=unit-choice__options><a class="unit-choice__card unit-choice__card--self" href=/uninotes/s1/pbm-dcm1110/unit1/self/><div class=unit-choice__icon><svg viewBox="0 0 24 24" width="32" height="32" fill="currentColor"><path d="M12 3 1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9L12 3zm6.82 6L12 12.72 5.18 9 12 5.28 18.82 9zM17 15.99l-5 2.73-5-2.73v-3.72L12 15l5-2.73v3.72z"/></svg></div><div class=unit-choice__label>Self</div><div class=unit-choice__desc>Self-study notes</div></a><a class="unit-choice__card unit-choice__card--live" href=/uninotes/s1/pbm-dcm1110/unit1/live/><div class=unit-choice__icon><svg viewBox="0 0 24 24" width="32" height="32" fill="currentColor"><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55.0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55.0 1-.45 1-1v-3.5l4 4v-11l-4 4z"/></svg></div><div class=unit-choice__label>Live</div><div class=unit-choice__desc>Live class notes</div></a></div></main><footer class=footer><p class=footer__copyright-notice>&copy; <a href=https://freedoms4.org>freedoms4.org</a> <a href=/changelog/>Changelog</a></p><p class=footer__theme-info>Built with <a href=https://gohugo.io>Hugo</a> and based on <a href=https://github.com/CyrusYip/hugo-theme-yue>Yue</a> theme</p></footer><script>(function(){var e=document.getElementById("theme-toggle");if(!e)return;function t(){var e=localStorage.getItem("theme");return e?e:window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}function n(e){document.documentElement.setAttribute("data-theme",e),localStorage.setItem("theme",e)}n(t()),e.addEventListener("click",function(){var e=document.documentElement.getAttribute("data-theme")||t();n(e==="dark"?"light":"dark")})})()</script><script>(function(){var e=document.getElementById("mobile-menu-check");if(!e)return;document.addEventListener("click",function(t){if(!e.checked)return;var n=e.closest(".brand__mobile-menu");n&&!n.contains(t.target)&&(e.checked=!1)})})()</script></body></html>

View File

@@ -674,7 +674,7 @@
.uninotes-contents__semester { .uninotes-contents__semester {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.6rem; gap: 0.4rem;
} }
.uninotes-contents__sem-link { .uninotes-contents__sem-link {
@@ -693,7 +693,7 @@
.uninotes-contents__subject { .uninotes-contents__subject {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.6rem; gap: 0.3rem;
padding-left: 0.7rem; padding-left: 0.7rem;
} }
@@ -702,7 +702,7 @@
font-weight: 600; font-weight: 600;
color: var(--foreground-color); color: var(--foreground-color);
text-decoration: none; text-decoration: none;
letter-spacing: 0.01em; letter-spacing: 0.05rem;
} }
.uninotes-contents__subject-link:hover { .uninotes-contents__subject-link:hover {
@@ -713,10 +713,10 @@
.uninotes-contents__units { .uninotes-contents__units {
list-style: none; list-style: none;
padding: 0.6px; padding: 0.6px;
margin: 0.15rem 0 0 0.75rem; margin: 0.15rem 0 0.3rem 0.75rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.4rem; gap: 0.1rem;
} }
.uninotes-contents__unit { .uninotes-contents__unit {
@@ -739,7 +739,7 @@
.uninotes-contents__unit-cats { .uninotes-contents__unit-cats {
display: flex; display: flex;
gap: 0.3rem; gap: 0.25rem;
} }
.uninotes-contents__cat { .uninotes-contents__cat {