From 691c0dcec24f0a82fd889392f8e5cd945b9f9f5f Mon Sep 17 00:00:00 2001 From: shockrah Date: Tue, 2 Nov 2021 21:40:38 -0700 Subject: [PATCH] * QOL Dev changes Mostly moving things into partials --- themes/resume/layouts/index.html | 33 ++----------------- .../resume/layouts/partials/experience.html | 18 ++++++++++ themes/resume/layouts/partials/projects.html | 13 ++++++++ themes/resume/static/css/style.css | 8 ++--- 4 files changed, 37 insertions(+), 35 deletions(-) create mode 100644 themes/resume/layouts/partials/experience.html create mode 100644 themes/resume/layouts/partials/projects.html diff --git a/themes/resume/layouts/index.html b/themes/resume/layouts/index.html index b89557d..e49c3b3 100644 --- a/themes/resume/layouts/index.html +++ b/themes/resume/layouts/index.html @@ -32,37 +32,8 @@
- {{ with .Site.GetPage "/projects" }} -

{{.Title}}

-
- {{ range .Pages }} -
-

{{.Title}}

-
{{.Params.Slogan}}
- -
{{.Content}}
-
- {{ end }} -
- {{ end }} - {{ with .Site.GetPage "/experience"}} -

{{.Title}}

-
- -
- {{ end }} + {{- partial "projects.html" . -}} + {{- partial "experience.html" . -}}
diff --git a/themes/resume/layouts/partials/experience.html b/themes/resume/layouts/partials/experience.html new file mode 100644 index 0000000..e8f4134 --- /dev/null +++ b/themes/resume/layouts/partials/experience.html @@ -0,0 +1,18 @@ +{{ with .Site.GetPage "/experience"}} +

{{.Title}}

+
+ +
+{{ end }} diff --git a/themes/resume/layouts/partials/projects.html b/themes/resume/layouts/partials/projects.html new file mode 100644 index 0000000..1a90f44 --- /dev/null +++ b/themes/resume/layouts/partials/projects.html @@ -0,0 +1,13 @@ +{{ with .Site.GetPage "/projects" }} +

{{.Title}}

+
+ {{ range .Pages }} +
+

{{.Title}}

+
{{.Params.Slogan}}
+ +
{{.Content}}
+
+ {{ end }} +
+{{ end }} \ No newline at end of file diff --git a/themes/resume/static/css/style.css b/themes/resume/static/css/style.css index cbf79d2..7a1a41d 100644 --- a/themes/resume/static/css/style.css +++ b/themes/resume/static/css/style.css @@ -147,11 +147,11 @@ a:hover { color: #EAA221; } ul.timeline { list-style-type: none; position: relative; - padding-top: 1emy Wy W; + padding-top: 1em; } ul.timeline:before { content: ' '; - background: #d4d9df; + background: #dcdcdc; display: inline-block; position: absolute; left: 29px; @@ -165,11 +165,11 @@ ul.timeline > li { } ul.timeline > li:before { content: ' '; - background: white; + background: #212121; display: inline-block; position: absolute; border-radius: 50%; - border: 3px solid #22c0e8; + border: 3px solid #0fc; left: 20px; width: 20px; height: 20px;