🔧 Added kevin powell's css as emmet like shortcut
This commit is contained in:
parent
d8453b4ab0
commit
86a16d5899
2 changed files with 40 additions and 0 deletions
31
scripts/kcss
Executable file
31
scripts/kcss
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
#!/usr/bin/env bash
|
||||
# Utilize in conjunction with espanso, call ;kcss
|
||||
cat <<EOM
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
: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
|
||||
Loading…
Add table
Add a link
Reference in a new issue