alt banner now has max width
This commit is contained in:
@@ -14,14 +14,16 @@
|
||||
</script>
|
||||
|
||||
<div class="container">
|
||||
<div class="img-container">
|
||||
<img src="{banner}">
|
||||
</div>
|
||||
<div class="text-container">
|
||||
<h1 class="title">{title}</h1>
|
||||
{#if subtitle}
|
||||
<p class="subtitle">{subtitle}</p>
|
||||
{/if}
|
||||
<div class="subcontainer">
|
||||
<div class="img-container">
|
||||
<img src="{banner}">
|
||||
</div>
|
||||
<div class="text-container">
|
||||
<h1 class="title">{title}</h1>
|
||||
{#if subtitle}
|
||||
<p class="subtitle">{subtitle}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -29,12 +31,17 @@
|
||||
|
||||
<style>
|
||||
.container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background-color: var(--color-background-highlight);
|
||||
}
|
||||
|
||||
.subcontainer {
|
||||
max-width: 1600px;
|
||||
height: 600px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
background-color: var(--color-background-highlight);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.img-container {
|
||||
|
||||
Reference in New Issue
Block a user