Skip to content

Commit

Permalink
i
Browse files Browse the repository at this point in the history
  • Loading branch information
i1li committed Nov 28, 2024
1 parent 52825c0 commit c4720dc
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 36 deletions.
2 changes: 0 additions & 2 deletions dist/bundle-29145.css

This file was deleted.

2 changes: 2 additions & 0 deletions dist/bundle-ecfb9.css

Large diffs are not rendered by default.

File renamed without changes.
2 changes: 1 addition & 1 deletion dist/index.html

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions src/css/background.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,7 @@
left: 0;
border-radius:0;
}
#bottom {
position:fixed;
z-index: 1000;
bottom:0;
left: 0;
border-radius:0;
width: 100%;
height: 2.5%;
background: linear-gradient(to top,
rgba(128, 128, 128, 1) 0%,
rgba(128, 128, 128, 0.05) 100%);
mix-blend-mode: color-burn;
}
#top {
#bg-frame-top {
position:fixed;
z-index: 1000;
top:0;
Expand All @@ -76,32 +63,45 @@
height: 2.2%;
background: linear-gradient(to bottom,
rgba(128, 128, 128, .65) 0%,
rgba(128, 128, 128, 0.1) 100%);
rgba(128, 128, 128, 0) 100%);
mix-blend-mode: color-burn;
}
#left {
#bg-frame-right {
position:fixed;
z-index: 1000;
top:0;
left: 0;
right: 0;
border-radius:0;
width: 1.5%;
height: 100%;
background: linear-gradient(to right,
background: linear-gradient(to left,
rgba(128, 128, 128, .55) 0%,
rgba(128, 128, 128, 0.1) 100%);
rgba(128, 128, 128, 0) 100%);
mix-blend-mode: color-burn;
}
#right {
#bg-frame-bottom {
position:fixed;
z-index: 1000;
bottom:0;
left: 0;
border-radius:0;
width: 100%;
height: 2.5%;
background: linear-gradient(to top,
rgba(128, 128, 128, 1) 0%,
rgba(128, 128, 128, 0.05) 100%);
mix-blend-mode: color-burn;
}
#bg-frame-left {
position:fixed;
z-index: 1000;
top:0;
right: 0;
left: 0;
border-radius:0;
width: 1.5%;
height: 100%;
background: linear-gradient(to left,
background: linear-gradient(to right,
rgba(128, 128, 128, .55) 0%,
rgba(128, 128, 128, 0.1) 100%);
rgba(128, 128, 128, 0) 100%);
mix-blend-mode: color-burn;
}
}
18 changes: 10 additions & 8 deletions src/css/style.css
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
* {border-radius:.3em; scrollbar-color: rgba(22,222,222,.7) rgba(0,0,72,.7); overscroll-behavior: none; scroll-behavior: smooth; scroll-snap-type: none;}
header:hover {background: linear-gradient(to bottom, rgba(0, 222, 0, .15), rgba(128, 22, 128, 0.3));}
header:hover {background: linear-gradient(to bottom, rgba(255, 0, 0, .4) 0%, rgba(0, 222, 0, .15) 8%, rgba(128, 22, 128, 0.3) 96%, rgba(255, 0, 0, .4) 100%);}
header {position: sticky;
top: 0;
height: 5em;
width: 95%;
margin:auto;
z-index: 1;
padding-top: 1em;
padding: 1em 0 0 0;
transition: all .45s;
overflow: hidden;
border-bottom: solid 2px rgba(0,0,255,.25);
border-left: solid 2px rgba(255,0,0,.15);
border-right: solid 2px rgba(111,0,111,.4);
border-radius: 0 0 2em 2em;
background: linear-gradient(to top, rgba(0, 22, 0, .3), rgba(128, 0, 128, 0.2));
background: linear-gradient(to top, rgba(255, 0, 0, .25) 0%, rgba(0, 22, 0, .3) 4%, rgba(128, 0, 128, 0.2) 92%, rgba(0, 0, 255, .5) 100%);
backdrop-filter: brightness(115%) contrast(90%) saturate(270%);}
.scrolled-down:hover {background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(128, 128, 128, 0.6)); opacity: 1;}
.scrolled-down h1 {font-size: 140%; position: absolute; left:0; filter: drop-shadow(0 0 1rem white);}
.scrolled-down .img-header {height: 2.9rem; filter: drop-shadow(0 0 1rem rgba(127, 127, 127, 0.45))}
.scrolled-down #site-title-text {opacity: .33;}
.scrolled-down #site-title-text {margin-left:-.2em; opacity: .33;}
.scrolled-down #toolbar {opacity:.7;
position: absolute;
top: .2em;
Expand All @@ -30,11 +30,13 @@ header {position: sticky;
opacity: .8;
padding-top:0;
backdrop-filter: blur(.07em) brightness(90%) contrast(115%) saturate(115%);
background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(128, 128, 128, 0.1));
background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(128, 128, 128, 0.1) 99%, rgba(128, 128, 128, .75) 100%);
min-width: 97%;
overflow-x: hidden;
border-radius: 0 0 1em 1em;
border:none;}
border-bottom: none;
border-left: solid 2px rgba(255,0,0,.15);
border-right: solid 2px rgba(111,0,111,.4);
border-radius: 0 0 1em 1em;}
#toolbar {opacity:.8;
position: absolute;
text-align: right;
Expand All @@ -43,7 +45,7 @@ header {position: sticky;
font-size: 120%;
transition: all .2s ease-in-out;
z-index: 2;}
#site-title {display: flex; align-items: center; position:absolute; left: 5%;} .scrolled-down #site-title {left: 1%; margin-top: -.25em;}
#site-title {margin-left:-.1em; display: flex; align-items: center;} .scrolled-down #site-title {margin-top: -.25em;}
#site-title-text:hover {opacity:.77;}
#site-title-text {opacity:.55;}
.img-header {height: 4rem; transition: all 1s ease;
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="/yt/youtube-embed.css">
</head><body>
<div id="bg-wrapper"><div id="bg-img"><div id="bg-wrapper2"><div id="bg-wrapper3"></div></div></div></div>
<div id="bg"><div id="shift-layer1"><div id="shift-layer2"></div></div></div><div id="bottom"></div><div id="top"></div><div id="left"></div><div id="right"></div>
<div id="bg"><div id="shift-layer1"><div id="shift-layer2"></div></div></div><div id="bg-frame-top"></div><div id="bg-frame-right"></div><div id="bg-frame-bottom"></div><div id="bg-frame-left"></div>

<span id="toTop" onclick="goToTop()" title="Go to top"><img alt="Go to top" class="to-top" decoding="async" src="/img/top.png"></span>

Expand Down

0 comments on commit c4720dc

Please sign in to comment.