docs: add style.css and logo

This commit is contained in:
technofab 2025-09-23 10:39:20 +02:00
parent 39af3af902
commit 7f7c52d383
No known key found for this signature in database
3 changed files with 20 additions and 2 deletions

View file

@ -20,12 +20,14 @@ in
};
config = {
site_name = "Rensa Core";
site_url = "https://rensa.projects.tf";
repo_name = "rensa-nix/core";
repo_url = "https://gitlab.com/rensa-nix/core";
extra_css = ["style.css"];
theme = {
logo = "images/logo.png";
logo = "images/logo.svg";
icon.repo = "simple/gitlab";
favicon = "images/favicon.png";
favicon = "images/logo.svg";
};
nav = [
{"Introduction" = "index.md";}

1
docs/images/logo.svg Executable file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="none"><rect width="100" height="100" fill="url(#a)" rx="12"/><path fill="#fff" d="M27.3 62.7H17v-1.5h1.7V38.8H17v-1.5h14l4.2.1c1.3.1 2.4.4 3.5.8 1 .5 1.8 1.2 2.4 2.3.5 1 .8 2.4.8 4.3 0 1.7-.2 3.1-.7 4.1a5 5 0 0 1-2.1 2.3c-.9.4-1.9.8-3 1v.9h1.8c.9 0 1.5.2 1.8.5.4.3.6 1 .7 1.9l.7 5.7h2.1v1.5h-9.9v-8.4h-6v8.4Zm6-11.3V40.1h-6v11.3h6ZM44 62.7v-1.5h1.8V38.8H44v-1.5h20.2v8.5h-4.6l-1.7-6.1h-3.5V49H62v2.2h-7.6v9h3.5l1.7-6.2h4.6v8.6H44ZM67 38.8v-1.5h15.4l5.6 23h1.6l-3.2-23h7.6v1.5h-1.7v23.9H78.5l-5.1-23h-1.7l2.8 23h-7.6v-1.5h1.7V38.8H67Z"/><path fill="url(#b)" fill-rule="evenodd" d="m31 39.3-16 28-3.7-6.3 4.3-7.5H7l-1.8-3.3L7.1 47h12.2l4.3-7.6H31Z" clip-rule="evenodd"/><path fill="url(#c)" fill-rule="evenodd" d="M42.2 38.9H10.6l3.6-6.5h8.5L18.5 25l1.8-3.2H24l6 10.7h8.6l3.6 6.5Z" clip-rule="evenodd"/><path fill="url(#d)" fill-rule="evenodd" d="m53.5 60.8 32.1-.3-3.7 6.4h-8.6l4.2 7.4-1.8 3.1h-3.8l-6-10.4-8.8.1-3.6-6.3Z" clip-rule="evenodd"/><path fill="url(#e)" fill-rule="evenodd" d="M47 50.5 63 78l-7.4.2-4.3-7.5-4.4 7.5h-3.7L41.4 75l6.2-10.6-4.3-7.6 3.7-6.4Z" clip-rule="evenodd"/><defs><linearGradient id="b" x1="55.8" x2="43.9" y1="48.6" y2="28.2" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#7EB1DD"/></linearGradient><linearGradient id="c" x1="45.5" x2="57.6" y1="64.6" y2="44.5" gradientUnits="userSpaceOnUse"><stop offset="1" stop-color="#5277C3"/></linearGradient><linearGradient id="d" x1="44.9" x2="53.3" y1="81.5" y2="57.2" gradientUnits="userSpaceOnUse"><stop offset="1" stop-color="#5277C3"/></linearGradient><linearGradient id="e" x1="70.2" x2="81.9" y1="64.3" y2="43.8" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#7EB1DD"/></linearGradient><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(0 50 -50 0 50 50)" gradientUnits="userSpaceOnUse"><stop offset=".5" stop-color="#091A3D"/><stop offset="1" stop-color="#000819"/></radialGradient></defs></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

15
docs/style.css Normal file
View file

@ -0,0 +1,15 @@
.md-header__button.md-logo {
margin: 0;
padding-top: .2rem;
padding-bottom: .2rem;
}
[dir="ltr"] .md-header__title {
margin-left: 0;
}
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
height: 2rem;
}