AMR/extra.css

122 lines
3.9 KiB
CSS
Raw Normal View History

2022-08-21 16:59:35 +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
# #
# SOURCE #
# https://github.com/msberends/AMR #
# #
2022-10-05 12:32:07 +02:00
# CITE AS #
# 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. #
# doi:10.18637/jss.v104.i03 #
# #
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/ #
# ==================================================================== #
*/
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 {
2023-02-17 13:20:23 +01:00
background: var(--bs-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 */
color: var(--bs-primary) !important;
font-weight: bold !important;
letter-spacing: -1px !important;
}
pre .st, .st {
/* strings, regular text */
2023-02-17 13:20:23 +01:00
color: var(--bs-info) !important;
2022-08-21 16:59:35 +02:00
}
pre .co, .co {
/* comments */
2023-02-17 13:20:23 +01:00
color: var(--bs-success) !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 */
color: var(--bs-success);
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;
}