Fix content styling

This commit is contained in:
Elias Projahn 2022-12-15 13:14:34 +01:00
parent 78da07e12a
commit 588bf61673
2 changed files with 15 additions and 18 deletions

View file

@ -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;",
"}"
))
)

View file

@ -1,18 +1,3 @@
<style>
h2, h3 {
margin-top: 64px;
}
table {
margin-top: 32px;
margin-bottom: 32px;
}
th, td {
padding: 4px;
}
</style>
## Using the API for retrieving the data
You can use the API endpoint `/ranking` to download the dataset formatted in