summaryrefslogblamecommitdiffstats
path: root/nfsw/static/io.css
blob: 84d71876a4665bdd89d910691ad7a4c718a20b75 (plain) (tree)
1
2
3
4
5
6
7
8




                                                     
                             

   




                                            
      
                           
                      

                     

                                   

 

                     


          

                       
                     

 

                       
                    
                           
                    
                       


         




                    





                            



                
                
                     

                                      
                           

                                      




                       
 
                                                                           
              
                         


     
                                                                           



                         
/**
 * SPDX-License-Identifier: ISC
 *
 * Copyright (C) 2019 rsiddharth <s@ricketyspace.net>
 *
 * This file is part of nfsw.
 */

@font-face {
    font-family: noto-mono;
    src: url('/static/fonts/noto-mono.ttf');
}

body {
    font-family: noto-mono;
    font-size: 0.88em;
    overflow: hidden;
    margin: 0 0 0 0;
    background-color: rgb(0, 0, 0);
    color: rgb(250, 250, 250);
}

.io-block  {
    position: static;
}

.console {
    position: relative;
    max-height: 91vh;
    overflow-y: auto;
}

.console pre.concierge,
.console pre.blank,
.console pre.error {
    font-family: noto-mono;
    margin: 0 0 0 0;
    padding-left: 10px;
}

.prompt {
    position: fixed;
    bottom: 5px;
    left: auto;
    right: auto;
    width: 100vw;
}

.prompt form {
    display:flex;
    flex-direction: row;
    justify-content: center;
    height: 98%;
}

.prompt input {
    width: 93vw;
    font-size: 1.2em;
    padding: 9px;
    border: 2px solid rgb(60, 60, 60);
    font-family: noto-mono;
    background-color: rgb(50, 50, 50);
    color: rgb(250, 250, 250);
}

.prompt input:focus {
    outline-width: 0px;
}

@media (min-height: 401px) and (max-height: 812px) and (max-width: 550px) {
    .console {
        max-height: 80vh;
    }
}

@media (min-height: 240px) and (max-height: 400px) and (max-width: 820px) {
    .console {
        max-height: 60vh;
    }
}