mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 09:41:47 +02:00
feat: add pixel art cursor
Add two png files for the cursor, one to represent the default cursor and the other one to be a pointer cursor. Add the default one for the html tag. And a `inherited` property for label tag. The pointer one is being added on the button, radio, checkbox and a tags.
This commit is contained in:
@@ -9,6 +9,10 @@ samp {
|
||||
font-family: $font-family;
|
||||
}
|
||||
|
||||
html {
|
||||
cursor: $cursor-url, auto;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: $font-size;
|
||||
color: $base-color;
|
||||
@@ -16,6 +20,15 @@ body {
|
||||
-webkit-font-smoothing: none;
|
||||
}
|
||||
|
||||
label {
|
||||
cursor: inherit;
|
||||
}
|
||||
|
||||
a,
|
||||
button {
|
||||
cursor: $cursor-click-url, pointer;
|
||||
}
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
|
Reference in New Issue
Block a user