add basic style and color to page

This commit is contained in:
Daniel Alejandro Gallegos 2022-07-28 22:02:51 -04:00
parent 8800115b41
commit 4e9fdec07f
No known key found for this signature in database
GPG key ID: E1C60F5E34937B03
5 changed files with 40 additions and 13 deletions

View file

@ -0,0 +1,23 @@
$black: #121212
$black-alt: #5d5d5d
$red: #d74c4c
$red-alt: #f086aa
$green: #82e64e
$green-alt: #4d7936
$yellow: #fcf36e
$yellow-alt: #b0aa4d
$blue: #4faaf4
$blue-alt: #2f6692
$magenta: #b87ac2
$magenta-alt: #9575cd
$cyan: #4bb5c1
$cyan-alt: #4bb5c1
$white: #eeeeee
$white-alt: #e2e2e5

View file

@ -2,4 +2,5 @@
@import "layout" @import "layout"
@import "module" @import "module"
@import "state" @import "state"
@import "colors"
@import "theme" @import "theme"

View file

@ -1,9 +1,12 @@
body body
background: #151515 background: $black
color: #eeeeee color: $white
a a
color: #33ff33 color: $green
&:hover text-decoration: none
color: Orange
&:visited &:visited
color: #33ff33 color: $green
&:hover
color: $green-alt
li
list-style-type: none

View file

@ -1,9 +1,9 @@
<ol class="crumbs"> <ol class="crumbs">
{{ template "breadcrumbnav" (dict "p1" . "p2" .) }} ~{{ template "breadcrumbnav" (dict "p1" . "p2" .) }}
</ol>{{ define "breadcrumbnav" }} {{ if .p1.Parent }} {{ template </ol>{{ define "breadcrumbnav" }}{{ if .p1.Parent }} {{ template
"breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }} {{ else if not "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }} {{ else if not
.p1.IsHome }} {{ template "breadcrumbnav" (dict "p1" .p1.Site.Home .p1.IsHome }}{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home
"p2" .p2 ) }} {{ end }} "p2" .p2 ) }}{{ end }}
<li if="" eq="" class="active" end=""> <li if="" eq="" class="active" end="">/<a href=
<a href="{{.p1.Permalink}}">{{ lower .p1.Title }}</a> "{{.p1.Permalink}}">{{ lower .p1.Title }}</a>
</li>{{ end }} </li>{{ end }}

View file

@ -4,4 +4,4 @@
<link href="{{ $style.RelPermalink }}" rel="stylesheet">{{ $title <link href="{{ $style.RelPermalink }}" rel="stylesheet">{{ $title
:= print .Title " | " .Site.Title }} {{ if .IsHome }}{{ $title = := print .Title " | " .Site.Title }} {{ if .IsHome }}{{ $title =
.Site.Title }}{{ end }} .Site.Title }}{{ end }}
<title>{{ $title }}</title> <title>{{ lower $title }}</title>