Commit 8af03769 authored by Mikaël Salson's avatar Mikaël Salson

css: border around the N

Use box-shadow instead of border as a box-shadow doesn't take any space (thanks to http://stackoverflow.com/a/18841365/1192742).
For some reason the shadow on the right cannot be seen so we put it on the left of the N, the D and the J (only when they are preceded by a N).
parent 90dd5391
......@@ -577,6 +577,11 @@ line {
color: #000;
background-color: #ffffe2;
}
.N,
.N + .J,
.N + .D {
box-shadow: -1px 0 0 #839496;
}
.highlight_border,
.highlight_seq {
display: inline-flex;
......
......@@ -577,6 +577,11 @@ line {
color: #000;
background-color: #ffffe2;
}
.N,
.N + .J,
.N + .D {
box-shadow: -1px 0 0 #657b83;
}
.highlight_border,
.highlight_seq {
display: inline-flex;
......
......@@ -576,6 +576,11 @@ line {
color: #000;
background-color: #ffffe2;
}
.N,
.N + .J,
.N + .D {
box-shadow: -1px 0 0 #777777;
}
.highlight_border,
.highlight_seq {
display: inline-flex;
......
......@@ -576,6 +576,11 @@ line {
color: #000;
background-color: #ffffe2;
}
.N,
.N + .J,
.N + .D {
box-shadow: -1px 0 0 #657b83;
}
.highlight_border,
.highlight_seq {
display: inline-flex;
......
......@@ -712,6 +712,9 @@ line {
color: #000;
background-color: #ffffe2;
}
.N, .N + .J, .N + .D {
box-shadow: -1px 0 0 @default;
}
.highlight_border, .highlight_seq {
display: inline-flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment