diff --git a/public/colours.css b/public/css/colours.css similarity index 100% rename from public/colours.css rename to public/css/colours.css diff --git a/public/css.css b/public/css/css.css similarity index 94% rename from public/css.css rename to public/css/css.css index c256e10..9401841 100644 --- a/public/css.css +++ b/public/css/css.css @@ -1,5 +1,5 @@ @import url(https://fonts.bunny.net/css?family=chivo-mono:500); -@import url(/colours.css); +@import url(/css/colours.css); code { background: var(--background-text); @@ -87,7 +87,7 @@ body { aspect-ratio: 1/1; transform-origin: top; - transform: scale(150%) rotate(-20deg) translateY(-25%); + transform: scale(150%) rotate(-20deg) translate(-15%, -15%); align-content: center; text-align: center; diff --git a/public/index.html b/public/index.html index 5189848..0dddade 100644 --- a/public/index.html +++ b/public/index.html @@ -2,7 +2,7 @@
- + @@ -46,7 +46,7 @@ - + diff --git a/public/code_highlighter.js b/public/js/code_highlighter.js similarity index 94% rename from public/code_highlighter.js rename to public/js/code_highlighter.js index c8ee430..ff3690c 100644 --- a/public/code_highlighter.js +++ b/public/js/code_highlighter.js @@ -35,6 +35,9 @@ const maps = { "std::string", "std::unique_ptr", "char", + "public", + "private", + "protected" ], } }; diff --git a/public/main.js b/public/js/main.js similarity index 100% rename from public/main.js rename to public/js/main.js diff --git a/public/md2html.js b/public/js/md2html.js similarity index 97% rename from public/md2html.js rename to public/js/md2html.js index df197c6..7e25c74 100644 --- a/public/md2html.js +++ b/public/js/md2html.js @@ -254,7 +254,7 @@ const tokens2html = (tokens) => { output += "
${token.title}
${token.title}