Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
node-slate
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Hải Sơn
node-slate
Commits
fc0c995c
Commit
fc0c995c
authored
Apr 19, 2014
by
Robert Lord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add h4,h5,h6 as suggested by @bootstraponline, fix section padding
parent
06680512
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
print.css.scss
source/stylesheets/print.css.scss
+5
-1
screen.css.scss
source/stylesheets/screen.css.scss
+9
-10
No files found.
source/stylesheets/print.css.scss
View file @
fc0c995c
...
@@ -100,11 +100,15 @@ body {
...
@@ -100,11 +100,15 @@ body {
margin-top
:
0
;
margin-top
:
0
;
}
}
h3
{
h3
,
h4
{
@extend
%header-font
;
@extend
%header-font
;
font-size
:
0
.8em
;
font-size
:
0
.8em
;
margin-top
:
1
.5em
;
margin-top
:
1
.5em
;
margin-bottom
:
0
.8em
;
margin-bottom
:
0
.8em
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
}
}
h5
,
h6
{
text-transform
:
uppercase
;
}
}
}
\ No newline at end of file
source/stylesheets/screen.css.scss
View file @
fc0c995c
...
@@ -240,7 +240,9 @@ html, body {
...
@@ -240,7 +240,9 @@ html, body {
z-index
:
30
;
z-index
:
30
;
section
{
section
{
&
>
h1
,
&
>
h2
,
&
>
h3
,
&
>
p
,
&
>
table
,
&
>
ul
,
&
>
ol
,
&
>
aside
,
&
>
dl
{
padding-bottom
:
6em
;
&
>
h1
,
&
>
h2
,
&
>
h3
,
&
>
h4
,
&
>
h5
,
&
>
h6
,
&
>
p
,
&
>
table
,
&
>
ul
,
&
>
ol
,
&
>
aside
,
&
>
dl
{
margin-right
:
$examples-width
;
margin-right
:
$examples-width
;
padding
:
0
$main-padding
;
padding
:
0
$main-padding
;
@include
box-sizing
(
border-box
);
@include
box-sizing
(
border-box
);
...
@@ -263,21 +265,14 @@ html, body {
...
@@ -263,21 +265,14 @@ html, body {
padding-top
:
0
.5em
;
padding-top
:
0
.5em
;
padding-bottom
:
0
.5em
;
padding-bottom
:
0
.5em
;
border-bottom
:
1px
solid
#ccc
;
border-bottom
:
1px
solid
#ccc
;
margin-top
:
2em
;
margin-bottom
:
$h1-margin-bottom
;
margin-bottom
:
$h1-margin-bottom
;
margin-top
:
0
;
border-top
:
1px
solid
#ddd
;
border-top
:
1px
solid
#ddd
;
@include
background-image
(
@include
background-image
(
linear-gradient
(
top
,
#fff
,
#f9f9f9
)
linear-gradient
(
top
,
#fff
,
#f9f9f9
)
);
);
}
}
// The header at the very top of the page
// shouldn't have top margin.
// (the div is because of tocify)
h1
:first-child
,
div
:first-child
+
h1
{
margin-top
:
0
;
}
h2
{
h2
{
@extend
%header-font
;
@extend
%header-font
;
font-size
:
20px
;
font-size
:
20px
;
...
@@ -298,7 +293,7 @@ html, body {
...
@@ -298,7 +293,7 @@ html, body {
border-top
:
none
;
border-top
:
none
;
}
}
h3
{
h3
,
h4
,
h5
,
h6
{
@extend
%header-font
;
@extend
%header-font
;
font-size
:
12px
;
font-size
:
12px
;
margin-top
:
2
.5em
;
margin-top
:
2
.5em
;
...
@@ -306,6 +301,10 @@ html, body {
...
@@ -306,6 +301,10 @@ html, body {
text-transform
:
uppercase
;
text-transform
:
uppercase
;
}
}
h4
,
h5
,
h6
{
font-size
:
10px
;
}
hr
{
hr
{
margin
:
2em
0
;
margin
:
2em
0
;
border-top
:
2px
solid
$examples-bg
;
border-top
:
2px
solid
$examples-bg
;
...
...
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