hliu202 / typora-purple-theme

A purple theme for Typora
MIT License
443 stars 83 forks source link

How Can I Squeeze the Body to 75% of the Screen Instead of 100% Width? #37

Closed aaaaamir closed 2 years ago

aaaaamir commented 2 years ago

I tried modifying the purple.css file to

@media print {
    html {
        font-size: 0.9rem;
    }
    table,
    pre {
        page-break-inside: avoid;
    }
    pre {
        word-wrap: break-word;
    }
    #write {
        max-width: 75%;
    }
    @page {
        size: A3;
        /* PDF output size */
        margin-left: 0;
        margin-right: 0;
    }
}

but no difference .. also I am not sure if i am supposed to modify the heading widths as well?

aaaaamir commented 2 years ago

note the ^ max-width: 75%;

aaaaamir commented 2 years ago

Changed it to max-width: 50% in a separate, non enclosed block right above it and it worked across the whole theme. Closing