Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b1d8ad199 | |||
| b45480d073 | |||
| 42e08bdb7e | |||
| 1ee89a9b1e | |||
| 09772ff1a5 | |||
| 4323fd87c6 |
+15
-9
@@ -190,7 +190,8 @@
|
|||||||
--shadow-button-active: inset 0px -1px 2px rgba(0, 0, 0, 0.16), inset 0px 1px 4px rgba(0, 0, 0, 0.28), var(--shadow-box);
|
--shadow-button-active: inset 0px -1px 2px rgba(0, 0, 0, 0.16), inset 0px 1px 4px rgba(0, 0, 0, 0.28), var(--shadow-box);
|
||||||
|
|
||||||
--border: #d8d8d8;
|
--border: #d8d8d8;
|
||||||
--overlay: rgb(12 12 12 / 0.24);
|
--header-offset: 6.5rem;
|
||||||
|
--overlay: rgb(12 12 12 / 0.8);
|
||||||
--panel: rgb(255 255 255 / 0.76);
|
--panel: rgb(255 255 255 / 0.76);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -208,6 +209,7 @@ html,
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: var(--color-background);
|
background: var(--color-background);
|
||||||
|
scroll-padding-top: 8rem; /* https://tetralogical.com/blog/2023/06/08/focus-in-view/ */
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@@ -235,7 +237,6 @@ h4,
|
|||||||
h5,
|
h5,
|
||||||
h6,
|
h6,
|
||||||
p {
|
p {
|
||||||
scroll-margin-top: 132px;
|
|
||||||
width: clamp(min(100%, 40ch), 50ch, min(100%, 60ch));
|
width: clamp(min(100%, 40ch), 50ch, min(100%, 60ch));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -371,10 +372,10 @@ a:hover {
|
|||||||
text-decoration-thickness: 0.175rem;
|
text-decoration-thickness: 0.175rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
/* a:visited {
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
text-decoration-thickness: 0.175rem;
|
text-decoration-thickness: 0.175rem;
|
||||||
}
|
} */
|
||||||
|
|
||||||
button, .button-primary, .button-secondary, .menu-button, .logo {
|
button, .button-primary, .button-secondary, .menu-button, .logo {
|
||||||
appearance: none;
|
appearance: none;
|
||||||
@@ -425,6 +426,7 @@ button, .button-primary, .logo {
|
|||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (hover: hover) {
|
||||||
button:hover, .button-primary:hover, .button-secondary:hover, .logo:hover {
|
button:hover, .button-primary:hover, .button-secondary:hover, .logo:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
@@ -439,11 +441,12 @@ button:hover, .button-primary:hover, .logo:hover {
|
|||||||
background: var(--color-button-secondary-hover);
|
background: var(--color-button-secondary-hover);
|
||||||
color: var(--color-text-button-secondary-hover);
|
color: var(--color-text-button-secondary-hover);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
button:active, .button-primary:active, .button-secondary:active, .logo:active {
|
button:active, .button-primary:active, .button-secondary:active, .logo:active {
|
||||||
box-shadow: var(--shadow-button-active);
|
box-shadow: var(--shadow-button-active);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transform: scale(1.05);
|
transform: scale(1.00);
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active, .button-primary:active, .logo:active {
|
button:active, .button-primary:active, .logo:active {
|
||||||
@@ -456,7 +459,7 @@ button:active, .button-primary:active, .logo:active {
|
|||||||
color: var(--color-text-button-secondary-active);
|
color: var(--color-text-button-secondary-active);
|
||||||
}
|
}
|
||||||
|
|
||||||
button:visited, .button-primary:visited, .logo:visited {
|
/* button:visited, .button-primary:visited, .logo:visited {
|
||||||
background: var(--color-button-primary);
|
background: var(--color-button-primary);
|
||||||
color: var(--color-text-button-primary);
|
color: var(--color-text-button-primary);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -466,7 +469,7 @@ button:visited, .button-primary:visited, .logo:visited {
|
|||||||
background: var(--color-button-secondary);
|
background: var(--color-button-secondary);
|
||||||
color: var(--color-text-button-secondary);
|
color: var(--color-text-button-secondary);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
} */
|
||||||
|
|
||||||
.button-primary span {
|
.button-primary span {
|
||||||
margin-right: 0.3em;
|
margin-right: 0.3em;
|
||||||
@@ -496,6 +499,9 @@ button:visited, .button-primary:visited, .logo:visited {
|
|||||||
76%,
|
76%,
|
||||||
light-dark(var(--gradient-stop-4-light), var(--gradient-stop-4-dark)) 100%
|
light-dark(var(--gradient-stop-4-light), var(--gradient-stop-4-dark)) 100%
|
||||||
);
|
);
|
||||||
|
/* background: rgb(255 255 255 / 0.88); */
|
||||||
|
/* backdrop-filter: blur(10px);
|
||||||
|
-webkit-backdrop-filter: blur(10px); */
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-bar {
|
.menu-bar {
|
||||||
@@ -617,8 +623,8 @@ button:visited, .button-primary:visited, .logo:visited {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
background: var(--overlay);
|
background: var(--overlay);
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(6px);
|
||||||
-webkit-backdrop-filter: blur(10px);
|
-webkit-backdrop-filter: blur(6px);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
transition: opacity 0.25s ease;
|
transition: opacity 0.25s ease;
|
||||||
|
|||||||
@@ -86,12 +86,6 @@
|
|||||||
aria-label="Mobile navigation"
|
aria-label="Mobile navigation"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
>
|
>
|
||||||
<div class="mobile-menu__header">
|
|
||||||
<strong>Menu</strong>
|
|
||||||
<button class="menu-close" id="menuClose" type="button" aria-label="Close menu">
|
|
||||||
Close
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<nav aria-label="Mobile navigation">
|
<nav aria-label="Mobile navigation">
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user