Mercurial > kallithea
annotate dev_requirements.txt @ 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 | 02c820c5c48e |
children | 5ab31ff3011f |
rev | line source |
---|---|
6567
3c469080bb2a
setup: duplicate some requirements from setup.py to dev_requirements.txt so pip --upgrade versions match
Mads Kiilerich <mads@kiilerich.com>
parents:
6484
diff
changeset
|
1 babel >= 0.9.6, < 2.4 |
3c469080bb2a
setup: duplicate some requirements from setup.py to dev_requirements.txt so pip --upgrade versions match
Mads Kiilerich <mads@kiilerich.com>
parents:
6484
diff
changeset
|
2 waitress >= 0.8.8, < 1.0 |
6379
98dd27958280
test: bump pytest minimum version
Søren Løvborg <sorenl@unity3d.com>
parents:
6148
diff
changeset
|
3 pytest ~= 3.0 |
6026
dd676fdeda0f
setup: move test dependencies to dev_requirements.txt to make them optional
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
4 pytest-runner |
6148
28b1d67b1601
tests: drop upper bound to pytest-sugar version
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
6147
diff
changeset
|
5 pytest-sugar>=0.7.0 |
6728
02c820c5c48e
tests: use pytest-benchmark for performance tests
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
6630
diff
changeset
|
6 pytest-benchmark |
6027
7d258b3fbc49
setup: introduce pytest-catchlog as test dependency
Mads Kiilerich <madski@unity3d.com>
parents:
6026
diff
changeset
|
7 pytest-catchlog |
6630
d4e1692e25ab
tests: introduce webserver fixture
domruf <dominikruf@gmail.com>
parents:
6569
diff
changeset
|
8 pytest-localserver |
6026
dd676fdeda0f
setup: move test dependencies to dev_requirements.txt to make them optional
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
9 mock |
dd676fdeda0f
setup: move test dependencies to dev_requirements.txt to make them optional
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
10 sphinx |
6569
e1ab82613133
backend: replace Pylons with TurboGears2
Alessandro Molina <alessandro.molina@axant.it>
parents:
6567
diff
changeset
|
11 webtest < 3 |