|
|
|
@ -1,27 +1,111 @@ |
|
|
|
|
<!doctype html> |
|
|
|
|
|
|
|
|
|
<html> |
|
|
|
|
<html lang="en" dir="ltr"> |
|
|
|
|
<head> |
|
|
|
|
<meta charset="utf-8"> |
|
|
|
|
|
|
|
|
|
<script src="/alpine.js"></script> |
|
|
|
|
<title>Bandolier2</title> |
|
|
|
|
|
|
|
|
|
<style> |
|
|
|
|
@import "/open-props.min.css"; |
|
|
|
|
@import "/normalize.min.css"; |
|
|
|
|
|
|
|
|
|
body { |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
section { |
|
|
|
|
min-width: 1080px; |
|
|
|
|
align-self: center; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
header { |
|
|
|
|
display: grid; |
|
|
|
|
align-items: center; |
|
|
|
|
grid-template-columns: 1fr 1fr; |
|
|
|
|
background: var(--grape-0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
blockquote { |
|
|
|
|
--_accent-1: var(--lime-5); |
|
|
|
|
--_accent-2: var(--lime-4); |
|
|
|
|
--_bg: var(--surface-2); |
|
|
|
|
--_ink: var(--text-1); |
|
|
|
|
.hero { |
|
|
|
|
padding: var(--size-10); |
|
|
|
|
display: grid; |
|
|
|
|
gap: var(--size-5); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.hero-message { |
|
|
|
|
display: grid; |
|
|
|
|
grid-template-columns: max-content; |
|
|
|
|
color: var(--gray-9); |
|
|
|
|
line-height: var(--font-lineheight-0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.hero-message > div:last-child { |
|
|
|
|
color: var(--indigo-7); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.under-hero { |
|
|
|
|
color: var(--gray-7); |
|
|
|
|
font-size: var(--font-size-4); |
|
|
|
|
margin-block-end: var(--size-3); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
color: var(--_ink); |
|
|
|
|
border-color: var(--_accent-2); |
|
|
|
|
background-color: var(--_bg); |
|
|
|
|
justify-self: flex-start; |
|
|
|
|
.button-list { |
|
|
|
|
display: flex; |
|
|
|
|
gap: var(--size-3); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
button { |
|
|
|
|
background: white; |
|
|
|
|
color: var(--indigo-8); |
|
|
|
|
font-size: var(--font-size-3); |
|
|
|
|
padding-inline: var(--size-8); |
|
|
|
|
padding-block: var(--size-3); |
|
|
|
|
border-radius: var(--radius-2); |
|
|
|
|
box-shadow: var(--shadow-2); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
button.primary { |
|
|
|
|
background: var(--indigo-8); |
|
|
|
|
text-shadow: 0 1px 0 var(--indigo-9); |
|
|
|
|
color: white; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
button.primary:hover { |
|
|
|
|
background: var(--indigo-7); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.promo-art { |
|
|
|
|
align-self: stretch; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.promo-art > img { |
|
|
|
|
block-size: 100%; |
|
|
|
|
object-fit: cover; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
|
<head> |
|
|
|
|
<body> |
|
|
|
|
<header> |
|
|
|
|
<section class="hero"> |
|
|
|
|
<h1 class="hero-message"> |
|
|
|
|
<div>Hero layout with</div> |
|
|
|
|
<div>Open Props</div> |
|
|
|
|
</h1> |
|
|
|
|
<p class="under-hero">Lorem ipsum dolor sit amet consectetu adipisicing elit. Nemo in doloremque quam, voluptatibus eum voluptatum.</p> |
|
|
|
|
<div class="button-list"> |
|
|
|
|
<button class="primary">Get started</button> |
|
|
|
|
<button>Live demo</button> |
|
|
|
|
</div> |
|
|
|
|
</section> |
|
|
|
|
<picture class="promo-art"> |
|
|
|
|
<img src="https://doodleipsum.com/700x700/outline?bg=3b5bdb" height="800" width="800" alt="a random doodle"> |
|
|
|
|
</picture> |
|
|
|
|
</header> |
|
|
|
|
|
|
|
|
|
<section> |
|
|
|
|
<h1>Test!</h1> |
|
|
|
|
<div x-data="{ open: false }"> |
|
|
|
|
<button @click="open = !open">Expand</button> |
|
|
|
@ -33,5 +117,6 @@ blockquote { |
|
|
|
|
<blockquote> |
|
|
|
|
One day I will learn how to run without falling. |
|
|
|
|
</blockquote> |
|
|
|
|
</section> |
|
|
|
|
</body> |
|
|
|
|
</html> |
|
|
|
|