more navigation bar changes
This commit is contained in:
parent
82724d5ee1
commit
6ae2a19dcf
5 changed files with 545 additions and 77 deletions
|
|
@ -3,15 +3,29 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>WA2000</title>
|
<title>WA2000</title>
|
||||||
|
<link rel="icon" type="image/x-icon" href="./favicon.ico">
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||||
|
<link rel="manifest" href="/site.webmanifest">
|
||||||
<link type="text/css" rel="stylesheet" href="./style.css">
|
<link type="text/css" rel="stylesheet" href="./style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="banner">
|
<div class="banner">
|
||||||
<img src="banner.png" alt="banner" />
|
<img src="banner.png" alt="banner" />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="nav-wrap">
|
<div class="nav-wrap">
|
||||||
|
|
||||||
|
<a href="https://www.youtube.com/@universebow"
|
||||||
|
target="_blank" rel="noopener noreferrer">
|
||||||
|
<img src="./youtube.svg" target="_blank" alt="Icon description">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<div style="width: 2%;"></div>
|
||||||
|
|
||||||
<div class="nav-pill" id="nav-pill">
|
<div class="nav-pill" id="nav-pill">
|
||||||
<div class="nav-pill-bar" id="nav-pill-bar">
|
<div class="nav-pill-bar" id="nav-pill-bar">
|
||||||
<span class="nav-logo">WA2000</span>
|
<span class="nav-logo">WA2000</span>
|
||||||
|
|
@ -27,6 +41,16 @@
|
||||||
<a href="#" class="nav-link">Contact</a>
|
<a href="#" class="nav-link">Contact</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div style="width: 2%;"></div>
|
||||||
|
|
||||||
|
<a href="https://www.youtube.com/@universebow"
|
||||||
|
target="_blank" rel="noopener noreferrer">
|
||||||
|
<img src="./youtube.svg" target="_blank" alt="Icon description" width="43" height="43">
|
||||||
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="nav-placeholder" id="nav-placeholder"></div>
|
<div class="nav-placeholder" id="nav-placeholder"></div>
|
||||||
|
|
|
||||||
120
www/style.css
120
www/style.css
|
|
@ -11,6 +11,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner {
|
.banner {
|
||||||
|
position: relative;
|
||||||
width: 99%;
|
width: 99%;
|
||||||
max-height: 280px;
|
max-height: 280px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
@ -39,8 +40,8 @@ body {
|
||||||
backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
||||||
-webkit-backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
-webkit-backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 2px 8px rgba(0, 0, 0, 0.15), /* eww notification box-shadow */
|
0 2px 8px rgba(0, 0, 0, 0.15), /* eww notification box-shadow */
|
||||||
inset 0 0 2px rgba(0, 0, 0, 0.2); /* eww .box inset shadow */
|
inset 0 0 2px rgba(0, 0, 0, 0.2); /* eww .box inset shadow */
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
@ -52,17 +53,17 @@ body {
|
||||||
inset: 0;
|
inset: 0;
|
||||||
border-radius: inherit;
|
border-radius: inherit;
|
||||||
background:
|
background:
|
||||||
radial-gradient(
|
radial-gradient(
|
||||||
ellipse 60% 30% at 10% -5%,
|
ellipse 60% 30% at 10% -5%,
|
||||||
rgba(255, 255, 255, 0.35) 0%, /* brighter on light bg */
|
rgba(255, 255, 255, 0.35) 0%, /* brighter on light bg */
|
||||||
transparent 55%
|
transparent 55%
|
||||||
),
|
),
|
||||||
linear-gradient(
|
linear-gradient(
|
||||||
128deg,
|
128deg,
|
||||||
rgba(255, 255, 255, 0.20) 0%,
|
rgba(255, 255, 255, 0.20) 0%,
|
||||||
rgba(255, 255, 255, 0.08) 30%,
|
rgba(255, 255, 255, 0.08) 30%,
|
||||||
transparent 55%
|
transparent 55%
|
||||||
);
|
);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -76,8 +77,8 @@ body {
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 1px 1px 0 rgba(196, 214, 226, 0.8), /* eww border colour as rim light */
|
inset 1px 1px 0 rgba(196, 214, 226, 0.8), /* eww border colour as rim light */
|
||||||
inset -1px -1px 0 rgba(0, 0, 0, 0.08);
|
inset -1px -1px 0 rgba(0, 0, 0, 0.08);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -110,82 +111,87 @@ p {
|
||||||
|
|
||||||
/* ── Nav pill wrapper ── */
|
/* ── Nav pill wrapper ── */
|
||||||
.nav-wrap {
|
.nav-wrap {
|
||||||
align-self: stretch;
|
position: absolute;
|
||||||
|
top: -50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 6px 0; /* scaled from 8px */
|
align-items: flex-start;
|
||||||
|
padding: 6px 0;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-wrap > a {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
line-height: 0;
|
||||||
|
height: 65px; /* match .nav-pill-bar height */
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-wrap > a img {
|
||||||
|
height: 67px; /* whatever size looks right */
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-wrap.pinned {
|
.nav-wrap.pinned {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 50%;
|
||||||
right: 0;
|
transform: translateX(-50%);
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
padding: 6px 0;
|
padding: 6px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.nav-pill-bar img,
|
||||||
|
.nav-pill-bar svg {
|
||||||
|
height: 20px; /* adjust to taste */
|
||||||
|
width: auto;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pill-bar a {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
align-items: center;
|
||||||
}
|
line-height: 0; /* collapses inline whitespace that can add phantom height */
|
||||||
|
|
||||||
.nav-placeholder {
|
|
||||||
display: none;
|
|
||||||
align-self: stretch;
|
|
||||||
height: 56px; /* scaled: 44px pill + 6px + 6px padding */
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-placeholder.visible {
|
|
||||||
display: block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── The pill itself ── */
|
/* ── The pill itself ── */
|
||||||
.nav-pill {
|
.nav-pill {
|
||||||
position: relative; /* anchor for the absolute dropdown */
|
margin-top: 7px;
|
||||||
width: 160px;
|
width: 160px;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
position: relative;
|
background: rgba(242, 242, 243, 0.6); /* eww .box background */
|
||||||
z-index: 100;
|
border: 4px solid rgba(196, 214, 226, 0.9); /* eww .box border */
|
||||||
background: rgba(242, 242, 243, 0.6);
|
|
||||||
border: 4px solid rgba(196, 214, 226, 0.9);
|
|
||||||
backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
||||||
-webkit-backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
-webkit-backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 2px 8px rgba(0, 0, 0, 0.15),
|
0 2px 8px rgba(0, 0, 0, 0.15),
|
||||||
inset 0 0 2px rgba(0, 0, 0, 0.2);
|
inset 0 0 2px rgba(0, 0, 0, 0.2); /* eww inset shadow */
|
||||||
/* no overflow:hidden — that would clip the absolute dropdown */
|
overflow: hidden;
|
||||||
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-pill-bar {
|
.nav-pill-bar {
|
||||||
overflow: hidden; /* clip bar content to pill border-radius */
|
|
||||||
border-radius: inherit;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 40px;
|
height: 40px; /* scaled from 44px */
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-dropdown {
|
.nav-dropdown {
|
||||||
position: absolute; /* float over page — doesn't push content down */
|
|
||||||
top: calc(100% + 4px); /* gap between pill bar and dropdown */
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%); /* centre under the pill */
|
|
||||||
width: 100%; /* match pill width */
|
|
||||||
max-height: 0;
|
max-height: 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: rgba(242, 242, 243, 0.6);
|
|
||||||
border: 4px solid rgba(196, 214, 226, 0.9);
|
|
||||||
border-radius: 22px;
|
|
||||||
backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
|
||||||
-webkit-backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
||||||
z-index: 101;
|
|
||||||
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.22s,
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.22s,
|
||||||
opacity 0.25s ease 0.22s;
|
opacity 0.25s ease 0.22s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-pill.open {
|
.nav-pill.open {
|
||||||
|
|
@ -223,12 +229,12 @@ p {
|
||||||
|
|
||||||
.nav-pill:not(.open) .nav-dropdown {
|
.nav-pill:not(.open) .nav-dropdown {
|
||||||
transition: max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
transition: max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
opacity 0.15s ease;
|
opacity 0.15s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-pill:not(.open) {
|
.nav-pill:not(.open) {
|
||||||
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
|
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
|
||||||
border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
|
border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-divider {
|
.nav-divider {
|
||||||
|
|
|
||||||
266
www/style.css.bak
Normal file
266
www/style.css.bak
Normal file
|
|
@ -0,0 +1,266 @@
|
||||||
|
* { margin: 0; padding: 0; box-sizing: border-box; } /* Remove default browser spacing; include padding/border in element size */
|
||||||
|
|
||||||
|
body {
|
||||||
|
min-height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-start;
|
||||||
|
background: #0a0e1a url('background.png') center/cover no-repeat;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.banner {
|
||||||
|
position: relative;
|
||||||
|
width: 99%;
|
||||||
|
max-height: 280px;
|
||||||
|
overflow: hidden;
|
||||||
|
margin: 5px 5px 10px 5px;
|
||||||
|
border-radius: 25px;
|
||||||
|
display: flex;
|
||||||
|
border: 4px solid rgba(196, 214, 226, 0.9); /* eww .box border */
|
||||||
|
align-items: center; /* Vertically centre the image within the container */
|
||||||
|
}
|
||||||
|
|
||||||
|
.banner img {
|
||||||
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
object-position: center center;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
width: min(880px, 88%);
|
||||||
|
height: 320px; /* scaled from 540px proportionally for 480px monitor */
|
||||||
|
padding: 28px; /* scaled from 40px */
|
||||||
|
border-radius: 25px; /* matches eww .box border-radius */
|
||||||
|
text-align: center;
|
||||||
|
background: rgba(242, 242, 243, 0.6); /* eww .box background-color */
|
||||||
|
border: 4px solid rgba(196, 214, 226, 0.9); /* eww .box border */
|
||||||
|
backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
||||||
|
-webkit-backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
||||||
|
box-shadow:
|
||||||
|
0 2px 8px rgba(0, 0, 0, 0.15), /* eww notification box-shadow */
|
||||||
|
inset 0 0 2px rgba(0, 0, 0, 0.2); /* eww .box inset shadow */
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── Main specular: top-left corner catch ── */
|
||||||
|
.card::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
border-radius: inherit;
|
||||||
|
background:
|
||||||
|
radial-gradient(
|
||||||
|
ellipse 60% 30% at 10% -5%,
|
||||||
|
rgba(255, 255, 255, 0.35) 0%, /* brighter on light bg */
|
||||||
|
transparent 55%
|
||||||
|
),
|
||||||
|
linear-gradient(
|
||||||
|
128deg,
|
||||||
|
rgba(255, 255, 255, 0.20) 0%,
|
||||||
|
rgba(255, 255, 255, 0.08) 30%,
|
||||||
|
transparent 55%
|
||||||
|
);
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── Glass rim: inset edge highlights — matches eww border colour ── */
|
||||||
|
.card::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
border-radius: inherit;
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-image: none;
|
||||||
|
box-shadow:
|
||||||
|
inset 1px 1px 0 rgba(196, 214, 226, 0.8), /* eww border colour as rim light */
|
||||||
|
inset -1px -1px 0 rgba(0, 0, 0, 0.08);
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: clamp(24px, 5vw, 38px); /* scaled down for smaller monitor */
|
||||||
|
font-weight: 300;
|
||||||
|
line-height: 1.1;
|
||||||
|
color: rgba(35, 38, 41, 0.92); /* eww $text-color #232629 */
|
||||||
|
text-shadow: 0 0 2px rgba(0, 0, 0, 0.3); /* eww label.time text-shadow */
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 em {
|
||||||
|
font-style: italic;
|
||||||
|
color: rgba(137, 180, 250, 0.9); /* eww $primary-neon #89b4fa */
|
||||||
|
}
|
||||||
|
|
||||||
|
.divider {
|
||||||
|
width: 40px;
|
||||||
|
height: 0.5px;
|
||||||
|
background: rgba(196, 214, 226, 0.8); /* eww border colour */
|
||||||
|
margin: 16px auto; /* scaled from 22px */
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: 14px; /* scaled from 15px */
|
||||||
|
font-weight: 300;
|
||||||
|
line-height: 1.75;
|
||||||
|
color: rgba(35, 38, 41, 0.52); /* eww $text-color at reduced opacity */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── Nav pill wrapper ── */
|
||||||
|
.nav-wrap {
|
||||||
|
align-self: stretch;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: flex-start; /* add this */
|
||||||
|
padding: 6px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-wrap > a {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
line-height: 0;
|
||||||
|
height: 65px; /* match .nav-pill-bar height */
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-wrap > a img {
|
||||||
|
height: 67px; /* whatever size looks right */
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-wrap.pinned {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 100;
|
||||||
|
padding: 6px 0;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-placeholder {
|
||||||
|
display: none;
|
||||||
|
align-self: stretch;
|
||||||
|
height: 56px; /* scaled: 44px pill + 6px + 6px padding */
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-placeholder.visible {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pill-bar img,
|
||||||
|
.nav-pill-bar svg {
|
||||||
|
height: 20px; /* adjust to taste */
|
||||||
|
width: auto;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pill-bar a {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
line-height: 0; /* collapses inline whitespace that can add phantom height */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── The pill itself ── */
|
||||||
|
.nav-pill {
|
||||||
|
margin-top: 7px;
|
||||||
|
width: 160px;
|
||||||
|
border-radius: 999px;
|
||||||
|
background: rgba(242, 242, 243, 0.6); /* eww .box background */
|
||||||
|
border: 4px solid rgba(196, 214, 226, 0.9); /* eww .box border */
|
||||||
|
backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
||||||
|
-webkit-backdrop-filter: blur(8px) saturate(1.4) brightness(1.02);
|
||||||
|
box-shadow:
|
||||||
|
0 2px 8px rgba(0, 0, 0, 0.15),
|
||||||
|
inset 0 0 2px rgba(0, 0, 0, 0.2); /* eww inset shadow */
|
||||||
|
overflow: hidden;
|
||||||
|
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
|
border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pill-bar {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: 40px; /* scaled from 44px */
|
||||||
|
padding: 0 16px;
|
||||||
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-dropdown {
|
||||||
|
max-height: 0;
|
||||||
|
opacity: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.22s,
|
||||||
|
opacity 0.25s ease 0.22s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pill.open {
|
||||||
|
border-radius: 22px;
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-logo {
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: rgba(35, 38, 41, 0.88); /* eww $text-color */
|
||||||
|
letter-spacing: 0.06em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-chevron {
|
||||||
|
width: 14px;
|
||||||
|
height: 14px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Restyle chevron stroke to dark to match eww theme */
|
||||||
|
.nav-chevron polyline {
|
||||||
|
stroke: rgba(35, 38, 41, 0.7); /* eww $text-color */
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pill.open .nav-chevron {
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pill.open .nav-dropdown {
|
||||||
|
max-height: 300px;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pill:not(.open) .nav-dropdown {
|
||||||
|
transition: max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
|
opacity 0.15s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pill:not(.open) {
|
||||||
|
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
|
||||||
|
border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-divider {
|
||||||
|
height: 1px;
|
||||||
|
background: rgba(196, 214, 226, 0.8); /* eww .spacer border colour */
|
||||||
|
margin: 0 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-link {
|
||||||
|
display: block;
|
||||||
|
padding: 10px 16px;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 300;
|
||||||
|
text-align: center;
|
||||||
|
color: rgba(35, 38, 41, 0.75); /* eww $text-color */
|
||||||
|
text-decoration: none;
|
||||||
|
transition: color 0.15s ease, background 0.15s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-link:hover {
|
||||||
|
color: rgba(137, 180, 250, 1); /* eww $primary-neon on hover */
|
||||||
|
background: rgba(196, 214, 226, 0.25); /* soft eww border colour tint */
|
||||||
|
}
|
||||||
127
www/youtube.svg
Normal file
127
www/youtube.svg
Normal file
|
|
@ -0,0 +1,127 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xml:space="preserve"
|
||||||
|
width="571.19171"
|
||||||
|
height="571.19171"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||||
|
id="defs10"><linearGradient
|
||||||
|
id="linearGradient56"><stop
|
||||||
|
style="stop-color:#f4f4f4;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop56" /><stop
|
||||||
|
style="stop-color:#cadae4;stop-opacity:0;"
|
||||||
|
offset="1"
|
||||||
|
id="stop57" /></linearGradient><filter
|
||||||
|
style="color-interpolation-filters:sRGB"
|
||||||
|
id="filter47"
|
||||||
|
x="-0.31564095"
|
||||||
|
y="-0.31564095"
|
||||||
|
width="1.6312819"
|
||||||
|
height="1.6312819"><feFlood
|
||||||
|
result="flood"
|
||||||
|
in="SourceGraphic"
|
||||||
|
flood-opacity="0.333333"
|
||||||
|
flood-color="rgb(0,0,0)"
|
||||||
|
id="feFlood46" /><feGaussianBlur
|
||||||
|
result="blur"
|
||||||
|
in="SourceGraphic"
|
||||||
|
stdDeviation="31.826903"
|
||||||
|
id="feGaussianBlur46" /><feOffset
|
||||||
|
result="offset"
|
||||||
|
in="blur"
|
||||||
|
dx="0.000000"
|
||||||
|
dy="0.000000"
|
||||||
|
id="feOffset46" /><feComposite
|
||||||
|
result="comp1"
|
||||||
|
operator="in"
|
||||||
|
in="flood"
|
||||||
|
in2="offset"
|
||||||
|
id="feComposite46" /><feComposite
|
||||||
|
result="comp2"
|
||||||
|
operator="over"
|
||||||
|
in="SourceGraphic"
|
||||||
|
in2="comp1"
|
||||||
|
id="feComposite47" /></filter><filter
|
||||||
|
style="color-interpolation-filters:sRGB"
|
||||||
|
id="filter54"
|
||||||
|
x="-0.16529255"
|
||||||
|
y="-0.2361939"
|
||||||
|
width="1.3305851"
|
||||||
|
height="1.4723878"><feFlood
|
||||||
|
result="flood"
|
||||||
|
in="SourceGraphic"
|
||||||
|
flood-opacity="0.164706"
|
||||||
|
flood-color="rgb(0,0,0)"
|
||||||
|
id="feFlood53" /><feGaussianBlur
|
||||||
|
result="blur"
|
||||||
|
in="SourceGraphic"
|
||||||
|
stdDeviation="11.94747"
|
||||||
|
id="feGaussianBlur53" /><feOffset
|
||||||
|
result="offset"
|
||||||
|
in="blur"
|
||||||
|
dx="0.000000"
|
||||||
|
dy="0.000000"
|
||||||
|
id="feOffset53" /><feComposite
|
||||||
|
result="comp1"
|
||||||
|
operator="in"
|
||||||
|
in="flood"
|
||||||
|
in2="offset"
|
||||||
|
id="feComposite53" /><feComposite
|
||||||
|
result="comp2"
|
||||||
|
operator="over"
|
||||||
|
in="SourceGraphic"
|
||||||
|
in2="comp1"
|
||||||
|
id="feComposite54" /></filter><linearGradient
|
||||||
|
xlink:href="#linearGradient56"
|
||||||
|
id="linearGradient57"
|
||||||
|
x1="-10.367967"
|
||||||
|
y1="150.00002"
|
||||||
|
x2="310.36798"
|
||||||
|
y2="150.00002"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(0.9700025,0,0,0.9700025,-134.70136,66.356612)" /><filter
|
||||||
|
style="color-interpolation-filters:sRGB"
|
||||||
|
id="filter57"
|
||||||
|
x="-0.069346031"
|
||||||
|
y="-0.069346031"
|
||||||
|
width="1.1386921"
|
||||||
|
height="1.1386921"><feGaussianBlur
|
||||||
|
stdDeviation="5.7687512"
|
||||||
|
result="blur"
|
||||||
|
id="feGaussianBlur57" /></filter></defs>
|
||||||
|
<rect
|
||||||
|
width="319.73596"
|
||||||
|
height="319.73596"
|
||||||
|
fill="#fff"
|
||||||
|
ry="159.86798"
|
||||||
|
id="rect2"
|
||||||
|
style="display:inline;fill:#f2f2f2;fill-opacity:0.6;stroke-width:0.999999"
|
||||||
|
x="-117.42066"
|
||||||
|
y="241.78889"
|
||||||
|
transform="rotate(-38.967342)" /><rect
|
||||||
|
width="310.14468"
|
||||||
|
height="310.14468"
|
||||||
|
fill="#fff"
|
||||||
|
ry="155.07234"
|
||||||
|
id="rect2-6"
|
||||||
|
style="display:inline;mix-blend-mode:normal;fill:none;fill-opacity:0.6;stroke:url(#linearGradient57);stroke-width:15.3246;stroke-dasharray:none;stroke-opacity:0.9;filter:url(#filter57)"
|
||||||
|
x="-144.27332"
|
||||||
|
y="56.78466"
|
||||||
|
transform="matrix(0.72646784,-0.65599909,0.65599909,0.72646784,138.77274,138.77274)" />
|
||||||
|
<path
|
||||||
|
fill="red"
|
||||||
|
d="m 149.94643,89.300042 c 0,0 -54.21767,5e-5 -67.825582,3.536002 -7.286147,2.035817 -13.285723,8.035456 -15.321561,15.428766 -3.535921,13.60792 -3.536002,41.78881 -3.536002,41.78881 0,0 8.1e-5,28.28787 3.536002,41.68161 2.035838,7.39321 7.928262,13.2857 15.321561,15.32156 13.715064,3.64307 67.825582,3.6432 67.825582,3.6432 0,0 54.32516,-4e-5 67.93279,-3.53599 7.39335,-2.03583 13.28566,-7.82119 15.21435,-15.32157 3.64311,-13.50091 3.64321,-41.68161 3.64321,-41.68161 0,0 0.10707,-28.28809 -3.64321,-41.89601 -1.92869,-7.39331 -7.821,-13.28566 -15.21435,-15.214361 -13.60763,-3.750236 -67.93279,-3.750407 -67.93279,-3.750407 z m -17.25119,34.716808 45.11041,26.03677 -45.11041,25.92957 z"
|
||||||
|
id="path4"
|
||||||
|
style="mix-blend-mode:normal;fill:#171717;fill-opacity:1;stroke-width:0.726642;filter:url(#filter54)"
|
||||||
|
transform="matrix(1.3761936,0,0,1.3761936,79.166751,79.166816)" />
|
||||||
|
<circle
|
||||||
|
style="opacity:1;mix-blend-mode:overlay;fill:none;fill-opacity:1;stroke:#cadae4;stroke-width:23.9898;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:0.9;paint-order:normal;filter:url(#filter47)"
|
||||||
|
id="path1"
|
||||||
|
cx="150"
|
||||||
|
cy="150"
|
||||||
|
r="140"
|
||||||
|
transform="matrix(1.2505322,0,0,1.2505322,98.016035,98.016035)" /></svg>
|
||||||
|
After Width: | Height: | Size: 4.6 KiB |
45
www/youtube.svg.bak
Normal file
45
www/youtube.svg.bak
Normal file
|
|
@ -0,0 +1,45 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xml:space="preserve"
|
||||||
|
width="300"
|
||||||
|
height="300"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="YouTube_social_red_circle_(2024).svg"
|
||||||
|
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||||
|
id="defs10" /><sodipodi:namedview
|
||||||
|
id="namedview8"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#000000"
|
||||||
|
borderopacity="0.25"
|
||||||
|
inkscape:showpageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="1.25"
|
||||||
|
inkscape:cx="142.4"
|
||||||
|
inkscape:cy="150.8"
|
||||||
|
inkscape:window-width="1187"
|
||||||
|
inkscape:window-height="582"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg6" />
|
||||||
|
<rect
|
||||||
|
width="300"
|
||||||
|
height="300"
|
||||||
|
fill="#fff"
|
||||||
|
ry="150"
|
||||||
|
id="rect2"
|
||||||
|
style="fill:#ff0033;fill-opacity:1" />
|
||||||
|
<path
|
||||||
|
fill="red"
|
||||||
|
d="M149.93750587 79.22267364s-63.21885.000059-79.08593926 4.12304707c-8.49578714 2.37380204-15.49140825 9.36950015-17.86523429 17.99023729-4.12295306 15.86710025-4.12304706 48.72656078-4.12304706 48.72656078s.000094 32.98420052 4.12304706 48.60156077c2.37382604 8.62062014 9.24450615 15.49138025 17.86523429 17.86524029 15.99203025 4.24788007 79.08593926 4.24804007 79.08593926 4.24804007s63.34418101-.00005 79.21094127-4.12304007c8.62079014-2.37381004 15.49133025-9.11966015 17.74023028-17.86524029 4.24793007-15.74232025 4.24805007-48.60156077 4.24805007-48.60156077s.12484-32.98446053-4.24805007-48.85156078c-2.24890003-8.62073714-9.11944014-15.49133425-17.74023028-17.74023729-15.86676026-4.37284707-79.21094127-4.37304707-79.21094127-4.37304707zm-20.11523032 40.48046465 52.59961084 30.35938049-52.59961084 30.23438048v-60.59376097z"
|
||||||
|
id="path4"
|
||||||
|
style="fill:#ffffff;fill-opacity:1" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2 KiB |
Loading…
Add table
Add a link
Reference in a new issue