Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
beyond-clouds-front
Commits
48f433d9
Commit
48f433d9
authored
Feb 18, 2020
by
yanju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 code 的全局样式
parent
6d403a4d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
133 additions
and
368 deletions
+133
-368
assets/common.scss
+129
-0
pages/answer/detail/_id.vue
+1
-122
pages/blog/detail/_id.vue
+2
-124
pages/project/detail/_id.vue
+1
-122
No files found.
assets/common.scss
View file @
48f433d9
...
...
@@ -211,6 +211,135 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
}
%article-content
{
@extend
%markdown
;
padding
:
30
*
$length
0
;
word-wrap
:
break-word
;
overflow
:
hidden
;
font-size
:
14
*
$font-size
;
*
{
word-wrap
:
break-word
;
overflow
:
auto
;
font-size
:
14
*
$font-size
;
font-weight
:
400
;
}
b
,
strong
{
font-weight
:
bold
;
}
li
,
ul
,
ol
{
list-style
:
disc
inside
;
}
ul
,
ol
{
padding-left
:
40
*
$length
;
line-height
:
1
.75
;
font-weight
:
400
;
font-size
:
15px
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
#333
;
line-height
:
1
.5
;
margin-top
:
35px
;
margin-bottom
:
10px
;
}
h1
{
padding-bottom
:
12px
;
font-size
:
26px
;
line-height
:
1
.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h2
{
padding-bottom
:
12px
;
font-size
:
24px
;
line-height
:
1
.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h3
{
padding-bottom
:
12px
;
font-size
:
22px
;
line-height
:
1
.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h4
{
padding-bottom
:
18px
;
font-size
:
22px
;
line-height
:
1
.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
a
{
color
:
#00AAE6
;
}
p
{
font-size
:
15
*
$length
;
line-height
:
1
.75
;
font-weight
:
400
;
margin
:
22
*
$length
0
;
color
:
#333
;
}
li
{
font-size
:
15
*
$length
;
line-height
:
1
.75
;
font-weight
:
400
;
margin
:
11
*
$length
0
;
color
:
#333
;
}
blockquote
{
display
:
block
;
border-left
:
8
*
$length
solid
#d0e5f2
;
padding
:
5
*
$length
10
*
$length
;
line-height
:
1
.4
;
font-size
:
100%
;
background-color
:
#f1f1f1
;
margin
:
22
*
$length
0
;
}
table
{
border-top
:
1px
solid
#ccc
;
border-left
:
1px
solid
#ccc
;
font-size
:
14
*
$font-size
;
margin
:
22
*
$length
0
;
&
tbody
{
&
tr
{
}
}
}
code
{
width
:auto
;
}
img
,
audio
,
video
{
max-width
:
100%
;
height
:
auto
;
}
td
{
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
padding
:
3
*
$length
5
*
$length
;
}
th
{
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
padding
:
3
*
$length
5
*
$length
;
}
}
//文字超出不换行
%nowrap
{
overflow
:
hidden
;
...
...
pages/answer/detail/_id.vue
View file @
48f433d9
...
...
@@ -340,128 +340,7 @@
}
.article__content
{
@extend
%markdown;
padding
:
30
*$
length
0
;
word-wrap
:
break-word
;
overflow
:
hidden
;
font-size
:
14
*$
font-size
;
*{
word-wrap
:
break-word
;
overflow
:
auto
;
font-size
:
14
*$
font-size
;
font-weight
:
400
;
}
b
,
strong
{
font-weight
:
bold
;
}
li
,
ul
,
ol
{
list-style
:
disc
inside
;
}
ul
,
ol
{
padding-left
:
40
*$
length
;
line-height
:
1.75
;
font-weight
:
400
;
font-size
:
15px
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
#333
;
line-height
:
1.5
;
margin-top
:
35px
;
margin-bottom
:
10px
;
}
h1
{
padding-bottom
:
12px
;
font-size
:
26px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h2
{
padding-bottom
:
12px
;
font-size
:
24px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h3
{
padding-bottom
:
12px
;
font-size
:
22px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h4
{
padding-bottom
:
18px
;
font-size
:
22px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
a
{
color
:
#00AAE6
;
}
p
{
font-size
:
15
*$
length
;
line-height
:
1.75
;
font-weight
:
400
;
margin
:
22
*$
length
0
;
color
:
#333
;
}
li
{
font-size
:
15
*$
length
;
line-height
:
1.75
;
font-weight
:
400
;
margin
:
11
*$
length
0
;
color
:
#333
;
}
blockquote
{
display
:
block
;
border-left
:
8
*$
length
solid
#d0e5f2
;
padding
:
5
*$
length
10
*$
length
;
line-height
:
1.4
;
font-size
:
100%
;
background-color
:
#f1f1f1
;
margin
:
22
*$
length
0
;
}
table
{
border-top
:
1px
solid
#ccc
;
border-left
:
1px
solid
#ccc
;
font-size
:
14
*$
font-size
;
margin
:
22
*$
length
0
;
&
tbody{
&
tr{
}
}
}
img
,
audio
,
video
{
max-width
:
100%
;
height
:
auto
;
}
td
{
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
padding
:
3
*$
length
5
*$
length
;
}
th
{
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
padding
:
3
*$
length
5
*$
length
;
}
@extend
%article-content;
}
.article__like
{
...
...
pages/blog/detail/_id.vue
View file @
48f433d9
...
...
@@ -329,131 +329,9 @@
border-radius
:
4
*$
length
;
}
.article__content
{
@extend
%markdown;
padding
:
30
*$
length
0
;
word-wrap
:
break-word
;
overflow
:
hidden
;
color
:
#333
;
font-size
:
14
*$
font-size
;
letter-spacing
:
2
*$
length
;
*{
word-wrap
:
break-word
;
overflow
:
auto
;
font-size
:
14
*$
font-size
;
letter-spacing
:
0
;
font-weight
:
400
;
}
b
,
strong
{
font-weight
:
bold
;
}
li
,
ul
,
ol
{
list-style
:
disc
inside
;
}
ul
,
ol
{
padding-left
:
40
*$
length
;
line-height
:
1.75
;
font-weight
:
400
;
font-size
:
15px
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
#333
;
line-height
:
1.5
;
margin-top
:
35px
;
margin-bottom
:
10px
;
}
h1
{
padding-bottom
:
12px
;
font-size
:
26px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h2
{
padding-bottom
:
12px
;
font-size
:
24px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h3
{
padding-bottom
:
12px
;
font-size
:
22px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h4
{
padding-bottom
:
18px
;
font-size
:
22px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
a
{
color
:
#00AAE6
;
}
p
{
font-size
:
15
*$
length
;
line-height
:
1.75
;
font-weight
:
400
;
margin
:
22
*$
length
0
;
color
:
#333
;
}
li
{
font-size
:
15
*$
length
;
line-height
:
1.75
;
font-weight
:
400
;
margin
:
11
*$
length
0
;
color
:
#333
;
}
blockquote
{
display
:
block
;
border-left
:
8
*$
length
solid
#d0e5f2
;
padding
:
5
*$
length
10
*$
length
;
line-height
:
1.4
;
font-size
:
100%
;
background-color
:
#f1f1f1
;
margin
:
22
*$
length
0
;
}
table
{
border-top
:
1px
solid
#ccc
;
border-left
:
1px
solid
#ccc
;
font-size
:
14
*$
font-size
;
margin
:
22
*$
length
0
;
&
tbody{
&
tr{
}
}
}
img
,
audio
,
video
{
max-width
:
100%
;
height
:
auto
;
}
td
{
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
padding
:
3
*$
length
5
*$
length
;
}
th
{
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
padding
:
3
*$
length
5
*$
length
;
}
.article__content
{
@extend
%article-content;
}
...
...
pages/project/detail/_id.vue
View file @
48f433d9
...
...
@@ -346,128 +346,7 @@
}
.article__content
{
@extend
%markdown;
padding
:
30
*$
length
0
;
word-wrap
:
break-word
;
overflow
:
hidden
;
font-size
:
14
*$
font-size
;
*{
word-wrap
:
break-word
;
overflow
:
auto
;
color
:
#333
;
font-size
:
14
*$
font-size
;
font-weight
:
400
;
}
b
,
strong
{
font-weight
:
bold
;
}
li
,
ul
,
ol
{
list-style
:
disc
inside
;
}
ul
,
ol
{
padding-left
:
40
*$
length
;
line-height
:
1.75
;
font-weight
:
400
;
font-size
:
15px
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
#333
;
line-height
:
1.5
;
margin-top
:
35px
;
margin-bottom
:
10px
;
}
h1
{
padding-bottom
:
12px
;
font-size
:
26px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h2
{
padding-bottom
:
12px
;
font-size
:
24px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h3
{
padding-bottom
:
12px
;
font-size
:
22px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
h4
{
padding-bottom
:
18px
;
font-size
:
22px
;
line-height
:
1.75
;
font-weight
:
400
;
border-bottom
:
1px
solid
#ececec
;
}
a
{
color
:
#00AAE6
;
}
p
{
font-size
:
15
*$
length
;
line-height
:
1.75
;
font-weight
:
400
;
margin
:
22
*$
length
0
;
color
:
#333
;
}
li
{
font-size
:
15
*$
length
;
line-height
:
1.75
;
font-weight
:
400
;
margin
:
11
*$
length
0
;
color
:
#333
;
}
blockquote
{
display
:
block
;
border-left
:
8
*$
length
solid
#d0e5f2
;
padding
:
5
*$
length
10
*$
length
;
line-height
:
1.4
;
font-size
:
100%
;
background-color
:
#f1f1f1
;
margin
:
22
*$
length
0
;
}
table
{
border-top
:
1px
solid
#ccc
;
border-left
:
1px
solid
#ccc
;
font-size
:
14
*$
font-size
;
margin
:
22
*$
length
0
;
&
tbody{
&
tr{
}
}
}
img
,
audio
,
video
{
max-width
:
100%
;
height
:
auto
;
}
td
{
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
padding
:
3
*$
length
5
*$
length
;
}
th
{
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
padding
:
3
*$
length
5
*$
length
;
}
@extend
%article-content;
}
...
...
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