diff options
author | vjeantet <valere.jeantet@gmail.com> | 2020-07-27 03:06:07 +0300 |
---|---|---|
committer | vjeantet <valere.jeantet@gmail.com> | 2020-07-27 03:06:07 +0300 |
commit | 4f62d41190ccb05f49c4c29d6ab3988851a75e12 (patch) | |
tree | 6190b39c489a98cd2b7d78d98f7fc7b5c41f7937 | |
parent | a426260529c38c7ca5d45e76de6785e8ab979c58 (diff) |
fix colors
-rw-r--r-- | assets/sass/main.scss | 27 | ||||
-rw-r--r-- | exampleSite/resources/_gen/assets/scss/sass/main.scss_9fd32d87d247ca96761d3cae485087fe.content | 12 | ||||
-rw-r--r-- | layouts/partials/body-article-content.html | 10 |
3 files changed, 28 insertions, 21 deletions
diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 9998141..b706116 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -39,7 +39,7 @@ body{ color: $c_dark3;
a{
- color: $c_saturate7;
+ color: $c_dark4;
text-decoration: none;
background-color: transparent;
}
@@ -56,7 +56,7 @@ body{ justify-content: space-between;
align-items: stretch ;
-color:$c_dark1;
+ color:$c_dark1;
.logo {
display: flex;
@@ -66,13 +66,12 @@ color:$c_dark1; align-items: stretch ;
font-size: 100%;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
*{
vertical-align: middle;
-
}
img {
@@ -115,7 +114,7 @@ color:$c_dark1; a {
- color:$c_dark1;
+ color:$c_saturate2;
padding: 0 1rem;
font-weight: bold;
font-size: 90%;
@@ -149,15 +148,15 @@ color:$c_dark1; padding-left:2px;
.TableOfContents {
font-weight:500;
-> *{
- margin-left:5px;
-}
+ > *{
+ margin-left:5px;
+ }
label{
font-weight:700;
letter-spacing: -1px;
display: block;
margin-bottom: 14px;
- border-bottom: 1px dotted $c_saturate3;
+ border-bottom: 1px dotted $c_light1;
color:$c_dark2;
font-variant: small-caps;
}
@@ -167,7 +166,7 @@ color:$c_dark1; ul{
padding: 0px 0px 0px 14px;
margin: 0px 0px 0px 0px;
- border-left: 1px solid $c_saturate3;
+ border-left: 1px solid $c_light2;
li{
font-size: 90%;
}
@@ -219,8 +218,8 @@ article section.page { }
a {
color: $c_dark3;
- border-bottom: 1px solid $c_dark1;
- padding-bottom: 2px;
+ border-bottom: 1px dotted $c_saturate1;
+ padding-bottom: 4px;
padding-right: 0px;
}
diff --git a/exampleSite/resources/_gen/assets/scss/sass/main.scss_9fd32d87d247ca96761d3cae485087fe.content b/exampleSite/resources/_gen/assets/scss/sass/main.scss_9fd32d87d247ca96761d3cae485087fe.content index 734d258..dc9af9f 100644 --- a/exampleSite/resources/_gen/assets/scss/sass/main.scss_9fd32d87d247ca96761d3cae485087fe.content +++ b/exampleSite/resources/_gen/assets/scss/sass/main.scss_9fd32d87d247ca96761d3cae485087fe.content @@ -5,7 +5,7 @@ body { line-height: 1.5; color: black; } body a { - color: #b30000; + color: black; text-decoration: none; background-color: transparent; } body header { @@ -57,7 +57,7 @@ body { font-size: 1.5rem; margin-right: 0.5rem; } body header nav.shortcuts li a { - color: #4d4d4d; + color: #b30000; padding: 0 1rem; font-weight: bold; font-size: 90%; } @@ -81,7 +81,7 @@ body { letter-spacing: -1px; display: block; margin-bottom: 14px; - border-bottom: 1px dotted #b30000; + border-bottom: 1px dotted #999999; color: #272626; font-variant: small-caps; } body article section.right-menu .TableOfContents nav > ul { @@ -90,7 +90,7 @@ body { body article section.right-menu .TableOfContents nav > ul ul { padding: 0px 0px 0px 14px; margin: 0px 0px 0px 0px; - border-left: 1px solid #b30000; } + border-left: 1px solid #e6e6e6; } body article section.right-menu .TableOfContents nav > ul ul li { font-size: 90%; } body article section.right-menu .TableOfContents ul { @@ -123,8 +123,8 @@ article section.page #breadcrumb { content: "⊸"; } article section.page #breadcrumb ol li a { color: black; - border-bottom: 1px solid #4d4d4d; - padding-bottom: 2px; + border-bottom: 1px dotted #b30000; + padding-bottom: 4px; padding-right: 0px; } article section.page #breadcrumb ol li.active:after { display: inline-block; diff --git a/layouts/partials/body-article-content.html b/layouts/partials/body-article-content.html index 1de2b7c..d9ae492 100644 --- a/layouts/partials/body-article-content.html +++ b/layouts/partials/body-article-content.html @@ -58,7 +58,15 @@ {{ define "breadcrumbnav" }}
{{ if .p1.Parent }}
- {{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }}
+ {{ if .p1.Parent.IsHome}}
+ <li class="breadcrumb-item ">
+ <a class="text-link" href="{{.p1.Site.BaseURL}}">
+ Home
+ </a>
+ </li>
+ {{else}}
+ {{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }}
+ {{end}}
{{ else if not .p1.IsHome }}
{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
{{ end }}
|