diff --git a/assets/scss/extend.scss b/assets/scss/extend.scss index 4cae0bc..be50c5d 100644 --- a/assets/scss/extend.scss +++ b/assets/scss/extend.scss @@ -1,11 +1,9 @@ :root { - --accented-border-style: var(--base0C) solid 1px; + --accented-border-style: var(--base0C) solid .1vw; color: var(--base05); } -// Base footer { - margin-bottom: 1.5em; > * { margin-top: 1em; margin-bottom: 0; @@ -35,6 +33,47 @@ footer { } } +// Custom layouts +#logo { + svg { + --size: 4em; + height: var(--size); + width: var(--size); + fill: var(--base0C); + + &:hover { + fill: var(--base08); + animation: rainbow 2s ease infinite; + } + } +} + +@keyframes rainbow { + @for $i from 0 through 8 { + #{$i * 10}% { fill: var(--base#{decToHex($i + 7)}); } + } +} + +[data-tooltip] { + &::before { + --scale: 0; + + background: var(--base01); + content: attr(data-tooltip); + font-size: 0.8em; + padding: 0.5em; + position: absolute; + transform: translateY(var(--translate-y, -50%)) scale(var(--scale)); + transform-origin: bottom center; + width: max-content; + max-width: 100%; + } + + &:hover::before { + --scale: 1; + } +} + // Prism CSS code[class*="language-"], pre[class*="language-"] { color: var(--base05); @@ -43,6 +82,11 @@ code[class*="language-"], pre[class*="language-"] { // Asciidoctor-specific styles .anchor { + border-bottom: unset; + &:hover { + border-bottom: unset; + } + &::before { content: "§"; display: inline-block; diff --git a/assets/svg/logo.svg b/assets/svg/logo.svg new file mode 100644 index 0000000..ee1ab41 --- /dev/null +++ b/assets/svg/logo.svg @@ -0,0 +1,52 @@ + + diff --git a/content/_index.adoc b/content/_index.adoc index 10dce09..d951f55 100644 --- a/content/_index.adoc +++ b/content/_index.adoc @@ -8,15 +8,14 @@ title: Homepage Hey there! I'm Gabriel Arazas (`foo-dogsquared`), a hobbyist on software development and programming, an expert in procastination, and a hack on anything else. -You can see more what's my deal on xref:about.adoc[another page] because I want to make introductions nice and brief. +You can see more what's my deal on xref:about/index.adoc[another page] because I want to make introductions nice and brief. Welcome to my small home on the deepest corners of the internet, by the way. Have a seat and take a look in my digital cavern. -.Here's my first productive digital art painting placeholder created with Krita. -image::pp.webp[width=60%] +.Here's my renewed logo. Oooh, personal branding! +image::logo.webp[My renewed logo composed of a stylized drawing of a dog, width=60%] {{< links >}} If you want the old way on getting contact with me, you can shoot an email at `foo.dogsquared{at}gmail{dot}com`. - diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index aab9455..870f559 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -45,6 +45,12 @@
{{ trim . " " | markdownify }}
{{- end }} -Generated on {{ now.Format "2006-01-02 15:04:05 -0700" }} ++Generated on {{ now.Format "2006-01-02 15:04:05 -0700" }}
+ +{{ $logo := resources.Get "svg/logo.svg" }} +