Re: lilypond-manuals.css: edit color scheme and some spacing

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: lilypond-manuals.css: edit color scheme and some spacing

Flaming Hakama by Elaine
>
> I feel like the table of contents bar at the left is too wide.
>>
>
> I agree; it can get a bit wide especially on wider monitors/windows.
> (Note I have not changed its width in this patch.)  Currently the size is a
> percentage of the window width.  We could make that smaller, but at the
> risk that it gets too narrow on smaller screens/windows.
>
> Another way would involve a different approach in the css, allowing us to
> set a maximum and minimum width to it.  But this would entail more
> work/changes to the css and maybe the html.  (e.g. to use floats, flexbox,
> or grid positioning rather than the current "position: fixed;" approach.)
>
> Or... we could keep the "position: fixed;" approach and set the width to a
> constant amount rather than a percentage.  And/or we could also set media
> query break points to change that constant for different window widths.
> This could even be combined with the percentages so it could effectively
> have a max and min width and be set by percent in between.
>
> In any case this would warrant its own issue.
>
> But I would be fine with it being like this.
>>
>
> Glad to hear, and thanks for the feedback.
>
> -Paul
>

CSS is happy with both properties set:
width as a percentage and min-width as an absolute value.

There is no conflict and they should work together well.


David Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
[hidden email]
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
lilypond-devel mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: lilypond-manuals.css: edit color scheme and some spacing

Paul Morris
On 06/12/2017 03:02 PM, Flaming Hakama by Elaine wrote:

> CSS is happy with both properties set:
> width as a percentage and min-width as an absolute value.
>
> There is no conflict and they should work together well.

Hi, yes, thanks, but... I glossed over the details.  If you look at the
css file you'll find that the main content div is positioned so that its
"left" property is a percentage that corresponds with the sidebar's
"right" property.  There is actually no "width" property in use and I
don't think there is a maximum left/right css property to use, thus...
what I wrote in my previous email.

-Paul

_______________________________________________
lilypond-devel mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: lilypond-manuals.css: edit color scheme and some spacing

Flaming Hakama by Elaine
In reply to this post by Flaming Hakama by Elaine
> ---------- Forwarded message ----------
> From: Paul <[hidden email]>
> To: [hidden email]
> Date: Mon, 12 Jun 2017 15:33:59 -0400
> Subject: Re: lilypond-manuals.css: edit color scheme and some spacing
> On 06/12/2017 03:02 PM, Flaming Hakama by Elaine wrote:
>
> CSS is happy with both properties set:
>> width as a percentage and min-width as an absolute value.
>>
>> There is no conflict and they should work together well.
>>
>
> Hi, yes, thanks, but... I glossed over the details.  If you look at the
> css file you'll find that the main content div is positioned so that its
> "left" property is a percentage that corresponds with the sidebar's "right"
> property.  There is actually no "width" property in use and I don't think
> there is a maximum left/right css property to use, thus... what I wrote in
> my previous email.
>
> -Paul
>
>


Oops, correct, I didn't look and didn't expect such a fragile way of
positioning two-column content.

Leaving the layout approach as-is, you can mimic this by using left:
calc(Xpx + Y%), where X is the minimum and Y is somewhat less than it was
previously.



David Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
[hidden email]
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
lilypond-devel mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-devel