Skip to content

Commit

Permalink
Adds giscus and color tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
victoriadrake committed Dec 19, 2021
1 parent 8c3c9ce commit 84e3340
Show file tree
Hide file tree
Showing 7 changed files with 4,366 additions and 42 deletions.
7 changes: 1 addition & 6 deletions assets/sass/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ details[open] summary
.hidden
display: none

pre
background-color: $code-background !important

.img-responsive
border-radius: 5px
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4)
Expand Down Expand Up @@ -272,8 +269,6 @@ pre
border-left: .25rem solid #e5e5e5
blockquote p:last-child
margin-bottom: 0
code
background-color: $code-background
table
margin: 2em 0 2em 0
width: 100%
Expand All @@ -290,7 +285,7 @@ pre
tbody tr:nth-child(even) td,
tbody tr:nth-child(even) th
background-color: #f7f7f7
pre
code, pre
border-radius: 3px
img
display: block
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/_light-variables.sass
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ $primary: #00b8d4
$secondary: #dbdbdb
$h-color: #222222
$link-hover: #000000
$code-background: $secondary
$code-background: transparent
10 changes: 5 additions & 5 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ DefaultContentLanguage = "en" # Default language fo
facebook = true
pinterest = true

# To enable giscus, the github discussions based comment section,
# Follow the steps described to enable giscus and get the values
# needed to populate the below information.
# To enable giscus, the GitHub-discussions-based comment section,
# input the repository for the discussions below. For more details, see
# https://www.joelnitta.com/posts/2021-11-24_using-giscus/
# and https://github.com/giscus/giscus
[params.giscus]
# repo = "github-user/github-repo" # Entering repo will enable giscus
repo-id = "enter-repo-id"
Expand Down Expand Up @@ -104,9 +104,9 @@ DefaultContentLanguage = "en" # Default language fo
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = true
# noClasses = true
# For styles, see https://xyproto.github.io/splash/docs/longer/all.html
style = "friendly"
style = "solarized-dark"
tabWidth = 4

[languages]
Expand Down
Loading

0 comments on commit 84e3340

Please sign in to comment.