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

86 lines
1.9 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: "主页"
hero:
name: "NixOS 与 Flakes"
text: "一份非官方的新手指南"
tagline: "想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!"
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:
- theme: brand
2023-07-28 07:55:48 +00:00
text: 前言
link: /zh/preface.md
- theme: brand
text: 开始学习
2023-06-23 13:24:29 +00: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
---
2023-08-14 14:28:47 +00:00
<style>
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);
--vp-home-hero-image-background-image: linear-gradient(-60deg, #bd34fe 40%, #47caff 60%);
--vp-home-hero-image-filter: blur(40px);
}
2023-08-14 15:03:37 +00:00
.image-bg {
position: absolute;
content: "";
top: 5vw;
left: 0;
right: 0;
z-index: -1;
height: 100%;
width: 100%;
margin: 0 auto;
transform: scale(0.75);
-webkit-filter: blur(5vw);
-moz-filter: blur(5vw);
-ms-filter: blur(5vw);
filter: blur(5vw);
background: linear-gradient(270deg, #0fffc1, #7e0fff);
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>