actually utilize features Jekyll provides
This commit is contained in:
parent
4cd424af14
commit
2a29052e9a
|
@ -1,2 +1,7 @@
|
||||||
|
.*
|
||||||
|
!.editorconfig
|
||||||
|
!.gitattributes
|
||||||
|
!.gitignore
|
||||||
|
|
||||||
_site/
|
_site/
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Custom settings
|
theme: minima
|
||||||
timezone: Europe/Helsinki
|
timezone: Europe/Helsinki
|
||||||
encoding: utf-8
|
encoding: utf-8
|
||||||
plugins:
|
plugins:
|
||||||
|
@ -8,4 +8,4 @@ plugins:
|
||||||
- jekyll-sitemap
|
- jekyll-sitemap
|
||||||
sitemap:
|
sitemap:
|
||||||
file: "/sitemap.xml"
|
file: "/sitemap.xml"
|
||||||
include: [robots.txt]
|
include: [favicon.ico, robots.txt]
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
---
|
||||||
|
#
|
||||||
|
---
|
||||||
|
|
||||||
|
@import "{{ site.theme }}";
|
||||||
|
|
||||||
|
// Declares support for light and dark themes as high as possible
|
||||||
|
:root {
|
||||||
|
color-scheme: light dark !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reverts all colors to browser default so light/dark modes are supported
|
||||||
|
// without extra work and we get free accessibility
|
||||||
|
* {
|
||||||
|
color: revert !important;
|
||||||
|
text-color: revert !important;
|
||||||
|
background-color: revert !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fix transparent mobile navbar
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
.site-nav {
|
||||||
|
color-scheme: only light !important;
|
||||||
|
color: #000000 !important;
|
||||||
|
background-color: #ffffff !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
.site-nav {
|
||||||
|
color-scheme: only dark !important;
|
||||||
|
color: #ffffff !important;
|
||||||
|
background-color: #1c1b22 !important;
|
||||||
|
}
|
||||||
|
}
|
1
index.md
1
index.md
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
permalink: /index.html
|
permalink: /index.html
|
||||||
redirect_from: /404.html
|
redirect_from: /404.html
|
||||||
|
layout: home
|
||||||
---
|
---
|
||||||
|
|
||||||
Tältä sivustolta löydät liittymislinkit [Piraattinuorten](https://pinu.fi/)
|
Tältä sivustolta löydät liittymislinkit [Piraattinuorten](https://pinu.fi/)
|
||||||
|
|
Loading…
Reference in New Issue