giuls codes

/* THEME STARTS HERE*/

:root { color-scheme: light; --width: 36rem; --font-main: "Georgia", "Times New Roman", serif; --font-secondary: var(--font-main); --font-scale: 0.95em; --background-color: #f7f4f0; /muted white/ --counter-color: #f4c9d6; /* pink*/ --heading-color: #8c7f83; /muted beige/ --text-color: #8c7f83; /grey/ --link-color: #c98a90; /muted pink/ --visited-color: #c98a90; /muted pink/ --code-background-color: #B494F9; /purple/ --code-color: #c98a90; /muted pink/ --blockquote-color: #ff748c; /muted pink/ --muted-color: #c98a90; /muted pink/ --rule-color: #c98a90; /muted pink/ --tooth: 8px; }

html { padding: clamp(24px, 6vw, 64px) 12px; background: var(--counter-color); }

body { position: relative; max-width: var(--width); margin: var(--tooth) auto; padding: clamp(28px, 6vw, 44px) clamp(18px, 6vw, 44px) 28px; background: var(--background-color); color: var(--text-color); font-family: var(--font-main); font-size: var(--font-scale); line-height: 1.7; text-align: justify overflow-wrap: break-word; box-shadow: 0 4px 14px #1c261f1f; }

body::before, body::after { content: ""; position: absolute; left: 0; right: 0; height: var(--tooth); }

body::before { bottom: 100%; background: conic-gradient(from 135deg at top, var(--background-color) 90deg, #0000 0) 50% / calc(var(--tooth) * 2) 100%; }

body::after { top: 100%; background: conic-gradient(from -45deg at bottom, var(--background-color) 90deg, #0000 0) 50% / calc(var(--tooth) * 2) 100%; }

::selection { color: var(--background-color); background: var(--heading-color); }

a { color: var(--link-color); text-decoration-style: dashed; text-decoration-thickness: 1px; text-underline-offset: .2em; }

a:hover { color: var(--heading-color); text-decoration-style: solid; }

:focus-visible { outline: 2px dashed var(--link-color); outline-offset: 3px; }

header { text-align: center; }

.title { color: var(--heading-color); text-decoration: none; }

.title h1 { margin: 0 0 10px; font-size: 1.35em; letter-spacing: .2em; text-transform: uppercase; text-align: center }

nav { font-size: .95em; text-align: center }

nav p { margin: 0; }

nav a { display: inline-flex; margin: 0 5px; color: var(--muted-color); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }

nav a:hover { color: var(--heading-color); text-decoration: underline wavy; text-decoration-color: pink; }

main { padding: 28px 0 8px; }

h1, h2, h3, h4, h5, h6 { color: var(--heading-color); line-height: 1.35; text-wrap: balance; text-align: center !important;

}

h1 { margin: 0 0 20px; font-size: 1.5em; text-align: center; text-transform: uppercase; letter-spacing: .06em; }

.post main > h1:first-child + p { margin: -12px 0 28px; color: var(--muted-color); font-size: .85em; text-align: center

}

h2 { display: flex; align-items: center; gap: 12px; margin: 36px 0 14px; font-size: 1em; text-align: center; text-transform: uppercase; letter-spacing: .12em; text-wrap: pretty; }

h2::before, h2::after { content: ""; flex: 1 1 1.5em; border-top: 2px dashed var(--rule-color); }

h3 { margin: 0 0 10px; font-size: 1em; text-transform: uppercase; letter-spacing: .06em; }

h4, h5, h6 { margin: 24px 0 8px; font-size: 1em; }

p { margin: 0 0 16px; }

strong, b { color: var(--heading-color); }

small, figcaption { color: var(--muted-color); font-size: .85em; }

ul, ol { padding-left: 1.5em; text-align: center !important; list-style-position: inside !important; padding-left: 0 !important; list-style: circle; }

li { margin: 4px 0; }

blockquote { margin: 24px 0; padding: 14px 18px; border: 2px dashed var(--rule-color); color: var(--blockquote-color); text-align: center; }

blockquote p:last-child { margin-bottom: 0; }

hr { height: 8px; margin: 28px 0; border: 0; background: radial-gradient(circle, var(--rule-color) 1.5px, #0000 2px) 0 50% / 10px 8px repeat-x; }

img, video, audio { max-width: 100%; }

img, video { height: auto; filter: grayscale(1) contrast(1.1); transition: filter .3s; }

img:hover, video:hover { filter: none; }

figure { margin: 24px 0; text-align: center; }

figcaption, caption { margin-top: 6px; font-size: .8em; }

table { display: block; max-width: 100%; margin: 24px 0; overflow-x: auto; border-collapse: collapse; border-top: 2px dashed var(--rule-color); border-bottom: 2px dashed var(--rule-color); font-size: .9em; }

th, td { padding: 6px 12px 6px 0; text-align: left; vertical-align: top; }

th:last-child, td:last-child { padding-right: 0; text-align: right; }

th { color: var(--heading-color); text-transform: uppercase; letter-spacing: .06em; }

code, pre, kbd, samp { font-family: var(--font-main); font-size: .92em; }

code { padding: 1px 4px; color: var(--code-color); background: var(--code-background-color); }

pre { padding: 14px 16px; overflow-x: auto; border-left: 3px solid var(--rule-color); color: var(--code-color); background: var(--code-background-color); line-height: 1.55; }

pre code { padding: 0; background: none; font-size: 1em; }

.highlight, .code { max-width: 100%; overflow-x: auto; }

kbd { padding: 1px 5px; border: 1px solid var(--rule-color); border-bottom-width: 2px; }

input, textarea, select, button { max-width: 100%; padding: 6px 10px; border: 2px dashed var(--rule-color); border-radius: 0; background: var(--background-color); color: var(--text-color); font: inherit; }

textarea { width: 100%; text-align: justify }

button { cursor: pointer; }

button:hover { border-style: solid; border-color: var(--heading-color); }

.inline { width: auto; }

ul.blog-posts li { display: grid; grid-template-columns: auto minmax(1.5em, 1fr) auto; align-items: end; margin: 0; padding: 7px 0; }

ul.blog-posts li a[href*="tag="], .blog-posts a[href*="tag="] { display: none !important; }

ul.blog-posts li a { grid-area: 1 / 1; }

ul.blog-posts li::after { content: ""; grid-area: 1 / 2; margin: 0 8px .5em; border-bottom: 2px dotted var(--rule-color); }

ul.blog-posts li > span { grid-area: 1 / 3; color: var(--muted-color); font-size: .85em; white-space: nowrap; }

ul.blog-posts li > span i { font-style: normal; }

ul.blog-posts li > p, ul.blog-posts li > div, ul.blog-posts li > img { grid-column: 1 / -1; margin: 6px 0 0; }

ul.blog-posts li > p { color: var(--muted-color); font-size: .9em; }

ul.blog-posts li a:visited { color: var(--visited-color); }

.footnote { margin-top: 32px; padding-top: 12px; border-top: 2px dashed var(--rule-color); font-size: .85em; }

.tags { margin-top: 28px; font-size: .85em; }

.tags a { display: inline-block; margin: 0 8px 6px 0; padding: 0 6px; border: 1px solid currentColor; text-decoration: none; }

footer { margin-top: 28px; padding-top: 20px; border-top: 2px dashed var(--rule-color); color: var(--muted-color); font-size: .75em; text-align: center; text-transform: uppercase; letter-spacing: .08em; }

footer a { color: inherit; }

footer::after { content: ""; display: block; width: min(100%, 14rem); height: 44px; margin: 18px auto 0; background: repeating-linear-gradient(90deg, var(--heading-color) 0 2px, #0000 2px 4px, var(--heading-color) 4px 7px, #0000 7px 8px, var(--heading-color) 8px 9px, #0000 9px 12px, var(--heading-color) 12px 13px, #0000 13px 14px, var(--heading-color) 14px 17px, #0000 17px 19px, var(--heading-color) 19px 20px, #0000 20px 23px); }

/* --- REPLY VIA EMAIL --- */

.reply-email { margin-block: 1.5rem; }

.reply-email a { display: inline-block; padding-block: 0.4em; padding-inline: 1em; font-size: calc(var(--font-scale) * 0.85); font-weight: 500; color: var(--link-color); text-decoration: none; background: color-mix(in srgb, var(--link-color), var(--background-color) 94%); border: 1px solid color-mix(in srgb, var(--link-color), var(--background-color) 82%); border-radius: 4px; }

.reply-email a:focus-visible { outline: none; border-color: color-mix(in srgb, var(--link-color), transparent 55%); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link-color), transparent 82%); }

@media (hover: hover) { .reply-email a:hover { background: color-mix(in srgb, var(--link-color), var(--background-color) 90%); border-color: color-mix(in srgb, var(--link-color), var(--background-color) 72%); } }

/* --- LOG CARD --- */

.log { max-width: 450px; margin: 1.5rem auto; padding: 1.1rem; background: #fdfbf7; border: 1.5px solid #e8b4b8; border-radius: 14px; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03); font-family: "Georgia", serif; color: #2d282a; box-sizing: border-box;

}

.log-row { display: flex; gap: 10px; padding: 0.45rem 0; border-bottom: 1px dashed #f0d5d8; font-size: 0.82rem; line-height: 1.4; }

.log-row:last-child { border-bottom: none; }

.log-row.today .log-date { color: #c98a90; font-weight: bold; }

.log-date { display: flex; flex-direction: column; font-family: "Courier New", monospace; font-size: 0.68rem; color: #8c7f83; min-width: 48px; flex-shrink: 0;

}

.log-text { flex: 1; color: #3d2b2e; }

.log-mood { display: flex; font-size: 0.8rem; color: #8c7f83; font-style: italic; line-height: 0.4;

}

.log-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; color: #c98a90; }

.log-divider { border-top: 1px dashed #e8b4b8; margin: 0.75rem 0 0.85rem 0; }

.log-list { display: flex; flex-direction: column; gap: 6px; color: #8c7f83; }

.log-item { display: flex; align-items: center; gap: 12px; }

.log-emoji { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }

.log-text-group { display: flex; flex-direction: column; gap: 2px; }

.log-book-title { margin: 0 !important; font-size: 0.92rem; font-weight: bold; color: #2d282a; line-height: 1.3; }

.log-author { margin: 0 !important; font-size: 0.8rem; color: #8c7f83; font-style: italic; }

/* --- END OF LOG CARD --- */

/* INLINE EDIT BUTTON */

.page-edit-container { margin-top: 2rem; padding-top: 1rem; border-top: 1px dashed #e8b4b8; text-align: right; }

.edit-btn { display: inline-flex; align-items: center; gap: 4px; font-family: "Courier New", monospace; font-size: 0.75rem; color: #8c7f83 !important; background: #fdfbf7; border: 1px solid #e8b4b8; padding: 3px 10px; border-radius: 12px; text-decoration: none !important; transition: all 0.2s ease; }

.edit-btn:hover { color: #c98a90 !important; border-color: #c98a90; background: #fceef0; }

/* End of Inline Edit Button */

/* Heart divider */

.heart-divider-faded { display: flex; align-items: center; text-align: center; margin: 2rem 0; }

.heart-divider-faded::before, .heart-divider-faded::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to var(--direction, right), transparent, #e8b4b8); }

.heart-divider-faded::after { --direction: left; }

.heart-icon { padding: 0 12px; color: #c98a90; font-size: 1.1rem; line-height: 1; }

/* Bearming tokens : we need these for currently reading widget */ :root { --bg: var(--background-color); --text: var(--text-color); --link: var(--link-color); --visited: var(--visited-color); --accent: var(--link); --muted: color-mix(in srgb, var(--accent) 15%, color-mix(in srgb, var(--text) 65%, var(--bg))); --surface: color-mix(in srgb, var(--accent) 7%, var(--bg)); --border: color-mix(in srgb, var(--accent) 20%, var(--bg)); --space-block: 1.8rem; --font-small: 0.95rem; --font-mono: ui-monospace, monospace; --radius: 4px;

}

/* Currently reading widget | robertbirming.com */ .reading-widget { display: grid; grid-template-columns: auto 1fr; gap: 0.3em 1em; max-width: 34rem; margin-block: var(--space-block); margin-inline: auto; padding-block: 1rem; padding-inline: 1.1rem; text-align: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }

.reading-widget::before { content: "Currently reading"; display: block; grid-column: 1 / -1; margin-block-end: 0.35em; font-size: 0.72em; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

.reading-widget-emoji { font-size: 2.7rem; line-height: 1.2; align-self: start; }

.reading-widget-content a { font-weight: 600; color: var(--text); text-decoration: none; }

.reading-widget-author { display: block; font-size: var(--font-small); color: var(--muted); }