diff --git a/css/styles.css b/css/styles.css index 69e82e79..22aa2915 100644 --- a/css/styles.css +++ b/css/styles.css @@ -21,9 +21,13 @@ body { a { text-decoration: none; - color: var(--link) + color: var(--link); +} +a:not([href]), a[href=""] { + /* link is missing href */ + text-decoration: wavy underline; + color: #f00; } - a:hover { text-decoration: underline; } @@ -49,4 +53,4 @@ main { .cm-editor { max-height: 100vh; -} \ No newline at end of file +} diff --git a/index.html b/index.html index 84648efc..3e696c45 100644 --- a/index.html +++ b/index.html @@ -56,7 +56,8 @@