mirror of
https://github.com/He4eT/xecut-site.git
synced 2026-05-05 01:47:25 +00:00
base.css: smooth scroll
This commit is contained in:
parent
7a34ebdcd7
commit
185a8d9e05
2 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue