Update theme
This commit is contained in:
parent
b6862fd08f
commit
440ea9318a
4 changed files with 66 additions and 32 deletions
72
hugo.toml
72
hugo.toml
|
@ -13,49 +13,59 @@ theme = "terminal"
|
|||
|
||||
# Theme settings
|
||||
[params]
|
||||
# dir name of your main content (default is `content/posts`).
|
||||
# the list of set content will show up on your index page (baseurl).
|
||||
contentTypeName = "content"
|
||||
# dir name of your main content (default is `content/posts`).
|
||||
# the list of set content will show up on your index page (baseurl).
|
||||
contentTypeName = "posts"
|
||||
|
||||
# ["orange", "blue", "red", "green", "pink"]
|
||||
themeColor = "red"
|
||||
# if you set this to 0, only submenu trigger will be visible
|
||||
showMenuItems = 0
|
||||
|
||||
# if you set this to 0, only submenu trigger will be visible
|
||||
showMenuItems = 0
|
||||
# show selector to switch language
|
||||
showLanguageSelector = false
|
||||
|
||||
# show selector to switch language
|
||||
showLanguageSelector = false
|
||||
# set theme to full screen width
|
||||
fullWidthTheme = true
|
||||
|
||||
# set theme to full screen width
|
||||
fullWidthTheme = true
|
||||
# center theme with default width
|
||||
centerTheme = false
|
||||
|
||||
# center theme with default width
|
||||
centerTheme = true
|
||||
# if your resource directory contains an image called `cover.(jpg|png|webp)`,
|
||||
# then the file will be used as a cover automatically.
|
||||
# With this option you don't have to put the `cover` param in a front-matter.
|
||||
autoCover = false
|
||||
|
||||
# if your resource directory contains an image called `cover.(jpg|png|webp)`,
|
||||
# then the file will be used as a cover automatically.
|
||||
# With this option you don't have to put the `cover` param in a front-matter.
|
||||
autoCover = true
|
||||
# set post to show the last updated
|
||||
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
|
||||
showLastUpdated = false
|
||||
|
||||
# set post to show the last updated
|
||||
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
|
||||
showLastUpdated = false
|
||||
# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
|
||||
# updatedDatePrefix = "Updated"
|
||||
|
||||
# set a custom favicon (default is a `themeColor` square)
|
||||
# favicon = "favicon.ico"
|
||||
# whether to show a page's estimated reading time
|
||||
readingTime = false
|
||||
|
||||
# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
|
||||
# updatedDatePrefix = "Updated"
|
||||
# whether to show a table of contents
|
||||
# can be overridden in a page's front-matter
|
||||
Toc = false
|
||||
|
||||
# set all headings to their default size (depending on browser settings)
|
||||
# oneHeadingSize = true # default
|
||||
# set title for the table of contents
|
||||
# can be overridden in a page's front-matter
|
||||
# TocTitle = "Table of Contents" # default
|
||||
|
||||
# whether to show a page's estimated reading time
|
||||
# readingTime = false # default
|
||||
# Set date/time format for posts
|
||||
# This will impact the date/time displayed on
|
||||
# index.html, the posts list page, and on posts themselves
|
||||
# This value can also be configured per-post on front matter
|
||||
# If you have any issues with the timezone rendering differently
|
||||
# than you expected, please ensure your timezone is correctly set
|
||||
# on your server.
|
||||
# This value can be customized according to Hugo documentation:
|
||||
# https://gohugo.io/functions/time/format/
|
||||
# Default value (no changes needed):
|
||||
# dateFormat = "2006-01-02"
|
||||
# Example format, with date, time, and timezone abbreviation:
|
||||
dateFormat = "02.01.2006 03:04:06"
|
||||
|
||||
# whether to show a table of contents
|
||||
# can be overridden in a page's front-matter
|
||||
# Toc = false # default
|
||||
# Translation
|
||||
[languages]
|
||||
[languages.en]
|
||||
|
|
BIN
static/favicon.png
Normal file
BIN
static/favicon.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 8.6 KiB |
24
static/style.css
Normal file
24
static/style.css
Normal file
|
@ -0,0 +1,24 @@
|
|||
:root {
|
||||
--background: #221f29;
|
||||
--foreground: #ffffff;
|
||||
--accent: #ff6266;
|
||||
--line-height: 1.3em;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/*
|
||||
a {
|
||||
color: var(--foreground);
|
||||
}
|
||||
*/
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-size: 1.4rem;
|
||||
text-decoration: none;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
margin-top: 40px;
|
||||
margin-bottom: 0px;
|
||||
}
|
|
@ -1 +1 @@
|
|||
Subproject commit 7e13d24d10c59c1cf1d1f011f7c4c93266d8aa7d
|
||||
Subproject commit b09f47aae7bc7f2fdeab523d15d2a8d217c4dad1
|
Loading…
Add table
Reference in a new issue