summaryrefslogtreecommitdiffstats
path: root/nfsw/static/io.css
blob: 095831128fccde4c2dc387ec4b8e9238dd10109a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/**
 * SPDX-License-Identifier: ISC
 *
 * Copyright (C) 2019 rsiddharth <s@ricketyspace.net>
 *
 * This file is part of dingy.
 */

@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;
    }
}