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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
d54845a1
Commit
d54845a1
authored
Mar 04, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use md-typography for note content
parent
dc7507cf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
+11
-0
app/assets/stylesheets/gitlab_bootstrap/typography.scss
app/assets/stylesheets/gitlab_bootstrap/typography.scss
+2
-8
app/assets/stylesheets/sections/notes.scss
app/assets/stylesheets/sections/notes.scss
+1
-0
No files found.
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
View file @
d54845a1
...
...
@@ -75,3 +75,14 @@
line-height
:
36px
;
font-weight
:
normal
;
}
@mixin
md-typography
{
code
{
padding
:
0
4px
;
}
p
{
font-size
:
13px
;
}
h1
{
font-size
:
26px
;
line-height
:
40px
;
margin
:
10px
0
;}
h2
{
font-size
:
22px
;
line-height
:
40px
;
margin
:
10px
0
;}
h3
{
font-size
:
18px
;
line-height
:
40px
;
margin
:
10px
0
;}
h4
{
font-size
:
16px
;
line-height
:
20px
;
margin
:
10px
0
;}
h5
{
font-size
:
14px
;
line-height
:
20px
;
margin
:
10px
0
;}
h6
{
font-size
:
12px
;
line-height
:
20px
;
margin
:
10px
0
;}
}
app/assets/stylesheets/gitlab_bootstrap/typography.scss
View file @
d54845a1
...
...
@@ -87,17 +87,11 @@ a:focus {
*
*/
.wiki
{
@include
md-typography
;
font-size
:
13px
;
line-height
:
20px
;
code
{
padding
:
0
4px
;
}
p
{
font-size
:
13px
;
}
h1
{
font-size
:
26px
;
line-height
:
40px
;
margin
:
10px
0
;}
h2
{
font-size
:
22px
;
line-height
:
40px
;
margin
:
10px
0
;}
h3
{
font-size
:
18px
;
line-height
:
40px
;
margin
:
10px
0
;}
h4
{
font-size
:
16px
;
line-height
:
20px
;
margin
:
10px
0
;}
h5
{
font-size
:
14px
;
line-height
:
20px
;
margin
:
10px
0
;}
h6
{
font-size
:
12px
;
line-height
:
20px
;
margin
:
10px
0
;}
.white
.highlight
pre
{
background
:
#f5f5f5
;
}
ul
{
margin
:
0
0
9px
25px
!
important
;
}
}
app/assets/stylesheets/sections/notes.scss
View file @
d54845a1
...
...
@@ -83,6 +83,7 @@ ul.notes {
margin-top
:
-20px
;
}
.note-body
{
@include
md-typography
;
margin-left
:
45px
;
}
.note-header
{
...
...
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