From 55e19f6be9ab01452fc8a3aa290a322852aac942 Mon Sep 17 00:00:00 2001 From: Simone Di Maulo Date: Wed, 18 Sep 2024 12:15:02 +0200 Subject: [PATCH] root --- .gitmodules | 3 +++ .hugo_build.lock | 0 archetypes/default.md | 5 +++++ assets/css/custom.css | 41 +++++++++++++++++++++++++++++++++++++++++ hugo.toml | 14 ++++++++++++++ themes/archie | 1 + 6 files changed, 64 insertions(+) create mode 100644 .gitmodules create mode 100644 .hugo_build.lock create mode 100644 archetypes/default.md create mode 100644 assets/css/custom.css create mode 100644 hugo.toml create mode 160000 themes/archie diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..51d4cee --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/archie"] + path = themes/archie + url = git@github.com:athul/archie.git diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..44042be --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,41 @@ + +:root { + --maincolor: #8f2b9b !important; + --bordercl: #8f2b9b !important; + --callouctcolor: dodgerblue !important; + --hovercolor: #8f2b9b !important; + --darkMaincolor: #8f2b9b !important; + --bgcolor: #f0f0e5; +} + +html { + color: #232333; + font-family: 'Roboto Mono', monospace; + font-size: 15px; + line-height: 1.6em; + background: var(--bgcolor); +} + +a:hover { + background-color: var(--hovercolor); + color: var(--bgcolor) !important; +} + +/* list box */ +.list-item { + border: 1px solid var(--bordercl); + border-radius: 0.2em; + box-shadow: 5px 5px 7px #f1e9fd; + padding: 0 1.5em 1.5em 1.5em; + margin: 2em 0 2em 0; +} +.list-item .description { + padding: 1.75em; +} +.list-item .readmore { + display: inline-block; + margin: 0; + padding: 0.3em 0.8em; + border-radius: 3rem; +} + diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..fe9da7c --- /dev/null +++ b/hugo.toml @@ -0,0 +1,14 @@ +baseURL = 'https://example.org/' +languageCode = 'en-us' +title = 'Simone.dev' +theme = 'archie' + + +[params] +author = "Simone Di Maulo" +mode="toggle" # color-mode → light,dark,toggle or auto +useCDN=true # don't use CDNs for fonts and icons, instead serve them locally. +subtitle = "I like code, architecture and help developers work better" +mathjax = false # enable MathJax support +katex = false # enable KaTeX support +customcss = ["/css/custom.css"] diff --git a/themes/archie b/themes/archie new file mode 160000 index 0000000..d8819d5 --- /dev/null +++ b/themes/archie @@ -0,0 +1 @@ +Subproject commit d8819d5eee8b0817f41bda3a9dc2100cd6b2b0bd