mirror of
https://github.com/danbee/danbarber.me.hugo.git
synced 2025-03-04 08:59:18 +00:00
Add colourful logo
This commit is contained in:
parent
fa170247bd
commit
0400a75b18
22
assets/sass/components/_logo.scss
Normal file
22
assets/sass/components/_logo.scss
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
.logo__wrapper {
|
||||||
|
width: 140px;
|
||||||
|
line-height: 0;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo__color_1 {
|
||||||
|
fill: #ff6800;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo__color_2 {
|
||||||
|
fill: #e8ff00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo__color_3 {
|
||||||
|
fill: #00a9ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo__color_4 {
|
||||||
|
fill: #b346e2;
|
||||||
|
}
|
||||||
|
|
||||||
@ -7,6 +7,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site-header__container {
|
||||||
|
@include container;
|
||||||
|
}
|
||||||
|
|
||||||
.site-header__home-link {
|
.site-header__home-link {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -38,6 +38,7 @@
|
|||||||
@import "components/posts";
|
@import "components/posts";
|
||||||
@import "components/post";
|
@import "components/post";
|
||||||
@import "components/photos";
|
@import "components/photos";
|
||||||
|
@import "components/logo";
|
||||||
|
|
||||||
// 7. Utilities – utilities and helper classes with ability to override
|
// 7. Utilities – utilities and helper classes with ability to override
|
||||||
// anything which goes before in the triangle, eg. hide helper class
|
// anything which goes before in the triangle, eg. hide helper class
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
<header class="site-header" role="banner">
|
<header class="site-header" role="banner">
|
||||||
<div class="container">
|
<div class="site-header__container">
|
||||||
<h1><a class="site-header__home-link" href="/">{{.Site.Title}}</a></h1>
|
<h1 class="logo__wrapper">
|
||||||
|
<a class="site-header__home-link" href="/">{{ partial "logo.svg" . }}</a>
|
||||||
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
1
layouts/partials/logo.svg
Normal file
1
layouts/partials/logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 36 KiB |
@ -1,5 +1,5 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section class="photos outer">
|
<section class="photos">
|
||||||
<div class="photos__container">
|
<div class="photos__container">
|
||||||
{{ range (.Paginator 24).Pages }}
|
{{ range (.Paginator 24).Pages }}
|
||||||
<article class="photos__thumb-container">
|
<article class="photos__thumb-container">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user