AMR/pkgdown/extra.css

206 lines
6.4 KiB
CSS
Raw Normal View History

2019-01-02 23:24:07 +01:00
/*
# ==================================================================== #
# TITLE: #
2022-10-05 09:12:22 +02:00
# AMR: An R Package for Working with Antimicrobial Resistance Data #
2019-01-02 23:24:07 +01:00
# #
# SOURCE CODE: #
2020-07-08 14:48:06 +02:00
# https://github.com/msberends/AMR #
2019-01-02 23:24:07 +01:00
# #
# PLEASE CITE THIS SOFTWARE AS: #
2022-10-05 09:12:22 +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:39:22 +02:00
# https://doi.org/10.18637/jss.v104.i03 #
2022-10-05 09:12:22 +02:00
# #
2022-12-27 15:16:15 +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. #
2019-01-02 23:24:07 +01: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. #
2020-10-08 11:16:03 +02:00
# #
# Visit our website for the full manual and a complete tutorial about #
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
2019-01-02 23:24:07 +01:00
# ==================================================================== #
*/
2024-03-03 19:07:09 +01:00
:root, .navbar * {
2024-04-07 20:22:59 +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:33:26 +02:00
--amr-blue-light: #a8d5ef;
2024-04-08 09:55:21 +02:00
--amr-blue-light-rgb: 168, 213, 239;
2024-04-07 20:22:59 +02:00
2024-04-23 10:33:26 +02:00
--bs-success: var(--amr-green-dark) !important;
2024-04-08 09:55:21 +02:00
--bs-light: var(--amr-green-light) !important;
2024-04-07 20:22:59 +02:00
/* --bs-light was this: #128f76a6; that's success with 60% alpha */
2024-04-08 09:55:21 +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-07 20:22:59 +02:00
2024-04-08 09:55:21 +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-07 20:22:59 +02:00
2024-04-08 09:55:21 +02:00
--bs-secondary: white !important;
2024-04-07 20:22:59 +02:00
--bs-secondary-color: var(--amr-green-dark) !important;
2024-03-03 19:07:09 +01:00
--bs-secondary-rgb: 255, 255, 255 !important;
2024-04-07 20:22:59 +02:00
2024-04-08 09:55:21 +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:33:26 +02:00
--bs-navbar-active-color: var(--amr-green-light) !important;
2024-02-25 16:48:04 +01:00
--bs-bg-opacity: 1 !important;
2024-04-23 10:33:26 +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 16:48:04 +01:00
}
2024-04-23 10:33:26 +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 19:07:09 +01:00
}
2024-04-08 09:55:21 +02:00
.navbar-dark input[type="search"] {
background-color: var(--amr-green-light) !important;
}
2024-04-23 10:33:26 +02:00
.navbar-nav .nav-item > .nav-link {
border-radius: 0 !important;
}
2024-04-08 09:55:21 +02:00
.form-control:focus {
box-shadow: none !important;
}
2024-02-25 16:48:04 +01:00
2024-03-03 19:07:09 +01:00
.template-home img.logo {
width: 200px;
}
.template-home .endorse_img {
width: 150px;
}
.template-reference-index .section-desc {
font-style: italic;
text-align: justify;
font-size: 16px;
}
2024-03-03 19:07:09 +01:00
@media (max-width: 575.98px) {
.template-home img.logo {
width: 140px;
}
}
2022-12-12 00:14:56 +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 11:57:17 +01:00
footer .pkgdown-footer-left {
text-align: center;
}
footer .pkgdown-footer-right {
2022-12-12 00:14:56 +01:00
text-align: center;
}
}
2022-08-21 16:37:20 +02:00
/* replace 'Developers' with 'Maintainers' */
2018-12-29 22:24:19 +01:00
.developers h2 {
2019-01-21 15:53:01 +01:00
display: none;
2018-12-29 22:24:19 +01:00
}
.developers:before {
content: 'Maintainers';
2018-12-29 22:24:19 +01:00
}
2023-01-30 12:26:48 +01:00
/* marked words for after using the search box */
mark, .mark {
2024-04-07 20:22:59 +02:00
background: var(--amr-green-light) !important;
2023-01-30 12:26:48 +01:00
}
2023-02-15 17:02:10 +01:00
/* smaller tables */
.table {
font-size: 0.9em !important;
}
2022-08-21 16:37:20 +02:00
/* SYNTAX */
/* These are simple changes for the syntax highlighting */
2023-02-14 16:57:48 +01:00
pre {
font-size: 0.8em !important;
}
2022-08-21 16:37:20 +02:00
pre code {
/* never wrap code on smaller screens */
word-wrap: normal !important;
white-space: pre !important;
2019-11-29 19:43:23 +01:00
}
2022-08-21 16:37:20 +02:00
.ot, .dv, .fl, .cn, .at,
.op a {
/* numbers, TRUE/FALSE and operators */
color: var(--bs-dark) !important;
2019-11-29 19:43:23 +01:00
}
2022-08-21 16:37:20 +02:00
pre .fu, .fu {
/* functions */
2024-04-07 20:22:59 +02:00
color: var(--amr-green-dark) !important;
2024-04-08 09:55:21 +02:00
}
pre .fu a:hover, .fu a:hover {
/* functions */
color: var(--amr-green-light) !important;
text-decoration: underline;
2022-08-21 16:37:20 +02:00
}
pre .st, .st {
/* strings, regular text */
2024-04-07 20:22:59 +02:00
color: var(--amr-green-middle) !important;
2022-08-21 16:37:20 +02:00
}
pre .co, .co {
/* comments */
2024-04-07 20:22:59 +02:00
color: var(--amr-green-dark) !important;
2022-08-21 16:37:20 +02:00
font-style: italic !important;
}
2023-01-14 19:50:25 +01:00
pre code .r-out,
pre code .r-msg {
/* output of functions */
2023-02-17 11:39:00 +01:00
color: var(--bs-gray-600) !important;
font-style: normal !important;
2023-01-14 19:50:25 +01:00
}
2022-08-21 16:37:20 +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-07 20:22:59 +02:00
color: var(--amr-green-dark);
2022-08-21 16:37:20 +02:00
text-decoration: none;
}
2022-08-27 20:49:37 +02:00
a[href] {
text-decoration: none;
}
2022-08-21 16:37:20 +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-27 20:49:37 +02:00
a pre[href]:hover, a pre[href]:focus,
a[href]:hover, a[href]:focus {
2022-08-21 16:37:20 +02:00
/* adjusted colour for all real links; having href attribute */
text-decoration: underline;
}
2024-04-08 09:55:21 +02:00
strong code {
font-weight: normal !important;
}