From d2c5e4b749136096ce592f09127446f99d431763 Mon Sep 17 00:00:00 2001 From: Matthijs Berends Date: Mon, 8 Apr 2024 09:55:21 +0200 Subject: [PATCH] update website colours --- DESCRIPTION | 4 ++-- NEWS.md | 2 +- pkgdown/extra.css | 42 ++++++++++++++++++++++++++++-------------- 3 files changed, 31 insertions(+), 17 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 128c2638..ece2b56c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: AMR -Version: 2.1.1.9017 -Date: 2024-04-07 +Version: 2.1.1.9018 +Date: 2024-04-08 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) data analysis and to work with microbial and antimicrobial properties by diff --git a/NEWS.md b/NEWS.md index 7a36169d..e882ad3c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 2.1.1.9017 +# AMR 2.1.1.9018 *(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support!)* diff --git a/pkgdown/extra.css b/pkgdown/extra.css index 71de3ccc..7c3f2919 100644 --- a/pkgdown/extra.css +++ b/pkgdown/extra.css @@ -37,30 +37,38 @@ --amr-green-middle: #60a799; --amr-green-middle-rgb: 96, 167, 153; --amr-blue-light: #a8d5ef - --amr-blue-light-rgb: 168, 213, 239 + --amr-blue-light-rgb: 168, 213, 239; - --bs-success: --amr-green-dark !important; - --bs-link-color: --amr-green-dark !important; - --bs-light: --amr-green-light !important; + --bs-success: var(--amr-green-dark) !important); + --bs-link-color: var(--amr-green-dark) !important; + --bs-light: var(--amr-green-light) !important; /* --bs-light was this: #128f76a6; that's success with 60% alpha */ - --bs-info: --amr-green-middle !important; + --bs-info: var(--amr-green-middle) !important; + --bs-link-color: var(--amr-green-dark) !important; + --bs-link-color-rgb: var(--amr-green-dark-rgb) !important; - --bs-primary: --amr-green-dark !important; - --bs-primary-color: --amr-green-dark !important; - --bs-primary-rgb: --amr-green-light-rgb !important; + --bs-primary: var(--amr-green-dark) !important; + --bs-primary-color: var(--amr-green-dark) !important; + --bs-primary-rgb: var(--amr-green-dark-rgb) !important; - --bs-secondary: #ffffff !important; + --bs-secondary: white !important; --bs-secondary-color: var(--amr-green-dark) !important; --bs-secondary-rgb: 255, 255, 255 !important; - --bs-navbar-brand-color: var(--bs-body-color) !important; - --bs-navbar-brand-color-hover: var(--bs-body-color) !important; - --bs-nav-link-color: var(--bs-body-color) !important; + --bs-navbar-brand-color: white !important; + --bs-navbar-brand-color-hover: white !important; + --bs-nav-link-color: white !important; --bs-bg-opacity: 1 !important; } .nav-text.text-muted { color: var(--amr-green-dark) !important; } +.navbar-dark input[type="search"] { + background-color: var(--amr-green-light) !important; +} +.form-control:focus { + box-shadow: none !important; +} .template-home img.logo { width: 200px; @@ -121,8 +129,11 @@ pre code { pre .fu, .fu { /* functions */ color: var(--amr-green-dark) !important; - font-weight: bold !important; - letter-spacing: -1px !important; +} +pre .fu a:hover, .fu a:hover { + /* functions */ + color: var(--amr-green-light) !important; + text-decoration: underline; } pre .st, .st { /* strings, regular text */ @@ -160,3 +171,6 @@ a[href]:hover, a[href]:focus { /* adjusted colour for all real links; having href attribute */ text-decoration: underline; } +strong code { + font-weight: normal !important; +}