From: CrawKatt Date: Mon, 30 Jan 2023 17:15:22 +0000 (-0300) Subject: agregada imagen de salamadra en css X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=3497e69adf51be5dc1a4c4a5c1f293a57013f61d;p=salamandradevs.site%2F.git agregada imagen de salamadra en css --- diff --git a/themes/droda/assets/css/main.css b/themes/droda/assets/css/main.css index f67a087..b300de9 100644 --- a/themes/droda/assets/css/main.css +++ b/themes/droda/assets/css/main.css @@ -112,6 +112,11 @@ main { grid-area: main; padding: 2rem; background-color: var(--bgColorMidDark); + background-image: url('../images/salamandra.svg'); + background-size: 10rem; + background-position-x: right; + background-position-y: bottom; + background-repeat: no-repeat; } main hr { @@ -155,15 +160,7 @@ footer { background-color: var(--bgColorLightDark); } -.bg-logo { - background-image: url('../images/salamandra.svg'); - background-attachment: fixed; - background-size: cover; - background-position: center; -} - .greetings { - background-color: var(--bgColorMidDark); width: 80%; height: 80%; margin: 0 auto; diff --git a/themes/droda/layouts/_default/baseof.html b/themes/droda/layouts/_default/baseof.html index d161c88..b3727b4 100644 --- a/themes/droda/layouts/_default/baseof.html +++ b/themes/droda/layouts/_default/baseof.html @@ -10,19 +10,19 @@ {{ "" | safeHTML }} {{ $homeStyles := resources.Get "css/main.css"}} + {{ "" | safeHTML }} + {{ $mainScript := resources.Get "js/main.js" }} + + {{ "" | safeHTML }} + {{ range .Site.Params.plugins.js }} + + {{ end }} {{ partial "aside.html" . }} {{ partial "navbar.html" . }} {{ block "main" . }}{{ end }} {{ partial "footer.html" . }} -