Add logo
This commit is contained in:
parent
328473e596
commit
9b04b09f33
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1022,10 +1022,55 @@ Search LOGO Login Subscribe
|
|||||||
|
|
||||||
/* 8. Header
|
/* 8. Header
|
||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
|
.gh-navigation-logo {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
color: var(--color-secondary-text)
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-mark {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-right: 5px;
|
||||||
|
height: 0.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-text {
|
||||||
|
font-size: 0.8em;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-cursor {
|
||||||
|
display: inline-block;
|
||||||
|
width: 0.4em;
|
||||||
|
height: 0.8em;
|
||||||
|
background: var(--color-secondary-text);
|
||||||
|
margin-left: 5px;
|
||||||
|
border-radius: 1px;
|
||||||
|
animation: cursor 1.5s infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.greater-icon {
|
||||||
|
width: 0.6em;
|
||||||
|
height: 0.6em;
|
||||||
|
}
|
||||||
|
.greater-icon path {
|
||||||
|
stroke: currentColor;
|
||||||
|
stroke-width: .95rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes cursor {
|
||||||
|
0% { opacity: 0; }
|
||||||
|
50% { opacity: 1; }
|
||||||
|
100% { opacity: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
#svglogo {
|
#svglogo {
|
||||||
height: 3em;
|
height: 2.5em;
|
||||||
width: 3em;
|
width: 2.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#svglogo use {
|
#svglogo use {
|
||||||
|
5
partials/components/logo.hbs
Normal file
5
partials/components/logo.hbs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{{> "icons/svglogo"}}
|
||||||
|
|
||||||
|
<span class="logo-mark">{{> "icons/greater-icon"}}</span>
|
||||||
|
<span class="logo-text">sd.ai</span>
|
||||||
|
<span class="logo-cursor"></span>
|
@ -6,7 +6,7 @@
|
|||||||
{{#if @site.logo}}
|
{{#if @site.logo}}
|
||||||
<img src="{{@site.logo}}" alt="{{@site.title}}">
|
<img src="{{@site.logo}}" alt="{{@site.title}}">
|
||||||
{{else}}
|
{{else}}
|
||||||
{{@site.title}}
|
{{> "components/logo"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
{{> "search-toggle"}}
|
{{> "search-toggle"}}
|
||||||
|
3
partials/icons/greater-icon.hbs
Normal file
3
partials/icons/greater-icon.hbs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="greater-icon" viewBox="0 0 44 44">
|
||||||
|
<path fill="none" d="M15 8l14.729 14.382L15 35.367" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 146 B |
1
partials/icons/svglogo.hbs
Normal file
1
partials/icons/svglogo.hbs
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 78 KiB |
Loading…
Reference in New Issue
Block a user