Skip to content

Commit

Permalink
Adds theming
Browse files Browse the repository at this point in the history
  • Loading branch information
thedivtagguy committed Apr 16, 2023
1 parent aac6f00 commit 0d2ced9
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 8 deletions.
14 changes: 7 additions & 7 deletions index.Rmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
title: "The Walkability Wiki"
subtitle: "Methods for Measuring Pedestrian Experience"
author: "Aman Bhargava"
Expand All @@ -18,7 +18,6 @@ url: https://www.walkability.wiki/
description: "Quantitative & qualitative methods for measuring pedestrian experience."
---


```{r include=FALSE}
# automatically create a bib database for R packages
knitr::write_bib(c(
Expand All @@ -30,20 +29,21 @@ knitr::include_graphics(rep("static/cover.png"))
```

# Welcome to The Walkability Wiki {-}
# Welcome to The Walkability Wiki {.unnumbered}

<br>

<img src="static/cover.png" width="350" height="460" alt="Book Cover" class="cover" />
<img src="static/cover.png" alt="Book Cover" class="cover" width="350" height="460"/>

```{=html}
<style>
.inline-figure {
border: none !important;
overflow-x: visible !important;
}
</style>

```
This is the [website](http://walkability.wiki/) for *The Walkability Wiki*, a crowd-sourced cookbook of qualitative & quantitative methods for measuring pedestrian experience! Visit the [GitHub repository for this site](https://github.com/thedivtagguy/walkability-wiki).


<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>.
<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" alt="Creative Commons License" style="border-width:0"/></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>.
Binary file modified static/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 70 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ pre code {
/* Sidebar formating --------------------------------------------*/

div.sidebar {
border-left: 7px solid #ccc;
margin: 1em 0;
padding-left: 1em;
}
Expand All @@ -35,7 +34,77 @@ div.sidebar {
margin-bottom: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

body p {
font-family: 'Source Sans Pro', sans-serif;
}

h1, h2, h3, h4, h5 {
font-family: 'Bree Serif', serif;
}

.chapter-nav .prev, .chapter-nav .next {
padding: 0.5rem;
border: none !important;
border-radius: 0.2rem;
box-shadow: none !important;
}



.header-section-number {
color: #44344F !important;
}



/* CSS */
.chapter-nav .prev, .chapter-nav .next {
background-color: #f8f9fa;
border: 1px solid #f8f9fa;
border-radius: 4px;
color: #3c4043;
cursor: pointer;
font-family: arial,sans-serif;
font-size: 14px;
height: 36px;
line-height: 27px;
min-width: 54px;
padding: 5px 16px;
text-align: center;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
white-space: pre;
}




.chapter-nav .prev:hover,
.chapter-nav .next:hover,
.chapter-nav .prev:focus,
.chapter-nav .next:focus {
border-color: #dadce0;
box-shadow: rgba(0, 0, 0, .1) 0 1px 1px;
color: #202124;
}

.chapter-nav .prev:focus,
.chapter-nav .next:focus {
border-color: #4285f4;
outline: none;
}

.next > a > span:nth-child(1) {
display: none !important;
}

.prev > a > span:nth-child(1) {
display: none !important;
}

.section.level2 {
border-bottom: 2px black;
}

0 comments on commit 0d2ced9

Please sign in to comment.