36:c43e16e3c768
Anton Shestakov <av6@dwimlabs.net>, Mon, 13 Apr 2020 10:05:40 +0800
changeset: change margins on commit message so it fits the page better Previously, margins were used to visually separate commit message from author. Because of the left margin, it looked a bit out of place, so let's instead remove the left margin and increase the top one. This way it aligns better with surrounding blocks. Making commit message stand on its own on the page is now delegated to just monospace font. The difference with other blocks is not huge, but the whole theme is kinda minimalistic, so it should work.

previous change 28:47e49c49c7c7

README.rst

Permissions: -rw-r--r--

Other formats: Feeds:
kit
---
A simple UIkit_-based theme for hgweb.
Compatibility
=============
This theme is designed to work with `Mercurial 4.6`_\+ (primarily because it
relies on {labels} being iterable in templates).
Installation
============
The recommended way is to create 2 symlinks to templates/kit/ and
templates/static/style-kit.css in templates directory of your hgweb
installation in such way::
$ ls -l mercurial/templates/
...
gitweb
json
kit -> kit-repo/templates/kit/
kit-repo
monoblue
...
$ ls -l mercurial/templates/static/
...
style-gitweb.css
style-kit.css -> ../kit-repo/templates/static/style-kit.css
style-monoblue.css
...
(Since this theme doesn't bundle all the needed static files, you can't just do
web.templates = kit/templates/.)
After that, the theme can be selected as any other::
[web]
style = kit
License
=======
GNU GPLv2+, since it is technically based on gitweb, a theme bundled_ with
Mercurial.
Screenshot
==========
.. image:: https://bitbucket.org/av6/hgweb-kit-theme/raw/tip/screenshot.png
:width: 610px
.. _UIkit: https://getuikit.com/v2/
.. _Mercurial 4.6: https://www.mercurial-scm.org/wiki/Release4.6
.. _bundled: https://www.mercurial-scm.org/wiki/AvailableThemes#Bundled_with_Mercurial