2024-10-29 18:14:01 +01:00
|
|
|
h1.page-title {
|
|
|
|
--recursive-wght: 900;
|
2024-12-10 23:21:36 +01:00
|
|
|
font-size: 5.6rem;
|
2024-10-29 18:14:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (hover: none) {
|
|
|
|
h1.page-title a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2024-03-07 21:21:02 +01:00
|
|
|
|
2024-10-29 18:14:01 +01:00
|
|
|
@media (max-width: 450px) {
|
|
|
|
body {
|
|
|
|
--top-min-spacing: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#nav-logo {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
& .logo {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 75vw;
|
|
|
|
height: 75vw;
|
|
|
|
transform: translate(-25%, -20%);
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 15%;
|
2024-03-07 21:21:02 +01:00
|
|
|
}
|
2024-10-29 18:14:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#index\:treehouse {
|
|
|
|
& > details > summary {
|
|
|
|
padding-left: 1rem;
|
2024-03-07 21:21:02 +01:00
|
|
|
|
2024-10-29 18:14:01 +01:00
|
|
|
& > th-bp {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-07 21:21:02 +01:00
|
|
|
|
2024-11-12 22:51:36 +01:00
|
|
|
main.tree > ul {
|
2024-10-29 18:14:01 +01:00
|
|
|
/* Optical text offset to make the icons look less misaligned.
|
|
|
|
This is adjusted per each hobby corner to fit the icons.
|
|
|
|
|
|
|
|
Although the icons may be aligned in terms of bounds, optically they do not look
|
|
|
|
very good next to the text, having awkward blank space to the right.
|
|
|
|
|
|
|
|
This aims to improve the readability of that a bit without being too noticable. */
|
|
|
|
--section-text-offset: 0em;
|
2024-11-12 22:51:36 +01:00
|
|
|
--section-icon-align: -30%;
|
2024-03-07 21:21:02 +01:00
|
|
|
|
2024-10-29 18:14:01 +01:00
|
|
|
& > li {
|
|
|
|
& > details > summary {
|
|
|
|
text-decoration: 4px underline var(--section-color);
|
|
|
|
text-underline-offset: 4px;
|
2024-03-07 21:21:02 +01:00
|
|
|
|
2024-10-29 18:14:01 +01:00
|
|
|
& > th-bc .hobby-icon {
|
|
|
|
width: auto;
|
|
|
|
height: 48px;
|
2024-03-07 21:21:02 +01:00
|
|
|
|
2024-10-29 18:14:01 +01:00
|
|
|
margin-right: calc(0.2em + var(--section-text-offset));
|
2024-03-07 21:21:02 +01:00
|
|
|
|
2024-11-12 22:51:36 +01:00
|
|
|
vertical-align: var(--section-icon-align);
|
2024-03-07 21:21:02 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-11-12 22:51:36 +01:00
|
|
|
#index\:about {
|
|
|
|
--section-color: #a7d5e0;
|
|
|
|
}
|
|
|
|
|
2024-03-07 21:21:02 +01:00
|
|
|
#index\:programming {
|
|
|
|
--section-color: var(--liquidex-brand-red);
|
2024-10-29 18:14:01 +01:00
|
|
|
--section-text-offset: -0.1em;
|
2024-03-07 21:21:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#index\:design {
|
|
|
|
--section-color: var(--liquidex-brand-yellow);
|
|
|
|
}
|
|
|
|
|
|
|
|
#index\:music {
|
|
|
|
--section-color: var(--liquidex-brand-green);
|
2024-10-29 18:14:01 +01:00
|
|
|
--section-text-offset: -0.05em;
|
2024-03-07 21:21:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#index\:games {
|
|
|
|
--section-color: var(--liquidex-brand-blue);
|
2024-10-29 18:14:01 +01:00
|
|
|
--section-text-offset: 0.05em;
|
2024-03-07 21:21:02 +01:00
|
|
|
}
|
2024-11-12 22:51:36 +01:00
|
|
|
|
|
|
|
#index\:philosophy {
|
|
|
|
--section-color: #c952f5;
|
|
|
|
}
|