1
0
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:
Otávio Pace
2018-11-29 01:36:33 -02:00
parent f6b0fb3108
commit f570d2cedb
10 changed files with 37 additions and 8 deletions

View File

@@ -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"],