1
1
---
2
- import type { Props } from ' @astrojs/starlight/props'
3
- import CallToAction from ' @astrojs/starlight/components/CallToAction.astro'
4
- import { Code } from ' @astrojs/starlight/components'
5
- import { Content as Tagline } from ' ./tagline.md'
2
+ import type { Props } from ' @astrojs/starlight/props' ;
3
+ import CallToAction from ' @astrojs/starlight/components/CallToAction.astro' ;
4
+ import { Code } from ' @astrojs/starlight/components' ;
5
+ import { Content as Tagline } from ' ./tagline.md' ;
6
6
---
7
7
8
- <div class =" hero" >
9
- <div class =" hero-html sl-flex " >
8
+ <div class =" hero lg:grid lg:grid-cols-hero lg:gap-5 " >
9
+ <div class =" hero-html" >
10
10
<div >
11
11
<Code
12
12
code ={ `
@@ -31,7 +31,7 @@ local k = import "k.libsonnet";
31
31
</div >
32
32
</div >
33
33
</div >
34
- <div class =" sl- flex stack" >
34
+ <div class =" flex stack" >
35
35
<div class =" sl-flex copy" >
36
36
<h1 data-page-title >Define. Reuse. Override.</h1 >
37
37
<div class =" tagline" >
@@ -59,10 +59,11 @@ local k = import "k.libsonnet";
59
59
</div >
60
60
61
61
<style >
62
+ :global([data-has-hero] .sl-container) {
63
+ max-width: 67.5rem;
64
+ }
65
+
62
66
.hero {
63
- display: grid;
64
- align-items: center;
65
- gap: 1rem;
66
67
padding-bottom: 1rem;
67
68
}
68
69
@@ -117,8 +118,6 @@ local k = import "k.libsonnet";
117
118
118
119
@media (min-width: 50rem) {
119
120
.hero {
120
- grid-template-columns: 7fr 4fr;
121
- gap: 3%;
122
121
padding-block: clamp(2.5rem, calc(1rem + 10vmin), 10rem);
123
122
}
124
123
0 commit comments