forked from kpdecker/jsdiff
-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
81 lines (77 loc) · 1.18 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
* {
margin: 0;
padding: 0;
}
html, body {
background: #EEE;
font: 12px sans-serif;
}
body {
padding-top: 1.8em;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html, body, table, tbody, tr, td {
height: 100%
}
table {
table-layout: fixed;
width: 100%;
}
td {
width: 33%;
padding: 3px 4px;
border: 1px solid transparent;
vertical-align: top;
font: 1em monospace;
text-align: left;
white-space: pre-wrap;
}
h1 {
display: inline;
font-size: 100%;
}
del {
text-decoration: none;
color: #b30000;
background: #fadad7;
}
ins {
background: #eaf2c2;
color: #406619;
text-decoration: none;
}
#settings {
position: absolute;
top: 0;
left: 5px;
right: 5px;
height: 2em;
line-height: 2em;
}
#settings label {
margin-left: 1em;
}
.source {
position: absolute;
right: 1%;
top: .2em;
}
[contentEditable] {
background: #F9F9F9;
border-color: #BBB #D9D9D9 #DDD;
border-radius: 4px;
-webkit-user-modify: read-write-plaintext-only;
outline: none;
}
[contentEditable]:focus {
background: #FFF;
border-color: #6699cc;
box-shadow: 0 0 4px #2175c9;
}
@-moz-document url-prefix() {
body {
height: 99%; /* Hide scroll bar in Firefox */
}
}