jcubic / jquery.terminal

jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands
https://terminal.jcubic.pl
MIT License
3.12k stars 569 forks source link

Document responsive font size #628

Open jcubic opened 4 years ago

jcubic commented 4 years ago

I have idea for a new feature for jQuery Terminal

In Figlet Pipe demo I've added responsive font size with media queries and --size. It should be documented. https://codepen.io/jcubic/pen/vYLvvXx?editors=0110

This is important for big screens, default font is way to small for big screens

jcubic commented 3 years ago

Alternative is:

@media (min-width: 800px) {
    :root {
        --size: 1.2;
    }
}
@media (min-width: 1200px) {
    :root {
        --size: 1.5;
    }
}