Skip to content

Commit dfb9da2

Browse files
authored
Merge pull request #11 from bit-docs/highlight
Add some basic line highlighting styles
2 parents a7b752e + 7929b28 commit dfb9da2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

static/styles/highlight.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.line-highlight {
2+
margin: 15px 0;
3+
}
4+
5+
.line-highlight span.line {
6+
display: block;
7+
background: #e5f6e5;
8+
padding: 1px 0;
9+
}
10+

static/styles/styles.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
@import 'sidebar.less';
1111
@import 'guides.less';
1212
@import 'ie.less';
13+
@import 'highlight.less';
1314

1415
.search-wrapper {
1516
position:relative;

0 commit comments

Comments
 (0)