diff --git a/layouts/index.html b/layouts/index.html index 625f636..156a160 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,20 +1,18 @@ {{ partial "header" . }}
-
-
- Whoopsies, this is my bad side! -

{{ .Title }}

+ Logo no found +

{{ .Site.Title }}

- -
-

{{ .Site.Params.description }}

+

{{ .Site.Params.Description }}

+
+
+
{{ .Content }}
-
{{ partial "footer" . }} diff --git a/layouts/partials/header-project.html b/layouts/partials/header-project.html index f525625..57a785b 100644 --- a/layouts/partials/header-project.html +++ b/layouts/partials/header-project.html @@ -8,12 +8,13 @@ {{ printf "https://gitlab.com/%s/%s/" $.Site.Params.gitlabUsername . | $.Scratch.Set "link" }} {{ end }} {{ end }} - {{ with .Params.link }} {{ $.Scratch.Set "link" . }} {{ end }} {{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }} - -

{{ .Title }}

-
{{ $.Scratch.Get "subtitle" }}
+ + +

{{ .Title }}

+
+

{{ $.Scratch.Get "subtitle" }}

{{ range.Params.categories }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3877f1d..bb91aa2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -10,11 +10,11 @@ - - - - - + + + + + diff --git a/layouts/partials/list-item-project.html b/layouts/partials/list-item-project.html index 749b8d2..2c44215 100644 --- a/layouts/partials/list-item-project.html +++ b/layouts/partials/list-item-project.html @@ -1,21 +1,23 @@
- {{ with .Permalink }} {{ $.Scratch.Set "link" . }} {{ end }} - - {{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }} - {{ with .ReadingTime }} {{ $.Scratch.Set "read_time" . }} {{ end }} - - -

{{ .Title }}

-
{{ $.Scratch.Get "subtitle" }}
- {{ range.Params.categories }} - - {{ . }} - - {{ end }} - {{ range .Params.tags }} - - {{ . }} - - {{ end }} - + +
+ +

{{ .Title }}

+
+
{{ .Description }}
+ {{ range.Params.categories }} + + {{ . }} + + {{ end }} + {{ range .Params.tags }} + + {{ . }} + + {{ end }} +
diff --git a/static/css/main.css b/static/css/main.css index 0766f41..d99fcf9 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -18,13 +18,11 @@ main { } /*footer*/ - .copyright { margin: 15px 0; } /*home page*/ - .intro { /* transform: translateY(80%); */ } @@ -46,7 +44,6 @@ main { } /*apply accent colour to links*/ - a:link, a:visited { color: #555555; } @@ -66,7 +63,6 @@ a:link, a:visited { /*paginator at bottom of list view*/ - .pages { padding: 15px 0; } @@ -76,9 +72,10 @@ a:link, a:visited { } /*list item for posts and projects*/ - -.item { - padding: 10px 0; +.list-item { + display: flex; + padding-top: 5px; + margin-top: 10px; } .item-cat { @@ -97,8 +94,22 @@ a:link, a:visited { list-style-type: none; } -/*navigation bar icons*/ +.list-logo { + flex: 0 0 20%; +} +.list-content { + text-align: left; + margin-left: 10px; + flex: 1; +} + +/* project sites */ +.item-header .logo { + width: 150px; +} + +/*navigation bar icons*/ .navbar-icon { font-size: 120%; display: inline-block !important; @@ -201,8 +212,4 @@ img { .toggle-off:hover { background-color: var(--accent) !important; color: #f8f8f8 !important; -} -.list-item { - padding-top: 5px; - margin-top: 10px; -} +} \ No newline at end of file