# HG changeset patch # User Kim Alvefur # Date 1415549824 -3600 # Node ID 2eaf4833969ade988f9d38be67dc7f803f20085c # Parent 6c6c1fab4ee525b3f2c4572c9c1cd8e50dc210c9 mod_http_muc_log: Render arrows in prev/next links using CSS diff -r 6c6c1fab4ee5 -r 2eaf4833969a mod_http_muc_log/mod_http_muc_log.lua --- a/mod_http_muc_log/mod_http_muc_log.lua Sun Nov 09 17:15:48 2014 +0100 +++ b/mod_http_muc_log/mod_http_muc_log.lua Sun Nov 09 17:17:04 2014 +0100 @@ -67,7 +67,10 @@ nav{font-size:x-large;margin:1ex 2em;} nav a{text-decoration:none;} nav a.up{font-size:smaller;} +nav a.prev{float:left;} nav a.next{float:right;} +nav a.next::after{content:" →";} +nav a.prev::before{content:"← ";} a:link,a:visited{color:#2e3436;text-decoration:none;} a:link:hover,a:visited:hover{color:#3465a4;} ul,ol{padding:0;} @@ -125,8 +128,8 @@ ]]; body = [[ @@ -136,8 +139,8 @@ footer = [[