add basic style and color to page
This commit is contained in:
parent
8800115b41
commit
4e9fdec07f
5 changed files with 40 additions and 13 deletions
23
themes/birdspace/assets/css/colors.sass
Normal file
23
themes/birdspace/assets/css/colors.sass
Normal 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
|
|
@ -2,4 +2,5 @@
|
|||
@import "layout"
|
||||
@import "module"
|
||||
@import "state"
|
||||
@import "colors"
|
||||
@import "theme"
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
body
|
||||
background: #151515
|
||||
color: #eeeeee
|
||||
background: $black
|
||||
color: $white
|
||||
a
|
||||
color: #33ff33
|
||||
&:hover
|
||||
color: Orange
|
||||
color: $green
|
||||
text-decoration: none
|
||||
&:visited
|
||||
color: #33ff33
|
||||
color: $green
|
||||
&:hover
|
||||
color: $green-alt
|
||||
li
|
||||
list-style-type: none
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<ol class="crumbs">
|
||||
{{ template "breadcrumbnav" (dict "p1" . "p2" .) }}
|
||||
~{{ template "breadcrumbnav" (dict "p1" . "p2" .) }}
|
||||
</ol>{{ define "breadcrumbnav" }}{{ if .p1.Parent }} {{ template
|
||||
"breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }} {{ else if not
|
||||
.p1.IsHome }}{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home
|
||||
"p2" .p2 ) }}{{ end }}
|
||||
<li if="" eq="" class="active" end="">
|
||||
<a href="{{.p1.Permalink}}">{{ lower .p1.Title }}</a>
|
||||
<li if="" eq="" class="active" end="">/<a href=
|
||||
"{{.p1.Permalink}}">{{ lower .p1.Title }}</a>
|
||||
</li>{{ end }}
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
<link href="{{ $style.RelPermalink }}" rel="stylesheet">{{ $title
|
||||
:= print .Title " | " .Site.Title }} {{ if .IsHome }}{{ $title =
|
||||
.Site.Title }}{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
<title>{{ lower $title }}</title>
|
||||
|
|
Reference in a new issue