all repos — archive/hugo-xmin @ 791259ea0c7ad71cde6f464e63b1baf14218d7b9

Customised minimal hugo theme

Alphabetically sort CSS properties

Alan Pearce
commit

791259ea0c7ad71cde6f464e63b1baf14218d7b9

parent

f61a5f2911abc1506851980da5f4f6edd69d9134

1 file changed, 8 insertions(+), 9 deletions(-)

jump to
M static/css/style.cssstatic/css/style.css
@@ -1,19 +1,19 @@
body { + font-family: sans-serif; + line-height: 1.5em; + margin: auto; max-width: 800px; - margin: auto; padding: 1em; - line-height: 1.5em; - font-family: sans-serif; } /* header and footer areas */ .menu { padding: 0; } .menu li { display: inline-block; } .article-meta, .menu a { - text-decoration: none; background: #eee; + border-radius: 5px; padding: 5px; - border-radius: 5px; + text-decoration: none; } .menu, .article-meta, footer { text-align: center; } .title { font-size: 1.1em; }
@@ -26,9 +26,8 @@
/* code */ pre { border: 1px solid #ddd; - box-shadow: 5px 5px 5px #eee; + overflow-x: auto; padding: 1em; - overflow-x: auto; } code { background: #f9f9f9; } pre code { background: none; }
@@ -43,9 +42,9 @@ padding: 3px 1em 3px;
} table { - margin: auto; - border-top: 1px solid #666; border-bottom: 1px solid #666; + border-top: 1px solid #666; + margin: auto; } table thead th { border-bottom: 1px solid #ddd; } th, td { padding: 5px; }