mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 15:46:08 +10:00
Small improvements to code rendering for white highlight
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -60,7 +60,6 @@
|
||||
|
||||
.highlight {
|
||||
margin-bottom: 9px;
|
||||
@include border-radius(4px);
|
||||
|
||||
> pre {
|
||||
margin: 0;
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
.white {
|
||||
background-color: #fff;
|
||||
|
||||
.line.hll {
|
||||
background: #FFA;
|
||||
}
|
||||
|
||||
.highlight{
|
||||
border-left: 1px solid #eee;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
@@ -179,8 +173,16 @@
|
||||
@include box-shadow(0 5px 15px #000);
|
||||
}
|
||||
|
||||
.wiki, .note-body {
|
||||
.highlight {
|
||||
border: 1px solid #DDD;
|
||||
.file-content {
|
||||
&.code .white {
|
||||
.highlight {
|
||||
border-left: 1px solid #eee;
|
||||
}
|
||||
}
|
||||
|
||||
&.wiki .white {
|
||||
.highlight, pre, .hljs {
|
||||
background: #F9F9F9;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user