vimrc/snippets/css.snippets
Arija A. e025e29839
Init
Signed-off-by: Arija A. <ari@ari.lt>
2025-07-05 13:27:02 +03:00

69 lines
1.1 KiB
Text

snippet !
:root {
color-scheme: dark;
}
*,
*::before,
*::after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
word-wrap: break-word;
scroll-behavior: smooth;
text-rendering: optimizeSpeed;
}
code,
code *,
pre,
pre * {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
}
html {
height: 100%;
min-height: 100%;
}
body {
height: auto;
min-height: 100%;
margin: auto;
padding: 2rem;
max-width: 1100px;
min-height: 100vh;
}
li {
margin: 0.5em 0;
}
code {
white-space: pre-wrap !important;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
-webkit-animation-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
-webkit-animation-iteration-count: 1 !important;
animation-iteration-count: 1 !important;
-webkit-transition-duration: 0.01ms !important;
-o-transition-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
endsnippet