notes/scripts/kcss
2024-01-11 08:39:43 -08:00

32 lines
No EOL
394 B
Bash
Executable file

#!/usr/bin/env bash
# Utilize in conjunction with espanso, call ;kcss
cat <<EOM
*,
*::before,
*::after {
box-sizing: border-box;
min-width: 0;
}
:root {
color-scheme: light dark;
}
body {
font-family: system-ui;
font-size: 1.125rem;
line-height: 1.5;
}
main {
width: min(70ch, 100% - 4rem);
margin-inline: auto;
}
img,
svg,
video {
max-width: 100%;
display: block;
}
EOM