From c72e8b115ab72422f5c6430de8e0a580a93cb52a Mon Sep 17 00:00:00 2001 From: krahets Date: Tue, 14 Jan 2025 19:33:29 +0800 Subject: [PATCH] build --- en/docs/index.html | 28 ++++++++++++++-------------- overrides/stylesheets/extra.css | 10 +++++++--- zh-Hant/docs/index.html | 2 +- 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/en/docs/index.html b/en/docs/index.html index 566711b18..c5bbcef70 100644 --- a/en/docs/index.html +++ b/en/docs/index.html @@ -7,15 +7,15 @@ - Encounter with Algorithms + Encounter with Algos - Complexity analysis + Complexity analysis - Array and linked list + Array and linked list @@ -23,7 +23,7 @@ - Hash table + Hash table @@ -43,7 +43,7 @@ - Sorting + Sorting @@ -51,11 +51,11 @@ - Backtracking + Backtracking - Dynamic programming + Dynamic programming @@ -65,7 +65,7 @@
- +

Data structures and algorithms crash course with animated illustrations and off-the-shelf code @@ -113,7 +113,7 @@

-

500 animated illustrations, 14 programming languages, and 3000 community Q&As to help you quickly get started with data structures and algorithms

+

500 animated illustrations, 14 programming languages, and 3000 community Q&As to help you dive into data structures and algorithms.

@@ -144,7 +144,7 @@
- Read online + Web @@ -155,7 +155,7 @@
- Download PDF + PDF @@ -195,7 +195,7 @@

Animated illustrations

-

It's crafted for ease of understanding, ensuring a smooth learning journey.

+

It’s crafted for a smooth learning experience.

"A picture is worth a thousand words."

@@ -212,7 +212,7 @@

Off-the-shelf code

-

Featuring multiple programming languages, all runnable with a single click.

+

One click to run code in multiple languages.

"Talk is cheap. Show me the code."

@@ -227,7 +227,7 @@

Learning together

-

Welcome discussions and questions with open arms.

+

Don’t hesitate to ask or share your thoughts.

"Learning by teaching."

diff --git a/overrides/stylesheets/extra.css b/overrides/stylesheets/extra.css index 04201732a..7d6c9c1d8 100644 --- a/overrides/stylesheets/extra.css +++ b/overrides/stylesheets/extra.css @@ -305,7 +305,7 @@ body { a:hover .device-on-hover { filter: drop-shadow(0 0 0.2rem rgba(0, 0, 0, 0.15)); - transform: scale(1.02); + transform: scale(1.01); } /* text button */ @@ -424,7 +424,7 @@ a:hover .text-button span { .intro-image { flex-shrink: 0; flex-grow: 0; - width: 55%; + width: 50%; border-radius: 0.5em; box-shadow: var(--md-shadow-z2); } @@ -498,12 +498,16 @@ a:hover .text-button span { } } -/* Hide table of contents */ +/* mobile devices */ @media screen and (max-width: 60em) { .home-div { font-size: 0.75rem; } + .heading-div { + transform: translateX(-50%) translateY(13%); + } + .intro-container { flex-direction: column; } diff --git a/zh-Hant/docs/index.html b/zh-Hant/docs/index.html index e2c6eb0eb..4628e7070 100644 --- a/zh-Hant/docs/index.html +++ b/zh-Hant/docs/index.html @@ -131,7 +131,7 @@
Cover
- 紙質書(簡中) + 紙質書