diff options
Diffstat (limited to '')
-rw-r--r-- | examples/starter/astro.config.mjs | 4 | ||||
-rw-r--r-- | examples/starter/public/style/home.css | 14 |
2 files changed, 16 insertions, 2 deletions
diff --git a/examples/starter/astro.config.mjs b/examples/starter/astro.config.mjs index e16ed1327..706dce85b 100644 --- a/examples/starter/astro.config.mjs +++ b/examples/starter/astro.config.mjs @@ -1,10 +1,10 @@ export default { // projectRoot: '.', // Where to resolve all URLs relative to. Useful if you have a monorepo project. - // pages: './src/pages', // Path to Astro components, pages, and data + // pages: './src/pages', // Path to Astro components, pages, and data // dist: './dist', // When running `astro build`, path to final static output // public: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that don’t need processing. buildOptions: { - // site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs. + // site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs. // sitemap: true, // Generate sitemap (set to "false" to disable) }, devOptions: { diff --git a/examples/starter/public/style/home.css b/examples/starter/public/style/home.css index c4271a845..70741a8da 100644 --- a/examples/starter/public/style/home.css +++ b/examples/starter/public/style/home.css @@ -36,3 +36,17 @@ h2 { font-weight: 500; font-size: clamp(1.5rem, 1rem + 1.25vw, 2rem); } + +.counter { + display: grid; + grid-auto-flow: column; + gap: 1em; + font-size: 2rem; + justify-content: center; + padding: 2rem 1rem; +} + +.counter > pre { + text-align: center; + min-width: 3ch; +} |