mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
Add padding to the page list
This commit is contained in:
parent
f3feec9a6e
commit
49b31770ce
4 changed files with 5 additions and 3 deletions
|
@ -309,6 +309,7 @@ textarea ~ input[type=submit] { margin: 0.5rem 0.8rem; padding: 0.5rem; font-wei
|
||||||
.page-tags-display li a { color: #FB701A; text-decoration: none; }
|
.page-tags-display li a { color: #FB701A; text-decoration: none; }
|
||||||
.page-tags-display li::before { content: \"\\A\"; position: relative; top: 0.03rem; left: -0.9rem; width: 0; height: 0; border-top: 0.6rem solid transparent; border-bottom: 0.6rem solid transparent; border-right: 0.5rem solid #D2C3DD; }
|
.page-tags-display li::before { content: \"\\A\"; position: relative; top: 0.03rem; left: -0.9rem; width: 0; height: 0; border-top: 0.6rem solid transparent; border-bottom: 0.6rem solid transparent; border-right: 0.5rem solid #D2C3DD; }
|
||||||
|
|
||||||
|
.page-list td { padding: 0.5rem 0.2rem 0.5rem 0.2rem; }
|
||||||
.mini-tag { background: #d2c3dd; padding: 0.2rem 0.4rem; color: #fb701a; text-decoration: none; }
|
.mini-tag { background: #d2c3dd; padding: 0.2rem 0.4rem; color: #fb701a; text-decoration: none; }
|
||||||
|
|
||||||
footer { padding: 2rem; }
|
footer { padding: 2rem; }
|
||||||
|
@ -2880,7 +2881,7 @@ function generate_page_list($pagelist)
|
||||||
{
|
{
|
||||||
global $pageindex;
|
global $pageindex;
|
||||||
|
|
||||||
$result = "<table>
|
$result = "<table class='page-list'>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Page Name</th>
|
<th>Page Name</th>
|
||||||
<th>Size</th>
|
<th>Size</th>
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds a page that lists all the pages in the index along with their metadata.",
|
"description": "Adds a page that lists all the pages in the index along with their metadata.",
|
||||||
"id": "page-list",
|
"id": "page-list",
|
||||||
"lastupdate": 1449950909,
|
"lastupdate": 1449951207,
|
||||||
"optional": false
|
"optional": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -71,7 +71,7 @@ function generate_page_list($pagelist)
|
||||||
{
|
{
|
||||||
global $pageindex;
|
global $pageindex;
|
||||||
|
|
||||||
$result = "<table>
|
$result = "<table class='page-list'>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Page Name</th>
|
<th>Page Name</th>
|
||||||
<th>Size</th>
|
<th>Size</th>
|
||||||
|
|
|
@ -298,6 +298,7 @@ textarea ~ input[type=submit] { margin: 0.5rem 0.8rem; padding: 0.5rem; font-wei
|
||||||
.page-tags-display li a { color: #FB701A; text-decoration: none; }
|
.page-tags-display li a { color: #FB701A; text-decoration: none; }
|
||||||
.page-tags-display li::before { content: \"\\A\"; position: relative; top: 0.03rem; left: -0.9rem; width: 0; height: 0; border-top: 0.6rem solid transparent; border-bottom: 0.6rem solid transparent; border-right: 0.5rem solid #D2C3DD; }
|
.page-tags-display li::before { content: \"\\A\"; position: relative; top: 0.03rem; left: -0.9rem; width: 0; height: 0; border-top: 0.6rem solid transparent; border-bottom: 0.6rem solid transparent; border-right: 0.5rem solid #D2C3DD; }
|
||||||
|
|
||||||
|
.page-list td { padding: 0.5rem 0.2rem 0.5rem 0.2rem; }
|
||||||
.mini-tag { background: #d2c3dd; padding: 0.2rem 0.4rem; color: #fb701a; text-decoration: none; }
|
.mini-tag { background: #d2c3dd; padding: 0.2rem 0.4rem; color: #fb701a; text-decoration: none; }
|
||||||
|
|
||||||
footer { padding: 2rem; }
|
footer { padding: 2rem; }
|
||||||
|
|
Loading…
Reference in a new issue