File: edith.css

package info (click to toggle)
pk4 5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 1,016 kB
  • sloc: sh: 146; makefile: 7
file content (43 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (2)
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
html, body {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    display: grid;
    grid-template-rows: 2em 80vh auto;
    /* nav:editor ratio is 3:9 */
    grid-template-columns: minmax(200px, 3fr) 9fr;
    grid-template-areas: "nav toolbar"
			     "nav editor"
			     "nav pending";
}

#navigation {
    grid-area: nav;
    max-height: 100vh;
    background-color: #c0c0c0;
    overflow: scroll;
}

#editor {
    grid-area: editor;
    max-height: 100%;
    overflow: hidden;
    background-color: #c0c0ff;
}

#editor .CodeMirror {
    height: 100%;
}

#toolbar {
    grid-area: toolbar;
}

#pending {
    grid-area: pending;
    background-color: #c0c000;
}