miniblog

Miniblog: A command-line static blog system in Common Lisp
Log | Files | Refs | README | LICENSE

commit c7f979d211d46e19a378ce4b894cebf6ff05b43b
parent d527301792b800f931f7b68ee977057afc72db6a
Author: Decay <decaydjk@tilde.town>
Date:   Sun,  9 Feb 2020 01:24:25 +0000

Making display a little nicer for mobile

Diffstat:
Msrc/template.lhtml | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/template.lhtml b/src/template.lhtml @@ -12,7 +12,13 @@ section#miniblog-left { float: left; width: 15%; } section#miniblog-main { float: left; width: <%= (if (getf env :links) "65%" "80%") %>; } nav#miniblog-nav { float: left; width: 20%; } + table.calendar { float: left; } table.calendar td { width: 25%; } + @media screen and (max-width: 600px) { + section#miniblog-left { float: none; width: 100%; } + section#miniblog-main { float: none; width: "100%"; } + nav#miniblog-nav { float: none; width: 100%; } + } </style> <% @if stylesheet %> <link rel="stylesheet" type="text/css" href="<% @var stylesheet %>">