summaryrefslogtreecommitdiff
path: root/static/style.css
blob: bceabfe6112b0e14d74485d46a57d4204ecf72b7 (plain)
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/* Copyright 2019 Google LLC                              */
/*                                                        */
/* Use of this source code is governed by a BSD-style     */
/* license that can be found in the LICENSE file or at    */
/* https://developers.google.com/open-source/licenses/bsd */

body {
  font-family: Helvetica, sans-serif;
  font-size: 100%;
  color: #333;
  overflow-x: hidden;
  padding-bottom:50vw;
}

#main-output {
  margin-left: 20px;
}
#minimap {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0em;
  left: 0em;
  height: 85vh;
  width: 32px;
  overflow: hidden;
}
.status {
  flex: 1;
  width  : 30px;
  border-top: 1px solid;
  border-color: lightgray;
  margin-left: 1px;
}
#hover-info {
  position: fixed;
  height: 15vh;
  bottom: 0em;
  width: 100vw;
  overflow: hidden;
  background-color: white;
  border-top: 1px solid firebrick;
  font-family: monospace;
  white-space: pre;
}
/* cell structure */
.cell {
  margin-left: 5px;
  display: flex;
}
.line-nums {
  flex: 0 0 3em;
  height: 100%;
  text-align: right;
  color: #808080;
  font-family: monospace;
  white-space: pre;
}
.contents {
  margin-left: 1em;
  font-family: monospace;
  white-space: pre;
}

/* special results */
.err-result {
  font-weight: bold;
  color: #B22222;
}

/* status colors */
.status-inert   {}
.status-waiting {background-color: gray;}
.status-running {background-color: lightblue;}
.status-err     {background-color: red;}
.status-success {background-color: white;}

/* span highlighting */
.highlight-error {
  text-decoration: red wavy underline;
  text-decoration-skip-ink: none;}
.highlight-group { background-color: yellow; }
.highlight-leaf  { background-color: lightgray; }

/* lexeme colors */
.comment   {color: gray;}
.keyword   {color: #0000DD;}
.command   {color: #A80000;}
.symbol    {color: #E07000;}
.type-name {color: #A80000;}

.status-hover {
  background-color: yellow;
}