2023-06-23 06:33:04 +00:00
|
|
|
---
|
|
|
|
# https://vitepress.dev/reference/default-theme-home-page
|
|
|
|
layout: home
|
|
|
|
|
2023-07-08 04:17:04 +00:00
|
|
|
titleTemplate: "Home Page"
|
2023-06-23 06:33:04 +00:00
|
|
|
|
|
|
|
hero:
|
|
|
|
name: "NixOS & Flakes Book"
|
|
|
|
text: "An unofficial book for beginners"
|
2023-07-09 09:32:32 +00:00
|
|
|
tagline: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place!
|
2023-07-08 04:17:04 +00:00
|
|
|
image:
|
2023-07-08 04:21:29 +00:00
|
|
|
src: /logo.png
|
2023-07-08 04:17:04 +00:00
|
|
|
alt: NixOS Flakes
|
2023-06-23 06:33:04 +00:00
|
|
|
actions:
|
2023-07-28 07:55:48 +00:00
|
|
|
- theme: brand
|
|
|
|
text: Preface
|
|
|
|
link: /preface.md
|
2023-06-23 06:33:04 +00:00
|
|
|
- theme: brand
|
|
|
|
text: Get Started
|
2023-06-23 10:05:06 +00:00
|
|
|
link: /introduction/index.md
|
2023-06-23 06:33:04 +00:00
|
|
|
- theme: alt
|
|
|
|
text: View on GitHub
|
|
|
|
link: https://github.com/ryan4yin/nixos-and-flakes-book
|
|
|
|
# features:
|
|
|
|
# - title: Feature A
|
|
|
|
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
|
|
|
# - title: Feature B
|
|
|
|
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
|
|
|
# - title: Feature C
|
|
|
|
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
|
|
|
---
|
2023-08-14 14:28:47 +00:00
|
|
|
<style>
|
|
|
|
:root {
|
|
|
|
--vp-home-hero-name-color: transparent;
|
2023-08-14 15:17:58 +00:00
|
|
|
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #4565d8 40%, #41d1ff);
|
2023-08-14 14:28:47 +00:00
|
|
|
|
2023-08-14 15:17:58 +00:00
|
|
|
--vp-home-hero-image-background-image: linear-gradient(-60deg, #41d1ff 40%, #0fffc1);
|
2023-08-14 14:28:47 +00:00
|
|
|
}
|
|
|
|
|
2023-08-14 15:03:37 +00:00
|
|
|
.image-bg {
|
|
|
|
transform: scale(0.75);
|
|
|
|
-webkit-filter: blur(5vw);
|
|
|
|
-moz-filter: blur(5vw);
|
|
|
|
-ms-filter: blur(5vw);
|
|
|
|
filter: blur(5vw);
|
|
|
|
background-size: 200% 200%;
|
|
|
|
animation: animateGlow 10s ease infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes animateGlow {
|
|
|
|
0% {
|
|
|
|
background-position: 0% 50%;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
background-position: 100% 50%;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
background-position: 0% 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-14 14:28:47 +00:00
|
|
|
@media (min-width: 640px) {
|
|
|
|
:root {
|
|
|
|
--vp-home-hero-image-filter: blur(56px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 960px) {
|
|
|
|
:root {
|
|
|
|
--vp-home-hero-image-filter: blur(72px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|