AMR/docs/extra.css

210 lines
4.9 KiB
CSS
Raw Normal View History

2019-01-02 23:24:07 +01:00
/*
# ==================================================================== #
# TITLE #
# Antimicrobial Resistance (AMR) Analysis #
# #
# SOURCE #
# https://gitlab.com/msberends/AMR #
# #
# LICENCE #
# (c) 2019 Berends MS (m.s.berends@umcg.nl), Luz CF (c.f.luz@umcg.nl) #
# #
# 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. #
# #
# This R package was created for academic research and was publicly #
# released in the hope that it will be useful, but it comes WITHOUT #
# ANY WARRANTY OR LIABILITY. #
2019-06-01 21:28:18 +02:00
# Visit our website for more info: https://msberends.gitlab.io/AMR. #
2019-01-02 23:24:07 +01:00
# ==================================================================== #
*/
2019-02-09 22:16:24 +01:00
/* R for Data Science (r4ds) */
#r4ds a {
2019-02-11 10:27:10 +01:00
display: inline-flex;
align-items: center;
text-align: right;
2019-02-09 22:16:24 +01:00
}
2019-02-11 10:27:10 +01:00
#r4ds img {
margin-left: 10px;
2019-02-09 22:16:24 +01:00
}
2018-12-30 10:27:28 +01:00
/* class for footer */
2019-01-22 19:55:11 +01:00
.footer_logo {
2019-01-25 20:47:57 +01:00
float: right;
height: 43px;
margin-top: 2px;
2019-01-22 19:55:11 +01:00
}
2019-02-08 16:06:54 +01:00
.partner_logo {
width: 19%;
min-width: 125px;
}
2019-01-22 19:55:11 +01:00
@media only screen and (max-width: 992px) {
.footer_logo {
2019-01-25 20:47:57 +01:00
float: left;
margin-top: 15px;
2019-01-22 19:55:11 +01:00
}
2018-12-30 10:27:28 +01:00
}
2019-01-25 20:47:57 +01:00
footer p {
display: inline-block;
}
2018-12-30 10:27:28 +01:00
2018-12-29 22:24:19 +01:00
/* Supports icons for brand using font-awesome */
.fab {
2019-01-21 15:53:01 +01:00
font-family: "Font Awesome 5 Brands" !important;
2018-12-29 22:24:19 +01:00
}
2019-01-02 23:24:07 +01:00
/* Remove the 'Read more on our website!' part from the manual pages */
#read-more-on-our-website-,
#read-more-on-our-website- + p,
li a[href="#read-more-on-our-website-"] {
2019-01-21 15:53:01 +01:00
display: none;
2018-12-29 22:24:19 +01:00
}
2019-01-02 23:24:07 +01:00
/* make colour darker and better readable for links */
code a, code a:hover, code a:focus,
pre a, pre a:hover, pre a:focus,
a, a:hover, a:focus {
/* do not set colour to element without href attribute, they aren't links! */
color: black;
}
a[href], a[href]:hover, a[href]:focus,
code a[href], code a[href]:hover, code a[href]:focus,
2019-01-11 20:37:23 +01:00
a[href] code, a[href] code:hover, a[href] code:focus,
2019-01-02 23:24:07 +01:00
pre a[href], pre a[href]:hover, pre a[href]:focus,
a code[href], a code[href]:hover, a code[href]:focus,
a pre[href], a pre[href]:hover, a pre[href]:focus {
/* adjusted colour for all real links; having href attribute */
2018-12-29 22:24:19 +01:00
color: #128f76;
}
2019-02-14 15:18:17 +01:00
.ot, .dv {
/* numbers and TRUE/FALSE */
color: slategray;
}
2018-12-29 22:24:19 +01:00
/* syntax font */
pre, code {
2019-01-21 15:53:01 +01:00
font-family: 'Courier New', monospace;
font-size: 100% !important;
font-weight: bold;
2019-01-26 23:22:56 +01:00
background-color: #f4f4f4;
2018-12-29 22:24:19 +01:00
}
pre {
font-size: 90% !important;
}
2019-01-21 15:53:01 +01:00
kbd {
display: inline-block;
padding: 0 4px;
box-shadow: 1px 1px 1px #2c3e50;
margin: 2px;
font-size: small;
vertical-align: text-bottom;
color: #2c3e50;
2019-01-26 23:22:56 +01:00
background: #eeeeee;
2019-01-21 15:53:01 +01:00
font-weight: bold;
}
2018-12-29 22:24:19 +01:00
li, p {
2019-01-21 15:53:01 +01:00
line-height: 1.5;
2018-12-29 22:24:19 +01:00
}
2019-09-01 13:16:57 +02:00
li p {
margin-top: 10.5px;
}
2018-12-29 22:24:19 +01:00
/* slightly smaller blockquote */
blockquote {
2019-01-21 15:53:01 +01:00
font-size: 98%;
}
/* 2nd list in navigation should be smaller */
#tocnav li li {
font-size: 90%;
margin-left: 5px;
}
2018-12-29 22:24:19 +01:00
/* new <help> element with dotted underline */
help {
border-bottom: 1px dotted;
cursor: help;
}
/* replace 'Developers' with 'Authors' */
.developers h2 {
2019-01-21 15:53:01 +01:00
display: none;
2018-12-29 22:24:19 +01:00
}
.developers:before {
2019-01-21 15:53:01 +01:00
content: 'Authors';
font-size: 1.5em;
2018-12-29 22:24:19 +01:00
}
.version.label {
display: none;
}
/* Date of vignettes */
.template-article .date:before {
2019-01-21 15:53:01 +01:00
content: 'Last updated: ';
}
.template-article .date {
2019-01-21 15:53:01 +01:00
font-size: 14px;
padding-top: 40px;
}
2018-12-29 22:24:19 +01:00
/* more space between icon and text in top menu */
#navbar .fa,
#navbar .fab,
#navbar .fal,
#navbar .far,
#navbar .fas {
margin-right: 5px;
}
2019-01-02 23:24:07 +01:00
#navbar li.dropdown li .fa {
font-size: 120%;
width: 24px;
text-align: center;
}
2019-05-28 16:50:40 +02:00
/* tables, make them look like scientific ones */
.table {
font-size: 90%;
}
.table td {
padding: 4px !important;
}
thead {
2019-01-21 15:53:01 +01:00
border-top: 2px solid black;
border-bottom: 2px solid black;
}
2019-01-21 15:53:01 +01:00
thead ~ tbody {
/* only when it has a header */
border-bottom: 2px solid black;
}
2019-01-11 20:37:23 +01:00
table a:not(.btn), .table a:not(.btn) {
2019-01-21 15:53:01 +01:00
text-decoration: inherit;
2019-01-11 20:37:23 +01:00
}
table a:not(.btn):hover, .table a:not(.btn):hover {
2019-01-21 15:53:01 +01:00
text-decoration: underline;
}
2019-01-25 13:18:41 +01:00
/* text below header in manual overview */
2019-01-21 15:53:01 +01:00
.template-reference-index h2 ~ p {
2019-07-09 11:22:46 +02:00
font-size: 16px;
}
.template-reference-topic h2 {
font-size: 24px;
2019-01-11 20:37:23 +01:00
}
2019-01-25 13:18:41 +01:00
/* logos on index page */
.logo_img {
display: inline-block;
}
.logo_txt {
display: inline;
font-size: 125%;
vertical-align: middle;
color: black;
font-weight: bold;
}