nixos-and-flakes-book/docs/index.md

74 lines
1.7 KiB
Markdown
Raw Normal View History

---
# https://vitepress.dev/reference/default-theme-home-page
layout: home
2023-07-08 04:17:04 +00:00
titleTemplate: "Home Page"
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
actions:
2023-07-28 07:55:48 +00:00
- theme: brand
text: Preface
link: /preface.md
- theme: brand
text: Get Started
link: /introduction/index.md
- 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>