Update the landing page, preface and reference (#1067)

* Add preface to the preface chapter and the introduction chapter

* Update the landing page

* Update the reference
This commit is contained in:
Yudong Jin
2024-01-30 17:48:54 +08:00
committed by GitHub
parent d807077e54
commit ead5182288
5 changed files with 33 additions and 17 deletions
+3 -3
View File
@@ -292,9 +292,8 @@ body {
margin-top: -2.4rem;
padding: 0;
position: relative;
color: white;
font-size: min(1.8vh, 2.5vw);
font-weight: 500;
font-weight: normal;
}
.hero-bg {
@@ -316,6 +315,7 @@ body {
position: absolute;
transform: translateX(-50%) translateY(-50%);
white-space: nowrap; /* prevent line breaks */
color: white;
}
a:hover .hero-on-hover {
@@ -333,7 +333,7 @@ a:hover .hero-caption {
.code-badge {
width: 100%;
height: auto;
margin: 0 auto;
margin: 1em auto;
}
.code-badge img {