forked from saxarona/mathjax-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
114 lines (91 loc) · 2.06 KB
/
style.css
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/*
* General
*/
code {
background-color: #383838;
}
.button.gray, button.gray {
color: #eee;
background-color: #555;
}
.button.cyan, button.cyan {background-color: #318BAA;}
.button.green, button.green {background-color: #2B8041;}
.button.red, button.red {background-color: #773333;}
.button.orange, button.orange {background-color: #A8642B;}
.button.pink, button.pink {background-color: #783465;}
.button.purple, button.purple {background-color: #504488;}
.button.navy, button.navy {background-color: #254E79;}
.button.yellow, button.yellow {background-color: #ABB82C;}
/*
* Main layout
*/
body {
background-color: #222;
color: #fff;
}
#app {
padding-top: 1cm;
max-width: 960px;
margin: auto auto;
}
/*
* Rendering areas
*/
.render,
select {
border-radius: 5px;
}
.render, select, .hstack input {
background-color: #333;
border: 1px solid #555;
}
textarea.render,
div.render {
min-height: 3cm;
padding: 0.5cm;
}
/* MathJax Overrides. Needed for proper SVG exports.*/
span.MathJax.MathJax_FullWidth {display: inline !important;}
div.MathJax_Display, div.MathJax_SVG_Display {margin: 1em auto !important; width: min-content !important;}
/*
* Horizontal stacks
*/
.hstack input {
vertical-align: middle;
margin-left: -5px;
margin-top: -2px;
height: 100%;
}
.hstack {
display: inline-block
}
.hstack .button {
cursor: pointer;
margin: 0 auto;
}
.hstack .button:not(:first-child),
.hstack :not(.first):not(:first-child) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.hstack .button:not(:last-child),
.hstack :not(.last):not(:last-child) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
/*
* Cheat sheet
*/
#cheatsheet tbody tr td:nth-child(2) div {
padding: .3em .6em;
background-color: #383838;
font-family: monospace;
font-size: 0.9em;
border-radius: 4px;
}
#cheatsheet thead tr th {
background-color: #444;
}
.hstack.adder span.button:not(:first-child), .hstack.adder button:not(:first-child) {
border-left: 1px solid #222;
}