-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 21.02.2010 18:44, schrieb Florian Diesch:
> Georg Brandl <[email protected]> writes:
>
>> Hmm, how much of these changes could/should be folded back into the agogo
>> stylesheet?
>>> --8<---------------cut here---------------start------------->8---
>>>
>>> a {
>>> color: {{ theme_linkcolor }};
>>> }
>>>
>>> div.sidebar a, div.header a {
>>> text-decoration: none;
>>> }
>>>
>>> div.sidebar a:hover, div.header a:hover {
>>> text-decoration: underline;
>>> }
>>>
>>> div.bodywrapper a, div.footer a{
>>> text-decoration: underline;
>>> }
>
> Show links in the body underlined and in the sidebar and
> header underlined only if the mouse is over them.
>
> Underlined links are easier to spot, especially on low contrast displays
> and for the color blind.
Agreed.
>>> div.sidebar li.toctree-l2 a {
>>> background-color: transparent;
>>> border: none;
>>> margin-left: 1.5em;
>>> border-bottom: 1px solid #dddddd;
>>> }
>>>
>>> div.sidebar li.toctree-l3 a {
>>> background-color: transparent;
>>> border: none;
>>> margin-left: 2.5em;
>>> border-bottom: 1px solid #dddddd;
>>> }
>
> Indent submenu items in the sidebar. In agogo you can't distinguish
> between level-2 and level-3 items.
>
> Would be useful to have it in agogo.
Yes, very useful.
>>> div.admonition {
>>> margin-top: 10px;
>>> margin-bottom: 10px;
>>> padding: 7px;
>>> border-left: 0.2em solid black;
>>> }
>>>
>>> p.admonition-title {
>>> margin: 0px 10px 5px 0px;
>>> font-weight: bold;
>
> Basic formatting for admonitions: A black bar on the left and a bold
> title. agogo doesn't have any support for admonitions.
>
> Would be nice to have different styles for different kinds of
> admonitions.
OK, I've added your basic style. How would you format different admonitions?
Maybe change the color of the bar?
>>> img {
>>> border: 0;
>
> I think image borders are ugly in most cases
Agreed.
>>> and changed
>>>
>>> --8<---------------cut here---------------start------------->8---
>>> div.body {
>>> padding-right: 2em;
>>> text-align: justify;
>>> }
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> to
>>>
>>> --8<---------------cut here---------------start------------->8---
>>> div.body {
>>> padding-right: 2em;
>>> }
>>> --8<---------------cut here---------------end--------------->8---
>
> Justified text tends to look ugly with short lines, especially in
> languages with lots of long words like German.
>
> Would be nice to have this as an option.
Added.
Many thanks for the improvements -- if you change more in the future, let
us know!
Thanks,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEARECAAYFAkuKKxAACgkQN9GcIYhpnLDMlACfZWNc4jdHV0eU4cqjI1au4+qv
BGwAoJ+0YKIO9EYvUupK3BUQMYCQbuG0
=lVFV
-----END PGP SIGNATURE-----
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.