[Pillar] Font-size on DeckJS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Pillar] Font-size on DeckJS

Yann Dubois
Hello world,

I work today on a problem when we generate a presentation with DeckJS, the font size is very small on projection.

I've find an issue for this, and you need to create a template with all deckJS dependancies, and an other css file to change some rules.


To change the font-size of a body slide (not title or subtitle), you need to rewrite this rules like this :

.deck-slide-scaler p {
  font-size: 64px
}

The scaling always works, and you don't need to touch the deckjs files.
Reply | Threaded
Open this post in threaded view
|

Re: [Pillar] Font-size on DeckJS

abergel
Is this related to Pharo?

Alexandre


> On Mar 18, 2016, at 5:30 PM, Yann Dubois <[hidden email]> wrote:
>
> Hello world,
>
> I work today on a problem when we generate a presentation with DeckJS, the font size is very small on projection.
>
> I've find an issue for this, and you need to create a template with all deckJS dependancies, and an other css file to change some rules.
>
>
> To change the font-size of a body slide (not title or subtitle), you need to rewrite this rules like this :
>
> .deck-slide-scaler p {
>   font-size: 64px
> }
>
> The scaling always works, and you don't need to touch the deckjs files.

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply | Threaded
Open this post in threaded view
|

Re: [Pillar] Font-size on DeckJS

Yann Dubois

Yes, last week since a presentation in class with Damien Cassou and stepharo, they said that the presentation generated with pillar has a small font size and it would be good to having a way to change that.

It s not a pharo issue but I think it could be useful for pillar's users.

Le 18 mars 2016 17:44, "Alexandre Bergel" <[hidden email]> a écrit :
Is this related to Pharo?

Alexandre


> On Mar 18, 2016, at 5:30 PM, Yann Dubois <[hidden email]> wrote:
>
> Hello world,
>
> I work today on a problem when we generate a presentation with DeckJS, the font size is very small on projection.
>
> I've find an issue for this, and you need to create a template with all deckJS dependancies, and an other css file to change some rules.
>
>
> To change the font-size of a body slide (not title or subtitle), you need to rewrite this rules like this :
>
> .deck-slide-scaler p {
>   font-size: 64px
> }
>
> The scaling always works, and you don't need to touch the deckjs files.

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply | Threaded
Open this post in threaded view
|

Re: [Pillar] Font-size on DeckJS

stepharo
In reply to this post by Yann Dubois
Hi yann

please do a pull request to change the CSS in the PharoMooc.

stef

Le 18/3/16 17:30, Yann Dubois a écrit :

> Hello world,
>
> I work today on a problem when we generate a presentation with DeckJS,
> the font size is very small on projection.
>
> I've find an issue for this, and you need to create a template with
> all deckJS dependancies, and an other css file to change some rules.
>
>
> To change the font-size of a body slide (not title or subtitle), you
> need to rewrite this rules like this :
>
> .deck-slide-scaler p {
>   font-size: 64px
> }
>
> The scaling always works, and you don't need to touch the deckjs files.


Reply | Threaded
Open this post in threaded view
|

Re: [Pillar] Font-size on DeckJS

stepharo
In reply to this post by abergel
This is related to pillar because now you can write slides in pillar and
get
     - deckJS
     - Beamer

All the mooc support are using this behavior. So we are independent of
keynote
or ppt idiocies.

Stef

Le 18/3/16 17:41, Alexandre Bergel a écrit :

> Is this related to Pharo?
>
> Alexandre
>
>
>> On Mar 18, 2016, at 5:30 PM, Yann Dubois <[hidden email]> wrote:
>>
>> Hello world,
>>
>> I work today on a problem when we generate a presentation with DeckJS, the font size is very small on projection.
>>
>> I've find an issue for this, and you need to create a template with all deckJS dependancies, and an other css file to change some rules.
>>
>>
>> To change the font-size of a body slide (not title or subtitle), you need to rewrite this rules like this :
>>
>> .deck-slide-scaler p {
>>    font-size: 64px
>> }
>>
>> The scaling always works, and you don't need to touch the deckjs files.