Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
91036026
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
91036026
编写于
9月 22, 2015
作者:
A
Andrey
提交者:
Dmitriy Zaporozhets
9月 23, 2015
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improve UI for rendered markdown
上级
0ce5fb71
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
63 addition
and
17 deletion
+63
-17
app/assets/stylesheets/base/mixins.scss
app/assets/stylesheets/base/mixins.scss
+57
-15
app/assets/stylesheets/generic/typography.scss
app/assets/stylesheets/generic/typography.scss
+6
-2
未找到文件。
app/assets/stylesheets/base/mixins.scss
浏览文件 @
91036026
...
...
@@ -93,46 +93,87 @@
}
h1
{
margin-top
:
45px
;
font-size
:
2
.5em
;
font-size
:
1
.3em
;
font-weight
:
600
;
margin
:
24px
0
12px
0
;
padding
:
0
0
10px
0
;
border-bottom
:
1px
solid
#e7e9ed
;
color
:
#313236
;
}
h2
{
margin-top
:
40px
;
font-size
:
2em
;
font-size
:
1
.2em
;
font-weight
:
600
;
margin
:
24px
0
12px
0
;
color
:
#313236
;
}
h3
{
margin
-top
:
35px
;
font-size
:
1
.5em
;
margin
:
24px
0
12px
0
;
font-size
:
1
.
2
5em
;
}
h4
{
margin-top
:
30px
;
font-size
:
1
.2em
;
margin
:
24px
0
12px
0
;
font-size
:
1
.1em
;
}
h5
{
margin
:
24px
0
12px
0
;
font-size
:
1em
;
}
h6
{
margin
:
24px
0
12px
0
;
font-size
:
0
.90em
;
}
blockquote
{
color
:
#888
;
padding
:
8px
21px
;
margin
:
12px
0
12px
;
border-left
:
3px
solid
#e7e9ed
;
}
blockquote
p
{
color
:
#7f8fa4
!
important
;
font-size
:
15px
;
line-height
:
1
.5
;
}
p
{
color
:
#5c5d5e
;
margin
:
6px
0
0
0
;
}
table
{
@extend
.table
;
@extend
.table-bordered
;
margin
:
12px
0
12px
0
;
color
:
#5c5d5e
;
th
{
background
:
#EEE
;
}
background
:
#f8fafc
;
}
}
pre
{
margin
:
12px
0
12px
0
!
important
;
background-color
:
#f8fafc
!
important
;
font-size
:
13px
!
important
;
color
:
#5b6169
!
important
;
line-height
:
1
.6em
!
important
;
}
p
>
code
{
font-size
:
inherit
;
font-weight
:
inherit
;
}
ul
{
color
:
#5c5d5e
;
}
li
{
line-height
:
1
.
5
;
line-height
:
1
.
6em
;
}
a
[
href
*=
"/uploads/"
],
a
[
href
*=
"storage.googleapis.com/google-code-attachments/"
]
{
...
...
@@ -152,6 +193,7 @@
}
}
@mixin
str-truncated
(
$max_width
:
82%
)
{
display
:
inline-block
;
overflow
:
hidden
;
...
...
@@ -183,7 +225,7 @@
&
.active
{
background
:
#f9f9f9
;
a
{
font-weight
:
bold
;
font-weight
:
600
;
}
}
...
...
app/assets/stylesheets/generic/typography.scss
浏览文件 @
91036026
...
...
@@ -55,6 +55,7 @@ a > code {
@include
md-typography
;
word-wrap
:
break-word
;
padding
:
7px
;
/* Link to current header. */
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
...
...
@@ -83,9 +84,12 @@ a > code {
}
}
ul
{
ul
,
ol
{
padding
:
0
;
margin
:
0
0
9px
25px
!
important
;
margin
:
6px
0
6px
18px
!
important
;
}
ol
{
color
:
#5c5d5e
;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录