From: Michael Wallner Date: Fri, 17 Jan 2014 08:50:00 +0000 (+0100) Subject: disqus got lost while refactoring X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=68790b487182379c8ec15e6f91f8050608440b36;p=mdref%2Fmdref disqus got lost while refactoring --- diff --git a/mdref/Action.php b/mdref/Action.php index 5737cfe..46ab755 100644 --- a/mdref/Action.php +++ b/mdref/Action.php @@ -68,6 +68,7 @@ class Action extends Observer $pld = $ctl->getPayload(); $pld->baseUrl = $this->baseUrl; $url = $this->baseUrl->mod($ctl->getRequest()->getRequestUrl()); + $pld->permUrl = implode("/", $this->baseUrl->params($url)); if ($this->serveReference($url, $pld) || $this->serveInternal($url, $pld)) { return; diff --git a/public/index.css b/public/index.css index dd0e8eb..ce3f5aa 100644 --- a/public/index.css +++ b/public/index.css @@ -9,6 +9,7 @@ body { font-size: 1.5em; margin: 0; padding: 0; + padding-bottom: 5em; color: #3f3f3f; } @@ -120,7 +121,7 @@ h1 code { line-height: 1.33; } -footer, h1, li h3 { +footer, h1, li h3, th { background: #708090; color: #f5f5dc; } @@ -166,12 +167,15 @@ footer { font-size: smaller; text-align: center; clear: both; - margin-top: 8em; + position: fixed; + bottom: 0; + width: 100%; + padding: 0; } footer ul { margin: 0; - padding: 0; + padding: 1em 0; } footer li { @@ -187,3 +191,14 @@ footer a { footer a:hover { text-decoration: underline; } + +table { + border-collapse: collapse; +} +th, td { + padding: .4em; +} + +h1, footer, table, .sidebar, pre>code, li h3 { + box-shadow: 0 0 4px #708090; +} diff --git a/views/layout.phtml b/views/layout.phtml index 3bd409c..2a7d3d1 100644 --- a/views/layout.phtml +++ b/views/layout.phtml @@ -6,7 +6,7 @@ - - mdref + mdref @@ -21,7 +21,18 @@ +
+ +