diff --git a/assets/scss/_predefined.scss b/assets/scss/_predefined.scss
index 7d87c02..d8c11dd 100644
--- a/assets/scss/_predefined.scss
+++ b/assets/scss/_predefined.scss
@@ -6,10 +6,10 @@ $light-grey: #494f5c;
$dark-grey: #3B3E48;
$highlight-grey: #7d828a;
$midnightblue: #2c3e50;
-
+$background: #2e2e2e;
// Fonts
//
-$fonts: "Trebuchet MS", Verdana, "Verdana Ref", "Segoe UI", Candara, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
+$fonts: monospace, "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
$code-fonts: Consolas, "Andale Mono WT", "Andale Mono", Menlo, Monaco, "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, "YaHei Consolas Hybrid", monospace, "Segoe UI Emoji", "PingFang SC", "Microsoft YaHei";
// Mixins
diff --git a/assets/scss/style.scss b/assets/scss/style.scss
index 1a0f9a8..d98687e 100644
--- a/assets/scss/style.scss
+++ b/assets/scss/style.scss
@@ -19,12 +19,16 @@
}
html {
- background: $light-grey;
+ margin: 0;
+ background: $background;
+ background-repeat: no-repeat;
+ background-attachment: fixed;
line-height: 1.6;
letter-spacing: .06em;
scroll-behavior: smooth;
}
+
body,
button,
input,
@@ -101,10 +105,10 @@ a {
hr {
opacity: .2;
- border-width: 0 0 5px 0;
- border-style: dashed;
+ border-width: 0 0 2px 0;
+ border-style: solid;
background: transparent;
- width: 50%;
+ width: 90%;
margin: 1.8em auto;
}
@@ -133,6 +137,11 @@ table {
width: 93%;
}
+.site-main {
+ border-radius: 1em;
+ padding: 1em;
+}
+
.thin {
max-width: 720px;
margin: auto;
@@ -229,7 +238,7 @@ table {
width: 100%;
box-sizing: border-box;
box-shadow: -1px -2px 3px rgba(0, 0, 0, 0.45);
- background-color: $dark-grey;
+ background-color: $dark-grey !important;
animation-duration: .3s;
}
@@ -330,11 +339,10 @@ table {
display: flex;
min-height: 100vh;
flex-direction: column;
- align-items: center;
justify-content: center;
- max-width: 93%;
+ max-width: 80%;
margin: auto;
- font-size: 1.5rem;
+ font-size: 1.2rem;
&.error-404 {
flex-direction: row;
@@ -403,11 +411,11 @@ p.img-404 {
#home-subtitle {
margin-top: 0;
- margin-bottom: 1.5em;
+ margin-bottom: 1em;
text-align: center;
line-height: normal;
font-size: .7em;
- font-style: italic;
+ font-style: normal;
opacity: .9;
}
@@ -417,15 +425,27 @@ p.img-404 {
opacity: .8;
a {
- margin: 0 .2em;
+ opacity: 0.8;
+ transition: 0.5s;
+ margin: 0 .5em;
}
+
+ a:hover {
+ opacity: 1;
+ text-decoration: none;
+}
+}
+
+#home-nav-header {
+ text-align: center;
}
#home-nav {
opacity: .8;
+ text-align: center;
+ margin-bottom: 1em;
a {
- display: block;
text-align: center;
margin-top: .5em;
}
diff --git a/layouts/404.html b/layouts/404.html
index 38a201d..e5a9fe9 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -7,8 +7,8 @@
404
{{ i18n "notFound" }}
- {{ i18n "home" }}
- {{ i18n "archives" }}
+ {{ i18n "home" }}
+ {{ i18n "archives" }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9ba7177..8e97652 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -19,7 +19,7 @@
{{ .Title }}
- {{ .Content | replaceRE "(
)" `${1}${3}` | safeHTML }}
+ {{ .Content | replaceRE "()" `${1}${3}` | safeHTML }}
{{- if .Params.comments }}
diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html
index adc8f87..39610ee 100644
--- a/layouts/partials/svg.html
+++ b/layouts/partials/svg.html
@@ -1,47 +1,51 @@
{{- if (eq .name "codepen") -}}
-
+
{{- else if (eq .name "facebook") -}}
-
+
{{- else if (eq .name "github") -}}
-
+
{{- else if (eq .name "gitlab") -}}
-
+
{{- else if (eq .name "instagram") -}}
-
+
{{- else if (eq .name "linkedin") -}}
-
+
{{- else if (eq .name "slack") -}}
-
+
{{- else if (eq .name "stackoverflow") -}}
-
+
{{- else if (eq .name "telegram") -}}
-
+
{{- else if (eq .name "twitch") -}}
-
+
{{- else if (eq .name "twitter") -}}
-
+
{{- else if (eq .name "youtube") -}}
-
+
{{- else if (eq .name "email") -}}
-
+
{{- else if (eq .name "dribbble") -}}
-
+
{{- else if (eq .name "behance") -}}
-
+
{{- else if (eq .name "freepik") -}}
-
+
{{- else if (eq .name "adobestock") -}}
-
+
{{- else if (eq .name "shutterstock") -}}
-
+
{{- else if (eq .name "123rf") -}}
-
+
{{- else if (eq .name "dreamstime") -}}
-
+
{{- else if (eq .name "paypal") -}}
-
+
{{- else if (eq .name "qq") -}}
-
+
+{{- else if (eq .name "root me") -}}
+
+{{- else if (eq .name "GPG") -}}
+
{{- else -}}
-
+
{{- end -}}
diff --git a/layouts/posts/rss.xml b/layouts/posts/rss.xml
index 8db9f49..94d028f 100644
--- a/layouts/posts/rss.xml
+++ b/layouts/posts/rss.xml
@@ -2,8 +2,7 @@
{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}
{{ .Permalink }}
- Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}
- Hugo -- gohugo.io{{ with .Site.LanguageCode }}
+ Latest posts from {{ .Site.Title }}{{ with .Site.LanguageCode }}
{{.}}{{end}}{{ with .Site.Author.email }}
{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }}
{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }}
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index d221abb..d48d910 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -23,7 +23,7 @@
{{ .Title }}
- {{ .Content | replaceRE "(
)" `${1}${3}` | safeHTML }}
+ {{ .Content | replaceRE "()" `${1}${3}` | safeHTML }}
{{- if .Site.Params.relatedPosts }}
{{- partial "related-posts.html" . -}}
@@ -31,20 +31,20 @@
@@ -57,12 +57,12 @@
diff --git a/static/Gnupg-logo.svg b/static/Gnupg-logo.svg
new file mode 100644
index 0000000..05ee4c3
--- /dev/null
+++ b/static/Gnupg-logo.svg
@@ -0,0 +1,10 @@
+
\ No newline at end of file
diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png
deleted file mode 100644
index ead4502..0000000
Binary files a/static/android-chrome-192x192.png and /dev/null differ
diff --git a/static/android-chrome-384x384.png b/static/android-chrome-384x384.png
deleted file mode 100644
index 5c0c07d..0000000
Binary files a/static/android-chrome-384x384.png and /dev/null differ
diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png
deleted file mode 100644
index cbe7d8d..0000000
Binary files a/static/apple-touch-icon.png and /dev/null differ
diff --git a/static/arrow.svg b/static/arrow.svg
new file mode 100644
index 0000000..25435eb
--- /dev/null
+++ b/static/arrow.svg
@@ -0,0 +1 @@
+
diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png
deleted file mode 100644
index 4ad4d17..0000000
Binary files a/static/favicon-16x16.png and /dev/null differ
diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png
deleted file mode 100644
index 356b180..0000000
Binary files a/static/favicon-32x32.png and /dev/null differ
diff --git a/static/favicon.ico b/static/favicon.ico
deleted file mode 100644
index 4ea0c8d..0000000
Binary files a/static/favicon.ico and /dev/null differ
diff --git a/static/github.svg b/static/github.svg
new file mode 100644
index 0000000..07d2cd0
--- /dev/null
+++ b/static/github.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/linkedin.svg b/static/linkedin.svg
new file mode 100644
index 0000000..8438c26
--- /dev/null
+++ b/static/linkedin.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/mstile-150x150.png b/static/mstile-150x150.png
deleted file mode 100644
index f3165af..0000000
Binary files a/static/mstile-150x150.png and /dev/null differ
diff --git a/static/rootme.svg b/static/rootme.svg
new file mode 100644
index 0000000..d4e5e14
--- /dev/null
+++ b/static/rootme.svg
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/static/safari-pinned-tab.svg b/static/safari-pinned-tab.svg
deleted file mode 100644
index 09fab14..0000000
--- a/static/safari-pinned-tab.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/static/site.webmanifest b/static/site.webmanifest
deleted file mode 100644
index a1553eb..0000000
--- a/static/site.webmanifest
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "",
- "short_name": "",
- "icons": [
- {
- "src": "/android-chrome-192x192.png",
- "sizes": "192x192",
- "type": "image/png"
- },
- {
- "src": "/android-chrome-384x384.png",
- "sizes": "384x384",
- "type": "image/png"
- }
- ],
- "theme_color": "#ffffff",
- "background_color": "#ffffff",
- "display": "standalone"
-}
{{ .Site.Title }}
- {{- with .Site.Params.homeSubtitle }} -{{.}}
- {{- end }} - {{- with .Site.Params.social }} ++ {{ range .Site.Params.homeSubtitle }} +
{{ . }}
+ {{ end }} + {{ with .Site.Params.social }}+
+
© {{ now.Format "2006" }} {{ .Site.Author.name }}{{ .Site.Params.footerCopyright | safeHTML }} - {{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} · {{ end }}