From b06bb954fcad455a19d2085f4d3b1c04e6013822 Mon Sep 17 00:00:00 2001 From: matthew Date: Wed, 22 Nov 2023 14:03:47 +0000 Subject: Update 404 page --- 404.html | 185 +++++++++++++++++++++---------------------------------------- robots.txt | 2 +- 2 files changed, 63 insertions(+), 124 deletions(-) diff --git a/404.html b/404.html index bccb7e3..cc8d2f2 100644 --- a/404.html +++ b/404.html @@ -2,155 +2,94 @@ - page not found... :( + raylib | page not found... :(
-

not found :(

-

Sorry, but the page you were trying to view does not exist.

-

It looks like this was the result of either:

- + + raylib logo + +
+

page not found

+

Sorry, but the page you were trying to view does not exist.

+

It looks like this was the result of either:

+
    +
  • a mistyped address
  • +
  • an out-of-date link
  • +
+

Return to the homepage.

+
+ - +
diff --git a/robots.txt b/robots.txt index 345303f..499014c 100644 --- a/robots.txt +++ b/robots.txt @@ -1,3 +1,3 @@ # robotstxt.org/ -Sitemap: https://raylib.com/sitemap.xml +Sitemap: https://raylib.com/sitemap.xml \ No newline at end of file -- cgit v1.2.3 From 88a0be41f2ea601e648fe746fc1b11be23b45a61 Mon Sep 17 00:00:00 2001 From: matthew Date: Wed, 22 Nov 2023 14:04:34 +0000 Subject: Add favicon to 404 --- 404.html | 1 + 1 file changed, 1 insertion(+) diff --git a/404.html b/404.html index cc8d2f2..e08d435 100644 --- a/404.html +++ b/404.html @@ -3,6 +3,7 @@ raylib | page not found... :( + -- cgit v1.2.3 From 17a91f1da95b210d0f1f4988671e4d7d181f7b61 Mon Sep 17 00:00:00 2001 From: matthew Date: Wed, 22 Nov 2023 14:16:51 +0000 Subject: Added jump-to links --- cheatsheet/cheatsheet.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/cheatsheet/cheatsheet.html b/cheatsheet/cheatsheet.html index b090be6..7e64e99 100644 --- a/cheatsheet/cheatsheet.html +++ b/cheatsheet/cheatsheet.html @@ -83,6 +83,8 @@ #downpdf{text-decoration: none;color:#aaaaaa;} #downpdf:hover{color:#444;} + + #fulldata p a {color:#0eefff; text-decoration: none;} @@ -56,6 +54,7 @@ #audio pre code{border:10px solid; border-color:#d3b157; background-color:#e5d7ae; } #structs pre code{border:10px solid; border-color:#d2c9c6; background-color:#f8f8ff;} #colors pre code{border:10px solid; border-color:#c6d2c6; background-color:#e9f1f2;} + #logo{width:128px; height:128px; float:left; position:relative; background-image:url(../common/img/raylib_logo.png);} #header{position:relative; height:110px; max-width: 1000px;} #title, #plinks, #version{position:relative; float:left; margin:0px; margin-left:10px; margin-top:10px;} @@ -86,6 +85,24 @@ #fulldata p a {color:#0eefff; text-decoration: none;} + /* for the tired programmers at night */ + .darkmode{background-color:#1e1e1e; color:#e1e1e1;} + .darkmode a{color:#e1e1e1;} + .darkmode #header{background-color:#1e1e1e; color:#e1e1e1;} + .darkmode #title{color:#e1e1e1;} + .darkmode #plinks{color:#e1e1e1;} + .darkmode #plinks a{color:#e1e1e1;} + .darkmode #plinks a:hover{color:#e1e1e1;} + .darkmode #version{color:#e1e1e1;} + .darkmode #pcore{color:#e1e1e1;} + .darkmode #pshapes{color:#e1e1e1;} + .darkmode #ptextures{color:#e1e1e1;} + .darkmode #ptext{color:#e1e1e1;} + .darkmode #pmodels{color:#e1e1e1;} + .darkmode #paudio{color:#e1e1e1;} + .darkmode #pstructs{color:#e1e1e1;} + .darkmode #pcolors{color:#e1e1e1;} + @media screen and (max-width: 1550px) { #fullgroup { grid-template-columns: auto; @@ -121,6 +138,10 @@ addModule('raylib_structs.c', '#structs pre code'); }); + function toggleDarkMode() { + document.body.classList.toggle("darkmode"); + } + -- cgit v1.2.3