commit 25dc1192575f1f1146d31835d3ddbeb3a524e66c Author: Carlos R. Mercado <107061601+charlieflipside@users.noreply.github.com> Date: Fri Dec 23 11:48:37 2022 -0500 Initial commit diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e75435c --- /dev/null +++ b/.gitignore @@ -0,0 +1,49 @@ +# History files +.Rhistory +.Rapp.history + +# Session Data files +.RData +.RDataTmp + +# User-specific files +.Ruserdata + +# Example code in package build process +*-Ex.R + +# Output files from R CMD build +/*.tar.gz + +# Output files from R CMD check +/*.Rcheck/ + +# RStudio files +.Rproj.user/ + +# produced vignettes +vignettes/*.html +vignettes/*.pdf + +# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3 +.httr-oauth + +# knitr and R markdown default cache directories +*_cache/ +/cache/ + +# Temporary files created by R markdown +*.utf8.md +*.knit.md + +# R Environment Variables +.Renviron + +# pkgdown site +docs/ + +# translation temp files +po/*~ + +# RStudio Connect folder +rsconnect/ diff --git a/FLIPSIDE-BRAND-1-BLACK.png b/FLIPSIDE-BRAND-1-BLACK.png new file mode 100644 index 0000000..c3f5fa1 Binary files /dev/null and b/FLIPSIDE-BRAND-1-BLACK.png differ diff --git a/FLIPSIDE-BRAND-1-WHITE.png b/FLIPSIDE-BRAND-1-WHITE.png new file mode 100644 index 0000000..984c2ba Binary files /dev/null and b/FLIPSIDE-BRAND-1-WHITE.png differ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cc73c82 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Carlos R. Mercado + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..760accf --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# RMarkdown-template + Template for RMarkdown files that includes Flipside Crypto Header HTML insert, default YAML and CSS diff --git a/RMarkdown-template.Rproj b/RMarkdown-template.Rproj new file mode 100644 index 0000000..8e3c2eb --- /dev/null +++ b/RMarkdown-template.Rproj @@ -0,0 +1,13 @@ +Version: 1.0 + +RestoreWorkspace: Default +SaveWorkspace: Default +AlwaysSaveHistory: Default + +EnableCodeIndexing: Yes +UseSpacesForTab: Yes +NumSpacesForTab: 2 +Encoding: UTF-8 + +RnwWeave: Sweave +LaTeX: pdfLaTeX diff --git a/footer.html b/footer.html new file mode 100644 index 0000000..e69de29 diff --git a/header.html b/header.html new file mode 100644 index 0000000..ce86c94 --- /dev/null +++ b/header.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..232564c --- /dev/null +++ b/styles.css @@ -0,0 +1,112 @@ + +@import url('https://fonts.googleapis.com/css?family=Inter'); +@import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); + +body { + background-color: #10151A; + background-position: center top; + background-size: 300px 117px; + padding-left: 10%; + padding-right: 10%; + color: #C4CDD5; + font-size: 18px; + font-weight: 400; + font-family: Inter; + margin-top: 10px; +} + +hr { + width: 85%; + color: #C4CDD5; +} + +.tocify { + background-color: #10151A; + font-size: 14px; + color: #C4CDD5; + border: 0; +} + +.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover { + background-color: #DC4F9C; + border-color: #DC4F9C; +} + +.list-group-item { + background-color: #10151A; +} + +h1 { + font-size: 1.4em; + padding-top: 10px; + color: #DC4F9C; +} + +h2 { + font-size: 1.1em; + padding-top: 10px; + color: #6FCCDD; +} + +h3 { + font-size: 1.1em; + padding-top: 10px; + color: white; +} + +.plotly { + margin: 30px; +} + +.rt-page-button-current { + color: #FFF; +} +.rt-thead { + background-color: #10151A; + color: #FFFFFF; + text-align: center; + vertical-align: middle; +} + +.rt-th-content { + text-align: center; + vertical-align: middle; +} + +.ReactTable { + background-color: #171e25; + color: #C4CDD5; + border: none; + font-family: Roboto Mono; + font-size: 0.8em; +} + +.rt-th { + border: 0px solid #000000 !important; + padding-top: 15px; + padding-bottom: 15px; + font-weight: 400; + font-family: Inter; +} +.rt-tr { + padding-top: 5px; + padding-bottom: 5px; +} +.rt-pagination { + margin: 0; + background: #171e25; + opacity: 0.5; + border-bottom: 1px solid #C4CDD5; + border-top: 1px solid #C4CDD5; +} + +.btn { + color: #FFF; + background: none; + border: none; + padding: 0; +} + +#TOC { +margin: 71px 0px 20px 0px; +} \ No newline at end of file diff --git a/template.Rmd b/template.Rmd new file mode 100644 index 0000000..801d4b4 --- /dev/null +++ b/template.Rmd @@ -0,0 +1,17 @@ +--- +title: " Title " +author: " Author " +date: "`r Sys.Date()`" +output: + html_document: + css: "styles.css" + includes: + in_header: header.html + code_folding: hide + toc: true + toc_float: true +editor_options: + chunk_output_type: console +--- + +# Intro \ No newline at end of file