:root { --rosewater: #dc8a78; --flamingo: #dd7878; --pink: #ea76cb; --mauve: #8839ef; --red: #d20f39; --maroon: #e64553; --peach: #fe640b; --yellow: #df8e1d; --green: #40a02b; --teal: #179299; --sky: #04a5e5; --sapphire: #209fb5; --blue: #1e66f5; --lavender: #7287fd; --text: #4c4f69; --subtext1: #5c5f77; --subtext0: #6c6f85; --overlay2: #7c7f93; --overlay1: #8c8fa1; --overlay0: #9ca0b0; --surface2: #acb0be; --surface1: #bcc0cc; --surface0: #ccd0da; --base: #eff1f5; --mantle: #e6e9ef; --crust: #dce0e8; --inverted-text: var(--base); --selection-color: var(--blue); --color-primary: var(--lavender); --color-bg: var(--base); --color-primary-light: color-mix(in srgb, var(--color-primary) 20%, var(--color-bg)); --text-primary: var(--text); --text-secondary: var(--subtext1); } body { font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; background-color: var(--color-bg); color: var(--text-primary); } main { max-width: 40rem; margin: 0 auto; padding: 2rem 0 4rem; } blockquote { margin: 0; padding-left: 1rem; color: var(--text-secondary); border-left: 6px solid var(--color-primary); } :not(a) > img { width: 100%; } a { color: var(--color-primary); text-decoration: none; } a:hover { color: #818cf8; text-decoration: underline; } h1 { font-size: 1.5rem; line-height: 2rem; } h2 { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1rem; } p { margin: 1.5rem 0; line-height: 1.5; } ul { line-height: 1.3; } input, textarea { border-radius: 4px; border: 1px solid #eee; padding: 0.5rem; resize: vertical; } button { border-radius: 4px; color: white; background-color: var(--color-primary); border: none; padding: 0.5rem; cursor: pointer; &:hover,&:focus { opacity: 0.8; } } pre:has(code) { padding: 0.5rem 0.75rem; border-radius: 4px; overflow: auto; } :not(pre) > code { font-size: 0.9rem; color: var(--text-secondary); background-color: var(--color-primary-light); padding: 0 0.25rem; border-radius: 4px; } nav { display: grid; grid-template-columns: 1fr 1fr; margin: 2rem 0; } nav > a { display: block; padding-top: 0.5rem; padding-bottom: 0.5rem; } .date { font-size: 0.9rem; color: var(--text-secondary); background-color: var(--color-primary-light); padding: 0 0.25rem; border-radius: 4px; } .projects { & .project { margin-bottom: 2rem; } & a { min-width: 10rem; } & p { margin: 0.5rem 0 0; font-size: 14px; } } .activity-grid { display: grid; grid-template-columns: 1fr 4fr; column-gap: 1rem; row-gap: 1rem; > h4 { margin: 0; } } .contact { display: grid; grid-template-columns: 1fr 1fr; row-gap: 1rem; } #contact-form { display: flex; flex-direction: column; row-gap: 1rem; > button { width: 100%; } } ul.categories-list { padding-left: 0; } ul.categories-list li { padding: 0.8rem 0; list-style: none; } ul.categories-list li::before { content: '🌱 '; } @media only screen and (max-width: 600px) { main { padding: 0 0.5rem; } nav { display: grid; grid-template-columns: 1fr 1fr; } .contact { display: flex; flex-direction: column; } .activity-grid { grid-template-columns: 1fr; } ul.links-list { padding-left: 1rem; font-size: 1.1rem; & > * { margin-bottom: 1rem; } } } @media (prefers-color-scheme: dark) { :root { --rosewater: #f5e0dc; --flamingo: #f2cdcd; --pink: #f5c2e7; --mauve: #cba6f7; --red: #f38ba8; --maroon: #eba0ac; --peach: #fab387; --yellow: #f9e2af; --green: #a6e3a1; --teal: #94e2d5; --sky: #89dceb; --sapphire: #74c7ec; --blue: #89b4fa; --lavender: #b4befe; --text: #cdd6f4; --subtext1: #bac2de; --subtext0: #a6adc8; --overlay2: #9399b2; --overlay1: #7f849c; --overlay0: #6c7086; --surface2: #585b70; --surface1: #45475a; --surface0: #313244; --base: #1e1e2e; --mantle: #181825; --crust: #11111b; --inverted-text: var(--crust); --selection-color: var(--mauve) } body { color: white; } }