On Wed, Feb 3, 2021 at 9:45 PM Michael Wiktowy <[email protected]> wrote:

> wrt 1). Changing the $:/plugins/kookma/tamasha/styles/layout/content 
> stylesheet
> to get rid of the max-width (and controlling content width via padding) and
> making sizes relative to vmin rather than vh seems to get pretty good
> results even for narrow windows.
>
> .tamasha-slide-content {
> font-size: 1.3rem;
> line-height: 1.85rem;
> padding: 30px;
> margin: 0 auto;
> height: 480px;
> overflow: hidden;
> margin-bottom: 4rem;
> }
> .tamasha-overlay .tamasha-slide-content {
> font-size: 3vmin;
> line-height: 5vmin;
> height: auto;
> padding: clamp(20px, 10vmin, 20%);
> }
>
>
Thank you Mike! We will give a try to see how it works.



> There is still a fine range of aspect ratios where the content still
> overflows but it is better.
>
> I found the clamp bit here:
>
> https://stackoverflow.com/questions/38078957/can-we-define-min-margin-and-max-margin-max-padding-and-min-padding-in-css
>
> Maybe there is some application of clamp(), max() and min() in font-size
> directly make sure fonts are readable.
>
>
> Let's have a look.



> /Mike
>
> On Wednesday, February 3, 2021 at 12:31:22 PM UTC-4 Michael Wiktowy wrote:
>
>> Hi Mohammad,
>>
>> This is looking really good. Some feedback:
>> 1) Counter-intuitively, looking at the long long tiddler slide, your vh
>> scaling works on small windows but then text over-flows on large/fullscreen
>> windows. I think it is the fact that the horizontal size of the slide
>> content does not change with with the same proportion as the vertical size
>> and the larger text ends up wrapping more and then flows off the bottom.
>> Some scaling of the content window width needs to happen too.
>> 2) How do you sort the slides? Is there a way to specify the sort field
>> and methodology? I couldn't find anything on that and it seems that Tamasha
>> just uses the default unsorted list which, in my experience, will shift
>> occasionally. I see a "slide sorter" tiddler in there so maybe there is
>> some planned functionality that I need to wait for.
>>
>> Thanks,
>> /Mike
>> On Tuesday, February 2, 2021 at 2:42:45 PM UTC-4 Mohammad wrote:
>>
>>> I would like to announce the new experimental release of Tamasha plugin.
>>>
>>> *Code and demo*
>>> Demo: https://kookma.github.io/TW-Tamasha
>>> Code: https://github.com/kookma/TW-Tamasha
>>>
>>> This beta release has some new features
>>>
>>> *Release 0.4.3*
>>> Feb 2nd, 2021
>>> [NEW] Experimental font size using linear scaling based on vh
>>> [NEW] kimia theme which hides slide number and nav buttons and uses
>>> default Tiddlywiki default setting
>>> [NEW] classes to hide UI elements (slide number, nav buttons, progress
>>> bar)
>>>
>>> The size kept around 34Kb as of the previous update.
>>>
>>> *Please contribute with your feedback*
>>> There are some ongoing experiments on automatic font scaling based on
>>> the screen size. I like people who have access to big screens, especially a
>>> video projector (which can create a big picture around 2m x 2m) give a try
>>> and send me their feedback on the font size, readability and overflow. The
>>> feedback can be posted here or preferably to
>>> https://github.com/kookma/TW-Tamasha
>>> On the other end, feedback from the small screens is welcome.
>>>
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1b462f6d-5ced-443e-af94-b3727fa251d6n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/1b462f6d-5ced-443e-af94-b3727fa251d6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMC6Q06xy7gJ6ZfphJEyME1MknPQu%2BxNK3aZw-frFD2m6A%40mail.gmail.com.

Reply via email to