This commit is contained in:
Simon Detheridge 2023-10-16 18:53:40 +01:00
parent 328473e596
commit 9b04b09f33
Signed by: simon
GPG Key ID: 38640971DA1E704E
7 changed files with 59 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1022,10 +1022,55 @@ Search LOGO Login Subscribe
/* 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 {
height: 3em;
width: 3em;
height: 2.5em;
width: 2.5em;
}
#svglogo use {

View 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>

View File

@ -6,7 +6,7 @@
{{#if @site.logo}}
<img src="{{@site.logo}}" alt="{{@site.title}}">
{{else}}
{{@site.title}}
{{> "components/logo"}}
{{/if}}
</a>
{{> "search-toggle"}}

View 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

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 78 KiB