diff options
| author | 2024-01-05 21:38:09 +0800 | |
|---|---|---|
| committer | 2024-01-05 21:38:09 +0800 | |
| commit | 1578e11008fbcd2d5de4514e214ffc36975166e0 (patch) | |
| tree | 54fb355b570d7ed1034eb5e3251d7b1571bb4022 | |
| parent | Dark: Name JS & CSS files according to their content (diff) | |
Dark: Fix all link hover colors (hopefully) everywhere
| -rw-r--r-- | pydis_site/settings.py | 7 | ||||
| -rw-r--r-- | pydis_site/static/css/home/index.css | 4 | 
2 files changed, 7 insertions, 4 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index aa16a08c..178a157a 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -300,7 +300,7 @@ LOGGING = {  # Custom settings for django-simple-bulma  BULMA_SETTINGS = {      "variables": { -        "primary": "#7289DA",    # Discord blurple +        "primary": "#7289DA",    # PyDis blurple          "green": "#32ac66",      # Colour picked after Discord discussion          "turquoise": "#7289DA",  # Blurple, because Bulma uses this regardless of `primary` above          "blue": "#2482c1",       # Colour picked after Discord discussion @@ -316,7 +316,7 @@ BULMA_SETTINGS = {          "tooltip-max-width": "30rem",      },      "dark_variables": { -        "primary": "#7289DA", +        "primary": "#7289DA",    # PyDis blurple          "white": "#2C2F33",          "white-bis": "#23272A ", @@ -333,6 +333,9 @@ BULMA_SETTINGS = {          "text-strong": "#FEFEFE",          "link": "$primary", +        "link-hover": "#CAD6FF", # PyDis light blurple +        "link-focus": "$link-hover", +        "link-active": "$link-hover",          # Use the same sizes          "dimensions": "16 24 32 48 64 96 128 256 512", diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css index b9d829f6..64356a36 100644 --- a/pydis_site/static/css/home/index.css +++ b/pydis_site/static/css/home/index.css @@ -191,12 +191,12 @@ h1 {  }  #projects .card:hover .card-header-title { +    /* Bulma link-hover setting */      color: #363636;  }  [data-theme="dark"] #projects .card:hover .card-header-title { -    /* The light blurple theme color, consistent hover behaviour with other -     * parts of the site. */ +    /* Bulma link-hover setting */      color: #CAD6FF;  }  |