mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
Add help section id to right of header.
This commit is contained in:
parent
da6ce432c9
commit
f49d87a2f1
4 changed files with 8 additions and 4 deletions
|
@ -337,6 +337,8 @@ textarea ~ input[type=submit] { margin: 0.5rem 0.8rem; padding: 0.5rem; font-wei
|
|||
.tag-list li { display: inline-block; margin: 1rem; }
|
||||
.mini-tag { background: #d2c3dd; padding: 0.2rem 0.4rem; color: #fb701a; text-decoration: none; }
|
||||
|
||||
.help-section-header::after { content: attr(id); float: right; color: rgba(0, 0, 0, 0.4); font-size: 0.8rem; font-weight: normal; }
|
||||
|
||||
.cursor-query { cursor: help; }
|
||||
|
||||
.larger { color: rgb(9, 180, 0); }
|
||||
|
@ -3144,7 +3146,7 @@ register_module([
|
|||
|
||||
// Todo add a button that you can click to get a permanent link
|
||||
// to this section.
|
||||
$content .= "<h2 id='$index'>" . $section["title"] . "</h2>\n";
|
||||
$content .= "<h2 id='$index' class='help-section-header'>" . $section["title"] . "</h2>\n";
|
||||
$content .= $section["content"] . "\n";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Adds a rather useful help page. Access through the 'help' action. This module also exposes help content added to Pepperminty Wiki's inbuilt invisible help section system.",
|
||||
"id": "page-help",
|
||||
"lastupdate": 1458412848,
|
||||
"lastupdate": 1458578106,
|
||||
"optional": false
|
||||
},
|
||||
{
|
||||
|
@ -131,7 +131,7 @@
|
|||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Adds a page that lists all the pages in the index along with their metadata.",
|
||||
"id": "page-list",
|
||||
"lastupdate": 1458577343,
|
||||
"lastupdate": 1458577390,
|
||||
"optional": false
|
||||
},
|
||||
{
|
||||
|
|
|
@ -53,7 +53,7 @@ register_module([
|
|||
|
||||
// Todo add a button that you can click to get a permanent link
|
||||
// to this section.
|
||||
$content .= "<h2 id='$index'>" . $section["title"] . "</h2>\n";
|
||||
$content .= "<h2 id='$index' class='help-section-header'>" . $section["title"] . "</h2>\n";
|
||||
$content .= $section["content"] . "\n";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -334,6 +334,8 @@ textarea ~ input[type=submit] { margin: 0.5rem 0.8rem; padding: 0.5rem; font-wei
|
|||
.tag-list li { display: inline-block; margin: 1rem; }
|
||||
.mini-tag { background: #d2c3dd; padding: 0.2rem 0.4rem; color: #fb701a; text-decoration: none; }
|
||||
|
||||
.help-section-header::after { content: attr(id); float: right; color: rgba(0, 0, 0, 0.4); font-size: 0.8rem; font-weight: normal; }
|
||||
|
||||
.cursor-query { cursor: help; }
|
||||
|
||||
.larger { color: rgb(9, 180, 0); }
|
||||
|
|
Loading…
Reference in a new issue