From 588bf616736565cfbfe5ec8aca379d4dec5e2152 Mon Sep 17 00:00:00 2001 From: Elias Projahn Date: Thu, 15 Dec 2022 13:14:34 +0100 Subject: [PATCH] Fix content styling --- R/style.R | 18 +++++++++++++++--- inst/content/api.md | 15 --------------- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/R/style.R b/R/style.R index 5eabdeb..dd3b060 100644 --- a/R/style.R +++ b/R/style.R @@ -5,9 +5,21 @@ custom_css <- function() { tags$style(HTML( ".nav-hidden { height: 0 }", ".flow-layout > div {", - "display: inline-block;", - "vertical-align: top;", - "margin-right: 12px;", + " display: inline-block;", + " vertical-align: top;", + " margin-right: 12px;", + "}", + ".container h2, .container h3 {", + " margin-top: 64px;", + "}", + "", + ".container table {", + " margin-top: 32px;", + " margin-bottom: 32px;", + "}", + "", + ".container th, .container td {", + " padding: 4px;", "}" )) ) diff --git a/inst/content/api.md b/inst/content/api.md index b913d87..baeac3f 100644 --- a/inst/content/api.md +++ b/inst/content/api.md @@ -1,18 +1,3 @@ - - ## Using the API for retrieving the data You can use the API endpoint `/ranking` to download the dataset formatted in