mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-08 14:49:43 +00:00
Adds giscus and color tweaks
This commit is contained in:
parent
8c3c9cedd0
commit
84e3340ca0
7 changed files with 4366 additions and 42 deletions
|
@ -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)
|
||||
|
@ -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%
|
||||
|
@ -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
|
||||
|
|
|
@ -4,4 +4,4 @@ $primary: #00b8d4
|
|||
$secondary: #dbdbdb
|
||||
$h-color: #222222
|
||||
$link-hover: #000000
|
||||
$code-background: $secondary
|
||||
$code-background: transparent
|
|
@ -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"
|
||||
|
@ -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]
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"Target":"css/main.min.84f93172277cdc39bfd0f5477be31c4c7a2f21fbab96f9bb0604dc9aeece07bd.css","MediaType":"text/css","Data":{"Integrity":"sha256-hPkxcid83Dm/0PVHe+McTHovIfurlvm7BgTcmu7OB70="}}
|
|
@ -16,4 +16,4 @@
|
|||
command = "hugo --gc --minify -t ../.. -d ../docs -v -b https://hugo-introduction.netlify.app/"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.80.0"
|
||||
HUGO_VERSION = "0.86.0"
|
||||
|
|
Loading…
Reference in a new issue