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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
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
Show 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 @@
...
@@ -95,8 +95,8 @@
pre
{
pre
{
padding
:
0
;
padding
:
0
;
margin
:
0
;
margin
:
0
;
background
:none
;
border
:none
;
border
:none
;
border-radius
:
0
;
}
}
}
}
}
}
...
@@ -142,8 +142,8 @@
...
@@ -142,8 +142,8 @@
table-layout
:
fixed
;
table-layout
:
fixed
;
pre
{
pre
{
background
:
none
;
border
:
none
;
border
:
none
;
border-radius
:
0
;
font-family
:
'Menlo'
,
'Liberation Mono'
,
'Consolas'
,
'Courier New'
,
'andale mono'
,
'lucida console'
,
monospace
;
font-family
:
'Menlo'
,
'Liberation Mono'
,
'Consolas'
,
'Courier New'
,
'andale mono'
,
'lucida console'
,
monospace
;
font-size
:
12px
!
important
;
font-size
:
12px
!
important
;
line-height
:
16px
!
important
;
line-height
:
16px
!
important
;
...
...
app/assets/stylesheets/highlight/dark.scss
View file @
dc99b19a
.black
.lines
.highlight
{
.black
.highlight
{
background
:
#333
;
pre
{
pre
{
color
:
#eee
;
}
background-color
:
#333
;
color
:
#eee
;
}
.hll
{
display
:
block
;
background-color
:
darken
(
$hover
,
65%
)
}
.hll
{
display
:
block
;
background-color
:
darken
(
$hover
,
65%
)
}
.c
{
color
:
#888888
;
font-style
:
italic
}
/* Comment */
.c
{
color
:
#888888
;
font-style
:
italic
}
/* Comment */
...
...
app/assets/stylesheets/highlight/white.scss
View file @
dc99b19a
.white
.lines
.highlight
{
.white
.highlight
{
background
:
white
;
pre
{
pre
{
color
:
#333
;
}
background-color
:
#fff
;
color
:
#333
;
}
.hll
{
display
:
block
;
background-color
:
$hover
}
.hll
{
display
:
block
;
background-color
:
$hover
}
.c
{
color
:
#888888
;
font-style
:
italic
}
/* Comment */
.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