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

75 lines
1.7 KiB
Markdown
Raw Normal View History

---
# https://vitepress.dev/reference/default-theme-home-page
layout: home
2023-07-08 06:17:04 +02:00
titleTemplate: "主页"
hero:
name: "NixOS 与 Flakes"
text: "一份非官方的新手指南"
tagline: "想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!"
2023-07-08 06:17:04 +02:00
image:
2023-07-08 06:21:29 +02:00
src: /logo.png
2023-07-08 06:17:04 +02:00
alt: NixOS Flakes
actions:
- theme: brand
2023-07-28 09:55:48 +02:00
text: 前言
link: /zh/preface.md
- theme: brand
text: 开始学习
2023-06-23 15:24:29 +02:00
link: /zh/introduction/index.md
- theme: alt
text: "前往 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
---
2024-03-16 11:07:01 +01:00
2023-08-14 16:28:47 +02:00
<style>
:root {
--vp-home-hero-name-color: transparent;
2023-08-14 17:17:58 +02:00
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #4565d8 40%, #41d1ff);
2023-08-14 16:28:47 +02:00
2023-08-14 17:17:58 +02:00
--vp-home-hero-image-background-image: linear-gradient(-60deg, #41d1ff 40%, #0fffc1);
2023-08-14 16:28:47 +02:00
}
2023-08-14 17:03:37 +02: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 16:28:47 +02: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>