elitistsnob / typora-cobalt-theme

A dark theme for Typora with enhanced UI
377 stars 105 forks source link

Wasted screen space #18

Open dazdaz opened 3 years ago

dazdaz commented 3 years ago

Cobalt is by far the best theme on Typora but i'm surprised that so much screen space is wasted from

Which stylesheet settings would need to be edited in cobalt.css manually to change this ?

SirGryphin commented 2 years ago

Edit: Not sure if you already figure this out for yourself as I've just seen it was posted months ago. Here it is anyway.

I've noticed this as well, it seems only certain theme use all screen space and there normally labeled "wide". If you want to do that for yours try this:

Default

#write {
    background: #131b29;
    color: #a9aaab;
    margin: 0 auto;
    max-width: 800px;
    padding: 30px;
    padding-bottom: 100px;
    position: static;
    width: 90%;
}

Wide Just change max-width, you can find this bit of css between lines 70-79.

#write {
    background: #131b29;
    color: #a9aaab;
    margin: 0 auto;
    max-width: 100%;
    padding: 30px;
    padding-bottom: 100px;
    position: static;
    width: 90%;
}

I hope this helps, I'm trying to get into CSS myself as I love this theme but there's a few thing I would like to change and I would also like to fix file icons as well. It seems like author hasn't been around for a few months.

dazdaz commented 2 years ago

Nice one, thanks for sharing. I can confirm that this CSS setting works well for me and is better than my workaround using fixed pixels.