wordpressify
Version:
Automate your WordPress development workflow.
36 lines (30 loc) • 768 B
CSS
@custom-media --screen-xs (min-width: 0);
@custom-media --screen-sm (min-width: 576px);
@custom-media --screen-md (min-width: 768px);
@custom-media --screen-lg (min-width: 992px);
@custom-media --screen-xl (min-width: 1200px);
@custom-media --screen-xxl (min-width: 1440px);
@custom-media --screen-xxxl (min-width: 1920px);
:root {
--color-primary: var(--wp--preset--color--accent-1);
}
@media (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
}
}
* {
box-sizing: border-box;
min-width: 0;
}
fieldset {
appearance: none;
border: none;
}
@media (prefers-reduced-motion: no-preference) {
button,
input,
a {
transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}
}