From 97d0bb683d283b32b9077c9254ad5f8d979d060b Mon Sep 17 00:00:00 2001 From: Lucas Garron Date: Wed, 8 Jan 2025 02:02:21 -0800 Subject: [PATCH] Simplify basic usage. --- src/web/icons.cubing.net/index.html | 34 ++++++++++------------------- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/src/web/icons.cubing.net/index.html b/src/web/icons.cubing.net/index.html index 0941fcb..47efe4c 100644 --- a/src/web/icons.cubing.net/index.html +++ b/src/web/icons.cubing.net/index.html @@ -49,32 +49,22 @@

It's time for cubing icons!Use cubing icons in your web project

- The simplest way to use cubing icons in your project is to include one CSS <link> - element - on - your page and then use class on <span> elements - to - specify icons. -

- -

- Here's an example: + The simplest way to use cubing icons in your project is as follows:

- <!-- The following line is needed only once per page. -->
- <link rel="stylesheet" href="https://cdn.cubing.net/v0/css/@cubing/icons/css"> -
-
- <ul>
-   <li><span class="cubing-icon event-333"></span> 3×3×3</li>
-   <li><span class="cubing-icon event-clock"></span> Clock</li>
-   <li><span class="cubing-icon unofficial-fto"></span> FTO</li>
- </ul> -
+ <!-- Include the following line once on your page: -->
+ <link rel="stylesheet" href="https://cdn.cubing.net/v0/css/@cubing/icons/css"> +
+
+ <!-- Add any number of icons like this: -->
+ <ul>
+   <li>
<span class="cubing-icon event-333"></span> 3×3×3</li>
+   <li>
<span class="cubing-icon event-clock"></span> Clock</li>
+   <li>
<span class="cubing-icon unofficial-fto"></span> FTO</li>
+ </ul>
+