Skip to content

Commit

Permalink
⭐ polish
Browse files Browse the repository at this point in the history
  • Loading branch information
nunocoracao committed Jan 15, 2023
1 parent 21b48ee commit 537f0f7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions assets/css/compiled/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1906,6 +1906,10 @@ select {
--tw-gradient-to: transparent;
}

.to-neutral-100 {
--tw-gradient-to: rgba(var(--color-neutral-100), 1);
}

.to-neutral {
--tw-gradient-to: rgba(var(--color-neutral), 1);
}
Expand Down Expand Up @@ -2266,8 +2270,8 @@ select {
opacity: 0;
}

.opacity-70 {
opacity: 0.7;
.opacity-60 {
opacity: 0.6;
}

.opacity-30 {
Expand Down
Binary file added exampleSite/assets/img/bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion exampleSite/config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mainSections = ["docs"]

disableImageOptimization = true

defaultBackgroundImage = "/img/paint.png"
defaultBackgroundImage = "/img/bg.jpg"

highlightCurrentMenuArea = true
smartTOC = true
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/hero/background.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="absolute inset-0 bg-gradient-to-t from-neutral dark:from-neutral-800 to-transparent mix-blend-normal">
</div>
<div
class="absolute inset-0 opacity-70 bg-gradient-to-t from-neutral dark:from-neutral-800 to-neutral dark:to-neutral-800 mix-blend-normal">
class="absolute inset-0 opacity-60 bg-gradient-to-t from-neutral dark:from-neutral-800 to-neutral-100 dark:to-neutral-800 mix-blend-normal">
</div>
</div>
{{ if $shouldBlur | default false }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/home/background.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class="absolute inset-0 h-[1000px] bg-gradient-to-t from-neutral dark:from-neutral-800 to-transparent mix-blend-normal">
</div>
<div
class="opacity-70 absolute inset-0 h-[1000px] bg-gradient-to-t from-neutral dark:from-neutral-800 to-neutral dark:to-neutral-800 mix-blend-normal">
class="opacity-60 absolute inset-0 h-[1000px] bg-gradient-to-t from-neutral dark:from-neutral-800 to-neutral-100 dark:to-neutral-800 mix-blend-normal">
</div>
{{ end }}
</div>
Expand Down

0 comments on commit 537f0f7

Please sign in to comment.