From a6a7cbf6fa4f63d57e10dec45bc9806797a656a1 Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Fri, 14 Feb 2025 20:27:36 +0100 Subject: [PATCH] lesson 2 and fixes --- index.css | 11 ++- index.html | 17 +++-- lesson-0.html | 4 +- lesson-1.html | 20 ++--- lesson-2.html | 197 ++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 229 insertions(+), 20 deletions(-) create mode 100644 lesson-2.html diff --git a/index.css b/index.css index bb32b06..d34286c 100644 --- a/index.css +++ b/index.css @@ -45,7 +45,7 @@ footer { .action-button { width: 400px; - font-size: 1.5rem; + font-size: 1rem; font-weight: bold; padding: 20px; background-color: var(--color-primary); @@ -53,6 +53,8 @@ footer { border: none; text-decoration: none; + display: block; + &:hover { background-color: color-mix(in oklab, var(--color-primary), white 15%); } @@ -64,6 +66,7 @@ footer { display: flex; flex-direction: column; gap: 10px; + } .step { @@ -74,6 +77,8 @@ footer { .code { padding-left: 30px; + overflow: scroll; + max-width: calc(100vw - 40px); } .hidden { @@ -115,3 +120,7 @@ form[data-challenge] > .error { height: 2.5rem; font-size: 1rem; } + +.lesson-last-paragraph { + margin-bottom: 40px; +} diff --git a/index.html b/index.html index 1a9c29d..bb4713c 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@
-

Learn C++ Symbol Itanium Mangling

+

Learn C++ Itanium Symbol Mangling

- This website will teach you C++ Itanium Name Mangling. Itanium-style + This website will teach you C++ Itanium Symbol Name Mangling. Itanium-style mangling is used on a lot of platforms, including Linux.

@@ -32,11 +32,14 @@

@@ -45,7 +48,7 @@
diff --git a/lesson-0.html b/lesson-0.html index 53f04c2..fbeb5f7 100644 --- a/lesson-0.html +++ b/lesson-0.html @@ -15,7 +15,7 @@

Lesson 0: Intro and C names