Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
dc99b19a
Commit
dc99b19a
authored
Nov 27, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CSS for code highlighting
parent
d2767221
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
app/assets/stylesheets/gitlab_bootstrap/files.scss
app/assets/stylesheets/gitlab_bootstrap/files.scss
+2
-2
app/assets/stylesheets/highlight/dark.scss
app/assets/stylesheets/highlight/dark.scss
+5
-3
app/assets/stylesheets/highlight/white.scss
app/assets/stylesheets/highlight/white.scss
+5
-3
No files found.
app/assets/stylesheets/gitlab_bootstrap/files.scss
View file @
dc99b19a
...
...
@@ -95,8 +95,8 @@
pre
{
padding
:
0
;
margin
:
0
;
background
:none
;
border
:none
;
border-radius
:
0
;
}
}
}
...
...
@@ -142,8 +142,8 @@
table-layout
:
fixed
;
pre
{
background
:
none
;
border
:
none
;
border-radius
:
0
;
font-family
:
'Menlo'
,
'Liberation Mono'
,
'Consolas'
,
'Courier New'
,
'andale mono'
,
'lucida console'
,
monospace
;
font-size
:
12px
!
important
;
line-height
:
16px
!
important
;
...
...
app/assets/stylesheets/highlight/dark.scss
View file @
dc99b19a
.black
.lines
.highlight
{
background
:
#333
;
pre
{
color
:
#eee
;
}
.black
.highlight
{
pre
{
background-color
:
#333
;
color
:
#eee
;
}
.hll
{
display
:
block
;
background-color
:
darken
(
$hover
,
65%
)
}
.c
{
color
:
#888888
;
font-style
:
italic
}
/* Comment */
...
...
app/assets/stylesheets/highlight/white.scss
View file @
dc99b19a
.white
.lines
.highlight
{
background
:
white
;
pre
{
color
:
#333
;
}
.white
.highlight
{
pre
{
background-color
:
#fff
;
color
:
#333
;
}
.hll
{
display
:
block
;
background-color
:
$hover
}
.c
{
color
:
#888888
;
font-style
:
italic
}
/* Comment */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment