[TASK] add btn-container & improve clickability of footer links
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 5m56s
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 5m56s
This commit is contained in:
parent
893fb27d35
commit
4cbca021d4
@ -117,19 +117,34 @@ button {
|
||||
--pico-form-element-spacing-vertical: 0.25rem;
|
||||
}
|
||||
|
||||
body > footer {
|
||||
padding-block: calc(var(--pico-block-spacing-vertical) * 2);
|
||||
}
|
||||
|
||||
/* approx 800px */
|
||||
.container {
|
||||
max-width: 38rem;
|
||||
}
|
||||
|
||||
.btn-container {
|
||||
position: fixed;
|
||||
bottom: 0rem;
|
||||
right: 0rem;
|
||||
padding: 1rem;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
background: linear-gradient(180deg, transparent, var(--pico-background-color), var(--pico-background-color));
|
||||
}
|
||||
|
||||
.btn-open,
|
||||
.btn-close {
|
||||
position: fixed;
|
||||
bottom: 1rem;
|
||||
font-size: .8rem;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.btn-open {
|
||||
right: 9rem;
|
||||
}
|
||||
|
||||
.btn-close {
|
||||
right: 1rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
.par {
|
||||
@ -162,5 +177,3 @@ button {
|
||||
font-style: italic;
|
||||
padding: calc(var(--pico-spacing) / 3) 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -15,8 +15,10 @@
|
||||
</div>
|
||||
</header>
|
||||
<main class="container">
|
||||
<button class="btn-open open-js">Alles öffnen</button>
|
||||
<button class="btn-close close-js">Alles schließen</button>
|
||||
<div class="btn-container">
|
||||
<button class="btn-open open-js">Alles öffnen</button>
|
||||
<button class="btn-close close-js">Alles schließen</button>
|
||||
</div>
|
||||
<h1><mark>{{title}}</mark></h1>
|
||||
{{content}}
|
||||
</main>
|
||||
|
@ -117,19 +117,34 @@ button {
|
||||
--pico-form-element-spacing-vertical: 0.25rem;
|
||||
}
|
||||
|
||||
body > footer {
|
||||
padding-block: calc(var(--pico-block-spacing-vertical) * 2);
|
||||
}
|
||||
|
||||
/* approx 800px */
|
||||
.container {
|
||||
max-width: 38rem;
|
||||
}
|
||||
|
||||
.btn-container {
|
||||
position: fixed;
|
||||
bottom: 0rem;
|
||||
right: 0rem;
|
||||
padding: 1rem;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
background: linear-gradient(180deg, transparent, var(--pico-background-color), var(--pico-background-color));
|
||||
}
|
||||
|
||||
.btn-open,
|
||||
.btn-close {
|
||||
position: fixed;
|
||||
bottom: 1rem;
|
||||
font-size: .8rem;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.btn-open {
|
||||
right: 9rem;
|
||||
}
|
||||
|
||||
.btn-close {
|
||||
right: 1rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
.par {
|
||||
@ -162,5 +177,3 @@ button {
|
||||
font-style: italic;
|
||||
padding: calc(var(--pico-spacing) / 3) 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user