diff options
author | Pedram Ashofteh Ardakani <pedramardakani@pm.me> | 2020-05-01 13:00:44 +0430 |
---|---|---|
committer | Pedram Ashofteh Ardakani <pedramardakani@pm.me> | 2020-05-01 13:00:44 +0430 |
commit | ee8a7b3ca2b3e729c47e16c9f7dc79235335f046 (patch) | |
tree | 3f141152543cafd1fcf0cccfeb02b7e4e6f35aa4 /css | |
parent | c6eb2e53d23c8531f22dd11d64fa4e13c045cd35 (diff) |
Fix link selectors
Until now, the links were selected by their parent. That was to
separately change the `Button` links and links in <p>, <li>, etc.
With this commit, only the `Button` links are sepatated with a class.
All other links are decorated the same.
Diffstat (limited to 'css')
-rw-r--r-- | css/base.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/css/base.css b/css/base.css index e45e440..9576954 100644 --- a/css/base.css +++ b/css/base.css @@ -21,14 +21,14 @@ body{ .banner h1{ color: #030504; /* RICH BLACK (FOGRA39) */ } nav{ background-color: #030504; /* RICH BLACK (FOGRA39) */ } #hamnav { background: #000; } -.button a{ color: #dcdfde; /* GAINSBORO */ } +.button a, .button a:visited{ color: #dcdfde; /* GAINSBORO */ } .button a:hover{ color: #ff216e; /* AWESOME */ background-color: #121413; /* LICORICE */ } -p a, li a{ color: #ff216e; /* AWESOME */ } -p a:hover, li a:hover{ color: #ff216e; /* AWESOME */ } -p a:visited, li a:visited{ color: #980D2C; /* ROSEWOOD */ } +a{ text-decoration: none; color: #ff216e; /* AWESOME */ } +a:hover{ color: #ff216e; /* AWESOME */ } +a:visited{ color: #980D2C; /* ROSEWOOD */ } pre{ background-color: #fdf5ff; /* MAGNOLIA */ border-color: #CABECF; /* LANGUID LAVENDER */ |