From ddd3c3e8440c1daa36d1e3df1c4b08e8db905f14 Mon Sep 17 00:00:00 2001 From: shockrah Date: Tue, 2 Nov 2021 21:02:10 -0700 Subject: [PATCH] + Simple timeline for jobs ! Some styling is in order but overall its not bad --- themes/resume/layouts/index.html | 22 ++++++++++++++-- themes/resume/static/css/style.css | 42 +++++++++++++++++++++++++++--- 2 files changed, 59 insertions(+), 5 deletions(-) diff --git a/themes/resume/layouts/index.html b/themes/resume/layouts/index.html index 410c933..b89557d 100644 --- a/themes/resume/layouts/index.html +++ b/themes/resume/layouts/index.html @@ -33,18 +33,36 @@
{{ with .Site.GetPage "/projects" }} -

{{.Title}}

+

{{.Title}}

{{ range .Pages }}

{{.Title}}

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

{{.Title}}

+
+ +
+ {{ end }}
diff --git a/themes/resume/static/css/style.css b/themes/resume/static/css/style.css index 5014776..cbf79d2 100644 --- a/themes/resume/static/css/style.css +++ b/themes/resume/static/css/style.css @@ -12,6 +12,9 @@ html { scroll-behavior: smooth; } +.container { + max-width: 75%; +} .banner-container { position: relative; text-align: center; @@ -116,6 +119,8 @@ html { .section-header { color: #EAA221; + font-weight: bold; + padding-top: 1em; } .section { display: flex; @@ -139,7 +144,38 @@ a:hover { color: #EAA221; } border:none; } -@media screen and (max-width: 600px) { - .headline { - } +ul.timeline { + list-style-type: none; + position: relative; + padding-top: 1emy Wy W; +} +ul.timeline:before { + content: ' '; + background: #d4d9df; + display: inline-block; + position: absolute; + left: 29px; + width: 2px; + height: 100%; + z-index: 400; +} +ul.timeline > li { + margin: 20px 0; + padding-left: 20px; +} +ul.timeline > li:before { + content: ' '; + background: white; + display: inline-block; + position: absolute; + border-radius: 50%; + border: 3px solid #22c0e8; + left: 20px; + width: 20px; + height: 20px; + z-index: 400; +} + +.bigger { + font-size: 1.5rem; } \ No newline at end of file