Mercurial > kallithea
view docs/usage/backup.rst @ 7044:eaf600434cf5
less: change markup and styling for the logo shown in the top left corner
Based on work by Dominik Ruf, but in this changeset, the goal is just to
improve markup and styling while keeping exactly the same look and feel. In
that process, it also fixes some browser specific issues that gave odd
spacing/positioning.
All styling (especially the logo image URL) is moved to CSS/LESS, using
background-image styling instead of an img tag.
The logo image is made a :before on the site branding text and will usually
have to align with this text, so we use inline-block to align to the baseline.
We set the right amount of negative margin-bottom so the image can go below the
baseline.
We use a "big enough" negative margin-top to allow the image to bleed outside
the line height and into the 12px top padding.
We assume the background image doesn't need cropping or panning and do thus not
set background-size, background-position, or background-repeat.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 27 Nov 2017 02:55:44 +0100 |
parents | fbbe80e3322b |
children |
line wrap: on
line source
.. _backup: ==================== Backing up Kallithea ==================== Settings -------- Just copy your .ini file, it contains all Kallithea settings. Whoosh index ------------ The Whoosh index is located in the ``data/index`` directory where you installed Kallithea, i.e., the same place where the ini file is located Database -------- When using sqlite just copy kallithea.db. Any other database engine requires a manual backup operation. A database backup will contain all gathered statistics.