-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS version with var #72
Comments
Just made one: root{ --color-bg: #f9f9f9; --color-text: #4a4a4a; --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; /* Body / body { @media (max-width: 684px) { @media (max-width: 382px) { /* added Nav */ nav ul li { nav ul li a { /* Change the link color to #111 (black) on hover */ :root { h1, h2, h3, h4, h5, h6 { h1 { font-size: 2.35em } p { small, sub, sup { hr { a {
} ul { li { blockquote { blockquote p { img, video { /* Pre and Code */ code { pre > code { /* Tables */ td, th { /* Buttons, forms and input */
} textarea { .button, button, input[type="submit"], input[type="reset"], input[type="button"] {
} textarea, select, input {
} input[type="checkbox"]:focus { label, legend, fieldset { |
Thanks for doing this. Super appreciate it. I've been considering doing this, but it makes styling different themes a bit difficult. Also although support for css vars has gotten quite good, for something so simple we might as well support IE and other older browsers. |
Is there a fork of CSS w/ var and no SCSS?
The text was updated successfully, but these errors were encountered: