header : move fixed positioning to header tag for correct offsetHeight closes #65
All checks were successful
Deploy / Deploy to Production (push) Successful in 22s
All checks were successful
Deploy / Deploy to Production (push) Successful in 22s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e73d8de1f3
commit
a933745dd4
3 changed files with 11 additions and 9 deletions
|
|
@ -117,6 +117,7 @@ tabs:
|
||||||
label: Vignette
|
label: Vignette
|
||||||
type: files
|
type: files
|
||||||
required: true
|
required: true
|
||||||
|
translate: false
|
||||||
layout: cards
|
layout: cards
|
||||||
size: small
|
size: small
|
||||||
max: 1
|
max: 1
|
||||||
|
|
|
||||||
|
|
@ -81,13 +81,15 @@
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.navbar {
|
header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
|
|
||||||
z-index: var(--z-header);
|
z-index: var(--z-header);
|
||||||
|
}
|
||||||
|
.navbar {
|
||||||
|
transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
|
||||||
font-family: "Danzza";
|
font-family: "Danzza";
|
||||||
font-size: var(--font-size-paragraph);
|
font-size: var(--font-size-paragraph);
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,8 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
cursor: pointer;
|
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
background: rgba(13, 14, 34, 0.90);
|
background: rgba(13, 14, 34, 0.9);
|
||||||
backdrop-filter: blur(5px);
|
backdrop-filter: blur(5px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -41,9 +40,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-body .iframe-click-overlay[data-state="ended"] {
|
.article-body .iframe-click-overlay[data-state="ended"] {
|
||||||
background: rgba(13, 14, 34, 0.10);
|
background: rgba(13, 14, 34, 0.1);
|
||||||
backdrop-filter: none;
|
backdrop-filter: none;
|
||||||
border: 2px solid #4DFCA1;
|
border: 2px solid #4dfca1;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -57,7 +56,7 @@
|
||||||
.article-body .play-icon {
|
.article-body .play-icon {
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
background: linear-gradient(135deg, #4DFCA1 0%, #04fea0 100%);
|
background: linear-gradient(135deg, #4dfca1 0%, #04fea0 100%);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
@ -87,7 +86,7 @@
|
||||||
.article-body .iframe-click-overlay[data-state="ended"] .overlay-message {
|
.article-body .iframe-click-overlay[data-state="ended"] .overlay-message {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #4DFCA1;
|
color: #4dfca1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-body .iframe-deactivate-btn {
|
.article-body .iframe-deactivate-btn {
|
||||||
|
|
@ -112,7 +111,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-body .iframe-deactivate-btn:hover {
|
.article-body .iframe-deactivate-btn:hover {
|
||||||
background: #4DFCA1;
|
background: #4dfca1;
|
||||||
color: black;
|
color: black;
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue