diff --git a/core.php b/core.php index 9c685b7..1201b9b 100644 --- a/core.php +++ b/core.php @@ -354,11 +354,13 @@ class page_renderer {navigation-bar-bottom} {all-pages-datalist}"; - public static $minimal_content_template = "{content} -
-

From {sitename}, which is managed by {admin-details-name}.

-

Timed at {generation-date} -

Powered by Pepperminty Wiki.

"; + public static $minimal_content_template = "
{content}
+ "; // An array of functions that have been registered to process the // find / replace array before the page is rendered. Note that the function diff --git a/index.php b/index.php index 7e02ca1..2b04cd1 100644 --- a/index.php +++ b/index.php @@ -166,9 +166,12 @@ input[type=button], input[type=submit] { cursor: pointer; } .sidebar ul:before { content: \"\"; position: absolute; top: 0; left: 0; height: 100%; border-left: 2px dashed rgba(50, 50, 50, 0.4); } .sidebar li:before { content: \"\"; position: absolute; width: 1rem; top: 0.8rem; left: -1.2rem; border-bottom: 2px dashed rgba(50, 50, 50, 0.4); } + +.printable { padding: 2rem; } + h1 { text-align: center; } .sitename { margin-top: 5rem; margin-bottom: 3rem; font-size: 2.5rem; } -main { padding: 2rem; background: #faf8fb; box-shadow: 0 0.1rem 1rem 0.3rem rgba(50, 50, 50, 0.5); } +main:not(.printable) { padding: 2rem; background: #faf8fb; box-shadow: 0 0.1rem 1rem 0.3rem rgba(50, 50, 50, 0.5); } label { display: inline-block; min-width: 7rem; } input[type=text], input[type=password], textarea { margin: 0.5rem 0.8rem; padding: 0.5rem 0.8rem; background: #d5cbf9; border: 0; border-radius: 0.3rem; font-size: 1rem; color: #442772; } @@ -572,11 +575,13 @@ class page_renderer {navigation-bar-bottom} {all-pages-datalist}"; - public static $minimal_content_template = "{content} -
-

From {sitename}, which is managed by {admin-details-name}.

-

Timed at {generation-date} -

Powered by Pepperminty Wiki.

"; + public static $minimal_content_template = "
{content}
+ "; // An array of functions that have been registered to process the // find / replace array before the page is rendered. Note that the function diff --git a/settings.fragment.php b/settings.fragment.php index 02ff41a..634f182 100644 --- a/settings.fragment.php +++ b/settings.fragment.php @@ -163,9 +163,12 @@ input[type=button], input[type=submit] { cursor: pointer; } .sidebar ul:before { content: \"\"; position: absolute; top: 0; left: 0; height: 100%; border-left: 2px dashed rgba(50, 50, 50, 0.4); } .sidebar li:before { content: \"\"; position: absolute; width: 1rem; top: 0.8rem; left: -1.2rem; border-bottom: 2px dashed rgba(50, 50, 50, 0.4); } + +.printable { padding: 2rem; } + h1 { text-align: center; } .sitename { margin-top: 5rem; margin-bottom: 3rem; font-size: 2.5rem; } -main { padding: 2rem; background: #faf8fb; box-shadow: 0 0.1rem 1rem 0.3rem rgba(50, 50, 50, 0.5); } +main:not(.printable) { padding: 2rem; background: #faf8fb; box-shadow: 0 0.1rem 1rem 0.3rem rgba(50, 50, 50, 0.5); } label { display: inline-block; min-width: 7rem; } input[type=text], input[type=password], textarea { margin: 0.5rem 0.8rem; padding: 0.5rem 0.8rem; background: #d5cbf9; border: 0; border-radius: 0.3rem; font-size: 1rem; color: #442772; }