base.css: smooth scroll

This commit is contained in:
He4eT 2025-02-19 02:32:06 +01:00
commit 185a8d9e05
2 changed files with 3 additions and 0 deletions

View file

@ -1,4 +1,5 @@
import { EleventyI18nPlugin } from '@11ty/eleventy' import { EleventyI18nPlugin } from '@11ty/eleventy'
import { IdAttributePlugin } from '@11ty/eleventy'
/** /**
* @param {import('@11ty/eleventy').UserConfig} eleventyConfig * @param {import('@11ty/eleventy').UserConfig} eleventyConfig
@ -15,4 +16,5 @@ export default function(eleventyConfig) {
eleventyConfig.addPlugin(EleventyI18nPlugin, { eleventyConfig.addPlugin(EleventyI18nPlugin, {
defaultLanguage: 'en', defaultLanguage: 'en',
}) })
eleventyConfig.addPlugin(IdAttributePlugin)
} }

View file

@ -1,6 +1,7 @@
html, body { html, body {
font-family: Play, sans-sefif; font-family: Play, sans-sefif;
min-height: 100%; min-height: 100%;
scroll-behavior: smooth;
} }
body { body {