Adds giscus and color tweaks

This commit is contained in:
Victoria Drake 2021-12-19 08:51:11 -06:00
parent 8c3c9cedd0
commit 84e3340ca0
7 changed files with 4366 additions and 42 deletions

View file

@ -76,9 +76,6 @@ details[open] summary
.hidden .hidden
display: none display: none
pre
background-color: $code-background !important
.img-responsive .img-responsive
border-radius: 5px border-radius: 5px
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4) box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4)
@ -272,8 +269,6 @@ pre
border-left: .25rem solid #e5e5e5 border-left: .25rem solid #e5e5e5
blockquote p:last-child blockquote p:last-child
margin-bottom: 0 margin-bottom: 0
code
background-color: $code-background
table table
margin: 2em 0 2em 0 margin: 2em 0 2em 0
width: 100% width: 100%
@ -290,7 +285,7 @@ pre
tbody tr:nth-child(even) td, tbody tr:nth-child(even) td,
tbody tr:nth-child(even) th tbody tr:nth-child(even) th
background-color: #f7f7f7 background-color: #f7f7f7
pre code, pre
border-radius: 3px border-radius: 3px
img img
display: block display: block

View file

@ -4,4 +4,4 @@ $primary: #00b8d4
$secondary: #dbdbdb $secondary: #dbdbdb
$h-color: #222222 $h-color: #222222
$link-hover: #000000 $link-hover: #000000
$code-background: $secondary $code-background: transparent

View file

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

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
{"Target":"css/main.min.84f93172277cdc39bfd0f5477be31c4c7a2f21fbab96f9bb0604dc9aeece07bd.css","MediaType":"text/css","Data":{"Integrity":"sha256-hPkxcid83Dm/0PVHe+McTHovIfurlvm7BgTcmu7OB70="}}

View file

@ -16,4 +16,4 @@
command = "hugo --gc --minify -t ../.. -d ../docs -v -b https://hugo-introduction.netlify.app/" command = "hugo --gc --minify -t ../.. -d ../docs -v -b https://hugo-introduction.netlify.app/"
[build.environment] [build.environment]
HUGO_VERSION = "0.80.0" HUGO_VERSION = "0.86.0"