AMR/extra.css

196 lines
6.2 KiB
CSS
Raw Permalink Normal View History

2022-08-21 16:59:35 +02:00
/*
# ==================================================================== #
2023-07-08 21:10:45 +02:00
# TITLE: #
2022-10-05 12:32:07 +02:00
# AMR: An R Package for Working with Antimicrobial Resistance Data #
2022-08-21 16:59:35 +02:00
# #
2023-07-08 21:10:45 +02:00
# SOURCE CODE: #
2022-08-21 16:59:35 +02:00
# https://github.com/msberends/AMR #
# #
2023-07-08 21:10:45 +02:00
# PLEASE CITE THIS SOFTWARE AS: #
2022-10-05 12:32:07 +02:00
# Berends MS, Luz CF, Friedrich AW, Sinha BNM, Albers CJ, Glasner C #
# (2022). AMR: An R Package for Working with Antimicrobial Resistance #
# Data. Journal of Statistical Software, 104(3), 1-31. #
2023-05-27 10:53:23 +02:00
# https://doi.org/10.18637/jss.v104.i03 #
2022-10-05 12:32:07 +02:00
# #
2022-12-27 16:14:41 +01:00
# Developed at the University of Groningen and the University Medical #
# Center Groningen in The Netherlands, in collaboration with many #
# colleagues from around the world, see our website. #
2022-08-21 16:59:35 +02:00
# #
# This R package is free software; you can freely use and distribute #
# it for both personal and commercial purposes under the terms of the #
# GNU General Public License version 2.0 (GNU GPL-2), as published by #
# the Free Software Foundation. #
# We created this package for both routine data analysis and academic #
# research and it was publicly released in the hope that it will be #
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
# ==================================================================== #
*/
2024-03-03 23:05:59 +01:00
:root, .navbar * {
2024-04-08 00:58:24 +02:00
--amr-green-light: #a7dbc3;
--amr-green-light-rgb: 167, 219, 195;
--amr-green-dark: #128f76;
--amr-green-dark-rgb: 18, 143, 118;
--amr-green-middle: #60a799;
--amr-green-middle-rgb: 96, 167, 153;
2024-04-23 10:39:01 +02:00
--amr-blue-light: #a8d5ef;
2024-04-08 10:04:57 +02:00
--amr-blue-light-rgb: 168, 213, 239;
2024-04-08 00:58:24 +02:00
2024-04-23 10:39:01 +02:00
--bs-success: var(--amr-green-dark) !important;
2024-04-08 10:04:57 +02:00
--bs-light: var(--amr-green-light) !important;
2024-04-08 00:58:24 +02:00
/* --bs-light was this: #128f76a6; that's success with 60% alpha */
2024-04-08 10:04:57 +02:00
--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;
2024-04-08 00:58:24 +02:00
2024-04-08 10:04:57 +02:00
--bs-primary: var(--amr-green-dark) !important;
--bs-primary-color: var(--amr-green-dark) !important;
--bs-primary-rgb: var(--amr-green-dark-rgb) !important;
2024-04-08 00:58:24 +02:00
2024-04-08 10:04:57 +02:00
--bs-secondary: white !important;
2024-04-08 00:58:24 +02:00
--bs-secondary-color: var(--amr-green-dark) !important;
2024-03-03 23:05:59 +01:00
--bs-secondary-rgb: 255, 255, 255 !important;
2024-04-08 00:58:24 +02:00
2024-04-08 10:04:57 +02:00
--bs-navbar-brand-color: white !important;
--bs-navbar-brand-color-hover: white !important;
--bs-nav-link-color: white !important;
2024-04-23 10:39:01 +02:00
--bs-navbar-active-color: var(--amr-green-light) !important;
2024-02-25 17:02:51 +01:00
--bs-bg-opacity: 1 !important;
2024-04-23 10:39:01 +02:00
--bs-dropdown-bg: var(--amr-green-dark) !important;
--bs-dropdown-link-color: white !important;
--bs-dropdown-link-color: white !important;
--bs-dropdown-link-hover-color: var(--amr-green-light) !important;
--bs-dropdown-link-hover-bg: var(--amr-green-dark) !important;
--bs-dropdown-link-active-color: white !important;
2024-02-25 17:02:51 +01:00
}
2024-04-23 10:39:01 +02:00
.nav-text.text-muted,
.bg-primary .navbar-nav .show>.nav-link,
.bg-primary .navbar-nav .nav-link.active,
.bg-primary .navbar-nav .nav-link:hover,
.bg-primary .navbar-nav .nav-link:focus {
color: var(--amr-green-light) !important;
}
.navbar-dark .navbar-nav .nav-item > .nav-link:hover,
.navbar-light .navbar-nav .nav-item>.nav-link:hover {
background: none !important;
2024-03-03 23:05:59 +01:00
}
2024-04-08 10:04:57 +02:00
.navbar-dark input[type="search"] {
background-color: var(--amr-green-light) !important;
}
2024-04-23 10:39:01 +02:00
.navbar-nav .nav-item > .nav-link {
border-radius: 0 !important;
}
2024-04-08 10:04:57 +02:00
.form-control:focus {
box-shadow: none !important;
}
2024-02-25 17:02:51 +01:00
2024-03-03 23:05:59 +01:00
.template-home img.logo {
width: 200px;
}
@media (max-width: 575.98px) {
.template-home img.logo {
width: 140px;
}
}
2022-12-12 00:23:03 +01:00
/* fix some footer issues with the logos */
@media (min-width: 576px) {
footer .pkgdown-footer-right {
width: 300px;
}
}
@media (max-width: 575.98px) {
2023-02-18 13:17:35 +01:00
footer .pkgdown-footer-left {
text-align: center;
}
footer .pkgdown-footer-right {
2022-12-12 00:23:03 +01:00
text-align: center;
}
}
2022-08-21 16:59:35 +02:00
/* replace 'Developers' with 'Maintainers' */
.developers h2 {
display: none;
}
.developers:before {
content: 'Maintainers';
}
2023-02-08 17:01:47 +01:00
/* marked words for after using the search box */
mark, .mark {
2024-04-08 00:58:24 +02:00
background: var(--amr-green-light) !important;
2023-02-08 17:01:47 +01:00
}
2023-02-15 19:56:18 +01:00
/* smaller tables */
.table {
font-size: 0.9em !important;
}
2022-08-21 16:59:35 +02:00
/* SYNTAX */
/* These are simple changes for the syntax highlighting */
2023-02-14 17:15:56 +01:00
pre {
font-size: 0.8em !important;
}
2022-08-21 16:59:35 +02:00
pre code {
/* never wrap code on smaller screens */
word-wrap: normal !important;
white-space: pre !important;
}
.ot, .dv, .fl, .cn, .at,
.op a {
/* numbers, TRUE/FALSE and operators */
color: var(--bs-dark) !important;
}
pre .fu, .fu {
/* functions */
2024-04-08 00:58:24 +02:00
color: var(--amr-green-dark) !important;
2024-04-08 10:04:57 +02:00
}
pre .fu a:hover, .fu a:hover {
/* functions */
color: var(--amr-green-light) !important;
text-decoration: underline;
2022-08-21 16:59:35 +02:00
}
pre .st, .st {
/* strings, regular text */
2024-04-08 00:58:24 +02:00
color: var(--amr-green-middle) !important;
2022-08-21 16:59:35 +02:00
}
pre .co, .co {
/* comments */
2024-04-08 00:58:24 +02:00
color: var(--amr-green-dark) !important;
2022-08-21 16:59:35 +02:00
font-style: italic !important;
}
2023-01-14 20:00:10 +01:00
pre code .r-out,
pre code .r-msg {
/* output of functions */
2023-02-17 13:20:23 +01:00
color: var(--bs-gray-600) !important;
font-style: normal !important;
2023-01-14 20:00:10 +01:00
}
2022-08-21 16:59:35 +02:00
code a[href],
a[href] code,
pre a[href],
a code[href],
a pre[href] {
/* adjusted colour for all real links; having href attribute */
2024-04-08 00:58:24 +02:00
color: var(--amr-green-dark);
2022-08-21 16:59:35 +02:00
text-decoration: none;
}
2022-08-28 22:45:38 +02:00
a[href] {
text-decoration: none;
}
2022-08-21 16:59:35 +02:00
code a[href]:hover, code a[href]:focus,
a[href] code:hover, a[href] code:focus,
pre a[href]:hover, pre a[href]:focus,
a code[href]:hover, a code[href]:focus,
2022-08-28 22:45:38 +02:00
a pre[href]:hover, a pre[href]:focus,
a[href]:hover, a[href]:focus {
2022-08-21 16:59:35 +02:00
/* adjusted colour for all real links; having href attribute */
text-decoration: underline;
}
2024-04-08 10:04:57 +02:00
strong code {
font-weight: normal !important;
}