summaryrefslogtreecommitdiff
path: root/static/output.css
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <montferrat@tuta.io> 2025-08-01 16:52:52 +0700
committerGravatar SayaAndy <montferrat@tuta.io> 2025-08-01 16:52:52 +0700
commit0c0900cdea12364a25ebf9bb8205a795416e8d6d (patch)
tree7052b25fb404afbfe51c27cdaceca5452c697cb0 /static/output.css
parenta1f511368b898ba53ca685dd3f41f2901f295fd3 (diff)
downloadweb-0c0900cdea12364a25ebf9bb8205a795416e8d6d.tar.gz
web-0c0900cdea12364a25ebf9bb8205a795416e8d6d.zip
feat: support of multi-page blog via b2
feat: use markdown + frontmatter for page content feat: add main page with dynamic page lookup feat: add night theme feat: extract timestamp of photo taken from picture name
Diffstat (limited to 'static/output.css')
-rw-r--r--static/output.css237
1 files changed, 231 insertions, 6 deletions
diff --git a/static/output.css b/static/output.css
index 3b4e05f..2ba01ad 100644
--- a/static/output.css
+++ b/static/output.css
@@ -7,10 +7,19 @@
'Noto Color Emoji';
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
monospace;
+ --color-yellow-100: oklch(97.3% 0.071 103.193);
+ --color-sky-100: oklch(95.1% 0.026 236.824);
+ --color-sky-200: oklch(90.1% 0.058 230.902);
+ --color-sky-300: oklch(82.8% 0.111 230.318);
--spacing: 0.25rem;
+ --text-4xl: 2.25rem;
+ --text-4xl--line-height: calc(2.5 / 2.25);
+ --font-weight-medium: 500;
+ --font-weight-bold: 700;
--font-weight-extrabold: 800;
--radius-md: 0.375rem;
--radius-lg: 0.5rem;
+ --radius-4xl: 2rem;
--default-transition-duration: 150ms;
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
--default-font-family: var(--font-sans);
@@ -165,12 +174,21 @@
}
}
@layer utilities {
+ .absolute {
+ position: absolute;
+ }
.fixed {
position: fixed;
}
.relative {
position: relative;
}
+ .z-0 {
+ z-index: 0;
+ }
+ .z-1 {
+ z-index: 1;
+ }
.z-10 {
z-index: 10;
}
@@ -198,6 +216,15 @@
.m-2 {
margin: calc(var(--spacing) * 2);
}
+ .mx-auto {
+ margin-inline: auto;
+ }
+ .my-auto {
+ margin-block: auto;
+ }
+ .mt-2 {
+ margin-top: calc(var(--spacing) * 2);
+ }
.mt-auto {
margin-top: auto;
}
@@ -207,30 +234,81 @@
.mr-auto {
margin-right: auto;
}
+ .mb-4 {
+ margin-bottom: calc(var(--spacing) * 4);
+ }
.mb-auto {
margin-bottom: auto;
}
.ml-auto {
margin-left: auto;
}
+ .block {
+ display: block;
+ }
.flex {
display: flex;
}
+ .h-4\/12 {
+ height: calc(4/12 * 100%);
+ }
+ .h-16 {
+ height: calc(var(--spacing) * 16);
+ }
+ .h-auto {
+ height: auto;
+ }
.h-screen {
height: 100vh;
}
+ .min-h-16 {
+ min-height: calc(var(--spacing) * 16);
+ }
+ .w-6\/12 {
+ width: calc(6/12 * 100%);
+ }
+ .w-10\/12 {
+ width: calc(10/12 * 100%);
+ }
+ .w-16 {
+ width: calc(var(--spacing) * 16);
+ }
+ .max-w-full {
+ max-width: 100%;
+ }
.flex-1 {
flex: 1;
}
+ .flex-3 {
+ flex: 3;
+ }
+ .flex-5 {
+ flex: 5;
+ }
+ .flex-grow {
+ flex-grow: 1;
+ }
.grow {
flex-grow: 1;
}
+ .transform {
+ transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
+ }
.cursor-pointer {
cursor: pointer;
}
.resize {
resize: both;
}
+ .list-inside {
+ list-style-position: inside;
+ }
+ .list-decimal {
+ list-style-type: decimal;
+ }
+ .list-disc {
+ list-style-type: disc;
+ }
.flex-col {
flex-direction: column;
}
@@ -243,15 +321,30 @@
.justify-center {
justify-content: center;
}
+ .justify-items-center {
+ justify-items: center;
+ }
.gap-0 {
gap: calc(var(--spacing) * 0);
}
+ .gap-4 {
+ gap: calc(var(--spacing) * 4);
+ }
+ .justify-self-center {
+ justify-self: center;
+ }
.overflow-hidden {
overflow: hidden;
}
+ .overflow-x-auto {
+ overflow-x: auto;
+ }
.overflow-y-auto {
overflow-y: auto;
}
+ .rounded-4xl {
+ border-radius: var(--radius-4xl);
+ }
.rounded-lg {
border-radius: var(--radius-lg);
}
@@ -262,6 +355,14 @@
border-top-style: var(--tw-border-style);
border-top-width: 4px;
}
+ .border-r-1 {
+ border-right-style: var(--tw-border-style);
+ border-right-width: 1px;
+ }
+ .border-dashed {
+ --tw-border-style: dashed;
+ border-style: dashed;
+ }
.border-dotted {
--tw-border-style: dotted;
border-style: dotted;
@@ -269,6 +370,12 @@
.bg-repeat {
background-repeat: repeat;
}
+ .object-cover {
+ object-fit: cover;
+ }
+ .p-4 {
+ padding: calc(var(--spacing) * 4);
+ }
.pr-2 {
padding-right: calc(var(--spacing) * 2);
}
@@ -287,17 +394,42 @@
.font-spectral {
font-family: var(--font-spectral);
}
+ .text-4xl {
+ font-size: var(--text-4xl);
+ line-height: var(--tw-leading, var(--text-4xl--line-height));
+ }
+ .font-bold {
+ --tw-font-weight: var(--font-weight-bold);
+ font-weight: var(--font-weight-bold);
+ }
.font-extrabold {
--tw-font-weight: var(--font-weight-extrabold);
font-weight: var(--font-weight-extrabold);
}
+ .font-medium {
+ --tw-font-weight: var(--font-weight-medium);
+ font-weight: var(--font-weight-medium);
+ }
.italic {
font-style: italic;
}
+ .underline {
+ text-decoration-line: underline;
+ }
+ .opacity-70 {
+ opacity: 70%;
+ }
+ .opacity-100 {
+ opacity: 100%;
+ }
.shadow-2xl {
--tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
+ .shadow-lg {
+ --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
+ }
.transition-colors {
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -322,8 +454,10 @@
--sidebar-stroke-color: var(--main-dark-color);
--secondary-color: var(--main-light-color);
--interlocked-hexagons-background: url('https://f003.backblazeb2.com/file/sayana-static/themes/olive/interlocked-hexagons.svg');
+ --interlocked-hexagons-background-repeat: repeat;
+ --interlocked-hexagons-background-size: 10vw;
--squares-and-triangles-background: url('https://f003.backblazeb2.com/file/sayana-static/themes/olive/squares-and-triangles.svg');
- --invert-colors-in-sidebar: false;
+ --squares-and-triangles-background-repeat: repeat;
}
[data-theme="lettuce"] {
--main-dark-color: #384a0c;
@@ -335,14 +469,34 @@
--sidebar-stroke-color: var(--background-dark-color);
--secondary-color: var(--main-medium-color);
--interlocked-hexagons-background: url('https://f003.backblazeb2.com/file/sayana-static/themes/lettuce/interlocked-hexagons.svg');
+ --interlocked-hexagons-background-repeat: repeat;
+ --interlocked-hexagons-background-size: 10vw;
--squares-and-triangles-background: url('https://f003.backblazeb2.com/file/sayana-static/themes/lettuce/squares-and-triangles.svg');
- --invert-colors-in-sidebar: true;
+ --squares-and-triangles-background-repeat: repeat;
+}
+[data-theme="night"] {
+ --main-dark-color: var(--color-sky-100);
+ --main-medium-color: var(--color-sky-200);
+ --main-light-color: var(--color-sky-300);
+ --background-dark-color: #13131b;
+ --background-light-color: #222230;
+ --sidebar-text-color: var(--main-dark-color);
+ --sidebar-stroke-color: var(--background-light-color);
+ --secondary-color: var(--main-light-color);
+ --interlocked-hexagons-background: radial-gradient(33.5% 25% at 100% 82%, rgba(190, 227, 248, 0.2) 0%, rgba(197, 179, 246, 0.13) 33.33%, rgba(255, 0, 0, 0) 100%), radial-gradient(54% 25% at 55% 100%, rgba(190, 227, 248, 0.2) 0%, rgba(197, 179, 246, 0.13) 33.33%, rgba(255, 0, 0, 0) 100%), radial-gradient(37% 19.5% at 20% 100%, rgba(176, 220, 248, 0.3) 0%, rgba(197, 172, 247, 0.2) 33.33%, rgba(255, 0, 0, 0) 100%), radial-gradient(63% 34.5% at 66% 77%, rgba(190, 227, 248, 0.15) 0%, rgba(197, 179, 246, 0.1) 33.33%, rgba(255, 0, 0, 0) 100%), linear-gradient(0deg, #2f5883 0%, #2f4e7a 4.75%, #2e4472 9.5%, #2a3065 19%, #272e57 26.5%, #242b4b 34%, #1f2437 49%, #1c2030 57.75%, #1a1b29 66.5%, #13131b 84%);
+ --interlocked-hexagons-background-repeat: no-repeat;
+ --interlocked-hexagons-background-size: 100vw 100vh;
+ --squares-and-triangles-background: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='60' height='60' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='%2313131bff'/><path d='M10 50H0m60-40H50m0 40v10M10 0v10m21 30v20m0-60v20m9 10h20M0 30h20m0 10h20V20H20v10zM10 10h40v40H10zM0 0h60v60H0z' stroke-width='0.5' stroke='%23353543ff' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");
+ --squares-and-triangles-background-repeat: repeat;
}
.bg-interlocked-hexagons {
background-image: var(--interlocked-hexagons-background);
+ background-repeat: var(--interlocked-hexagons-background-repeat);
+ background-size: var(--interlocked-hexagons-background-size);
}
.bg-squares-and-triangles {
background-image: var(--squares-and-triangles-background);
+ background-repeat: var(--squares-and-triangles-background-repeat);
}
.text-sidebar {
color: var(--sidebar-text-color);
@@ -353,6 +507,9 @@
.text-main-dark {
color: var(--main-dark-color);
}
+.text-main-medium {
+ color: var(--main-medium-color);
+}
.text-background-dark {
color: var(--background-dark-color);
}
@@ -371,6 +528,9 @@
.border-main-dark {
border-color: var(--main-dark-color);
}
+.border-main-medium {
+ border-color: var(--main-medium-color);
+}
.desktop-sidebar-custom {
width: 5vw;
background-size: 10vw;
@@ -383,7 +543,7 @@
}
.logo-custom {
width: 3.5vw;
- height: 25vw;
+ height: 20vw;
font-size: 2.5vw;
-webkit-text-stroke: 0.1vw var(--sidebar-stroke-color);
writing-mode: sideways-lr;
@@ -412,9 +572,6 @@
width: 0.5vw;
border-left: 0.5vh dotted var(--main-dark-color);
}
-.bg-pattern-body {
- background-size: 10vw;
-}
.inset-shadow {
box-shadow: inset 0vh 1vh 1vh -1vh rgba(75, 81, 58, 0.5), inset 1vh 0vh 1vh -1vh rgba(75, 81, 58, 0.5), inset -1vh 0vh 1vh -1vh rgba(75, 81, 58, 0.5), inset 0vh -0.5vh rgba(75, 81, 58, 0.5);
}
@@ -442,12 +599,18 @@
.text-vmax1 {
font-size: 1vmax !important;
}
+.text-vmax1-2 {
+ font-size: 1.2vmax;
+}
.text-vmax1-5 {
font-size: 1.5vmax !important;
}
.text-vmax2 {
font-size: 2vmax;
}
+.text-vmax2-5 {
+ font-size: 2.5vmax;
+}
.w-vw90 {
width: 90vw;
}
@@ -470,18 +633,33 @@
.mb-vmin0-4 {
margin-bottom: 0.4vmin;
}
+.mb-vmin0-6 {
+ margin-bottom: 0.8vmin;
+}
.mb-vmin0-8 {
margin-bottom: 0.8vmin;
}
+.mb-vmin1-2 {
+ margin-bottom: 1.2vmin;
+}
+.mb-vmin1-6 {
+ margin-bottom: 1.6vmin;
+}
.pl-vmin0-8 {
padding-left: 0.8vmin;
}
+.pl-vmax2 {
+ padding-left: 2vmax;
+}
.pr-vmin1-2 {
padding-right: 1.2vmin;
}
.p-vmin2-4 {
padding: 2.4vmin;
}
+.space-y-vmin0-8 {
+ column-gap: 0.8vmin;
+}
.lg-backdrop {
background-color: var(--background-light-color);
}
@@ -604,6 +782,48 @@
margin-left: 0;
}
}
+.star {
+ color: var(--color-yellow-100);
+ animation-name: blink;
+ animation-duration: 5s;
+ animation-iteration-count: infinite;
+ user-select: none;
+ -webkit-user-select: none;
+}
+@keyframes blink {
+ 0% {
+ opacity: 1;
+ }
+ 20% {
+ opacity: 0.2;
+ }
+ 80% {
+ opacity: 0.2;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
+@property --tw-rotate-x {
+ syntax: "*";
+ inherits: false;
+}
+@property --tw-rotate-y {
+ syntax: "*";
+ inherits: false;
+}
+@property --tw-rotate-z {
+ syntax: "*";
+ inherits: false;
+}
+@property --tw-skew-x {
+ syntax: "*";
+ inherits: false;
+}
+@property --tw-skew-y {
+ syntax: "*";
+ inherits: false;
+}
@property --tw-border-style {
syntax: "*";
inherits: false;
@@ -685,6 +905,11 @@
@layer properties {
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
*, ::before, ::after, ::backdrop {
+ --tw-rotate-x: initial;
+ --tw-rotate-y: initial;
+ --tw-rotate-z: initial;
+ --tw-skew-x: initial;
+ --tw-skew-y: initial;
--tw-border-style: solid;
--tw-font-weight: initial;
--tw-shadow: 0 0 #0000;