From 1237d953b528db9c11a54d45866badda7451fe35 Mon Sep 17 00:00:00 2001 From: Alvie Rahman <alvierahman90@gmail.com> Date: Tue, 12 Apr 2022 17:16:01 +0100 Subject: [PATCH] add basic module readmes --- modules/buttonlist_readme.txt | 19 +++++++++++++++++++ modules/darkmode_readme.txt | 3 +++ modules/search_readme.txt | 9 +++++++++ 3 files changed, 31 insertions(+) create mode 100644 modules/buttonlist_readme.txt create mode 100644 modules/darkmode_readme.txt create mode 100644 modules/search_readme.txt diff --git a/modules/buttonlist_readme.txt b/modules/buttonlist_readme.txt new file mode 100644 index 0000000..c9ab7eb --- /dev/null +++ b/modules/buttonlist_readme.txt @@ -0,0 +1,19 @@ +example: + +<ul class="buttonlist"> +<li> + <a href="link to whatever"> + <p>text</p> + </a> +</li> +<li> + <a href="link to whatever2"> + <p>text2</p> + </a> +</li> +<li> + <a href="link to whatever3"> + <p>text3</p> + </a> +</li> +</ul> diff --git a/modules/darkmode_readme.txt b/modules/darkmode_readme.txt new file mode 100644 index 0000000..de165c1 --- /dev/null +++ b/modules/darkmode_readme.txt @@ -0,0 +1,3 @@ +just add + +@import url("https://styles.alv.cx/modules/darkmode.css"); diff --git a/modules/search_readme.txt b/modules/search_readme.txt new file mode 100644 index 0000000..4976391 --- /dev/null +++ b/modules/search_readme.txt @@ -0,0 +1,9 @@ +example: + +<div id="searchWrapper"> +<input id="search" placeholder="Search"> +</div> +<p class="smallText" style="margin-top: 0; text-align: center"> + Press (<kbd>Shift</kbd>+)<kbd>Enter</kbd> to open first result (in new tab) +</p> +<div id="results"> </div>