Skip to content

Commit

Permalink
Gradient spans the entire html component instead of body
Browse files Browse the repository at this point in the history
  • Loading branch information
skydread1 committed Apr 21, 2024
1 parent e4f2748 commit 85632e3
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions resources/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,20 @@

html {
font-family: Helvetica, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

body {
min-height: 100vh;
color: var(--text-secondary-color);
}

body,
header {
background-image: linear-gradient(to right, var(--bg-secondary-color) 15%, var(--bg-primary-color) 85%);
}

@media(max-width: 1024px) {

body,
header {
html {
background-image: linear-gradient(to right, var(--bg-secondary-color), var(--bg-primary-color));
}
}

body {
min-height: 100vh;
color: var(--text-secondary-color);
}

/* header section footer */

header,
Expand Down Expand Up @@ -334,7 +328,6 @@ svg:hover {
/* Header */

header {
position: sticky;
top: 0;
z-index: 1;
margin: auto;
Expand Down

0 comments on commit 85632e3

Please sign in to comment.