Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
ed299e90
Commit
ed299e90
authored
Jan 12, 2017
by
qingwei.li
Committed by
杨奕
Jan 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add reset.css into theme-deafult
parent
9f5c08e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
78 additions
and
11 deletions
+78
-11
examples/app.vue
examples/app.vue
+5
-11
examples/pages/template/index.tpl
examples/pages/template/index.tpl
+1
-0
packages/theme-default/src/reset.css
packages/theme-default/src/reset.css
+72
-0
No files found.
examples/app.vue
View file @
ed299e90
<
style
lang=
"css"
>
@import
'highlight.js/styles/color-brewer.css'
;
@import
'assets/styles/common.css'
;
@import
'packages/theme-default/src/reset.css'
;
html
,
body
{
margin
:
0
;
...
...
@@ -13,22 +14,15 @@
}
body
{
font-family
:
'Helvetica Neue'
,
Helvetica
,
'PingFang SC'
,
'Hiragino Sans GB'
,
'Microsoft YaHei'
,
SimSun
,
sans-serif
;
overflow
:
auto
;
font-weight
:
400
;
-webkit-font-smoothing
:
antialiased
;
}
a
{
color
:
#4078c0
;
text-decoration
:
none
;
p
{
margin
:
1em
0
;
}
button
,
input
,
select
,
textarea
{
font-family
:
inherit
;
font-size
:
inherit
;
line-height
:
inherit
;
color
:
inherit
;
a
{
color
:
#4078c0
;
}
.hljs
{
...
...
examples/pages/template/index.tpl
View file @
ed299e90
...
...
@@ -54,6 +54,7 @@
h2
{
font-size
:
<%=
titleSize
>
px
;
margin
:
0
;
color
:
#fff
;
}
p
{
...
...
packages/theme-default/src/reset.css
0 → 100644
View file @
ed299e90
@import
'./common/var.css'
;
@reset-global
pc
;
body
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"微软雅黑"
,
Arial
,
sans-serif
;
font-weight
:
400
;
font-size
:
var
(
--font-size-base
);
color
:
var
(
--color-grey
);
}
a
{
color
:
var
(
--color-primary
);
text-decoration
:
none
;
&:hover,
&:focus
{
color
:
tint
(
var
(
--color-primary
),
var
(
--button-hover-tint-percent
));
}
&
:active
{
color
:
shade
(
var
(
--color-primary
),
var
(
--button-active-shade-percent
));
}
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
var
(
--font-color-base
);
font-weight
:
inherit
;
&:first-child
{
margin-top
:
0
;
}
&
:last-child
{
margin-bottom
:
0
;
}
}
h1
{
font-size
:
calc
(
var
(
--font-size-base
)
+
6px
);
}
h2
{
font-size
:
calc
(
var
(
--font-size-base
)
+
4px
);
}
h3
{
font-size
:
calc
(
var
(
--font-size-base
)
+
2px
);
}
h4
,
h5
,
h6
,
p
{
font-size
:
inherit
;
}
p
{
line-height
:
1.8
;
&:first-child
{
margin-top
:
0
;
}
&
:last-child
{
margin-bottom
:
0
;
}
}
sup
,
sub
{
font-size
:
calc
(
var
(
--font-size-base
)
-
1px
);
}
small
{
font-size
:
calc
(
var
(
--font-size-base
)
-
2px
);
}
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