From ee8a7b3ca2b3e729c47e16c9f7dc79235335f046 Mon Sep 17 00:00:00 2001 From: Pedram Ashofteh Ardakani Date: Fri, 1 May 2020 13:00:44 +0430 Subject: Fix link selectors Until now, the links were selected by their parent. That was to separately change the `Button` links and links in

,

  • , etc. With this commit, only the `Button` links are sepatated with a class. All other links are decorated the same. --- css/base.css | 8 ++++---- 1 file 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 */ -- cgit v1.2.1