Flagen Hintergrund Styling

This commit is contained in:
mikka 2026-05-16 10:41:56 +02:00
parent 661c703dd7
commit 916553ad47
3 changed files with 8 additions and 7 deletions

View file

@ -1,10 +1,10 @@
<style>
#flex-container {
border: 1px solid black;
border-radius: 0.25rem;
overflow: auto;
scroll-snap-type: x mandatory;
display: flex;
border: none;
gap: 5px;
}
article {
flex-wrap: row nowrap;
@ -18,10 +18,9 @@
text-align: center;
}
article {
border: 2px solid;
border-radius: 15px;
border-color: black;
background-size: contain;
box-sizing: border-box;
filter: drop-shadow(6px 6px -10px white);
width: 100%;
padding: 20px;
}

View file

@ -1,4 +1,4 @@
{% if karte.backimg and flag %}
{% if karte.backimg %}
<style>
#{{karte.wikiid}} {
background-image: url("{{karte.backimg}}");