Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
f235da05
Commit
f235da05
authored
8 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
flip the columns, tweak some of the styles
parent
75232e67
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/_layouts/docs.html
+2
-2
docs/_layouts/docs.html
docs/assets/scss/_anchor.scss
+4
-0
docs/assets/scss/_anchor.scss
docs/assets/scss/_content.scss
+14
-1
docs/assets/scss/_content.scss
docs/assets/scss/_sidebar.scss
+4
-6
docs/assets/scss/_sidebar.scss
with
24 additions
and
9 deletions
+24
-9
docs/_layouts/docs.html
+
2
-
2
View file @
f235da05
...
@@ -21,10 +21,10 @@
...
@@ -21,10 +21,10 @@
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-xs-12 col-md-3
push-md-9
bd-sidebar"
>
<div
class=
"col-xs-12 col-md-3 bd-sidebar"
>
{% include nav-docs.html %}
{% include nav-docs.html %}
</div>
</div>
<div
class=
"col-xs-12 col-md-9
pull-md-3
bd-content"
>
<div
class=
"col-xs-12 col-md-9 bd-content"
>
<h1
class=
"bd-title"
id=
"content"
>
{{ page.title }}
</h1>
<h1
class=
"bd-title"
id=
"content"
>
{{ page.title }}
</h1>
{{ content }}
{{ content }}
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
docs/assets/scss/_anchor.scss
+
4
-
0
View file @
f235da05
// scss-lint:disable ImportantRule
.anchorjs-link
{
.anchorjs-link
{
padding-right
:
.25em
!
important
;
margin-left
:
-.75em
!
important
;
color
:
inherit
;
color
:
inherit
;
}
}
...
...
This diff is collapsed.
Click to expand it.
docs/assets/scss/_content.scss
+
14
-
1
View file @
f235da05
...
@@ -54,14 +54,27 @@
...
@@ -54,14 +54,27 @@
>
ol
li
{
>
ol
li
{
margin-bottom
:
.25rem
;
margin-bottom
:
.25rem
;
}
}
@include
media-breakpoint-up
(
sm
)
{
>
ul
,
>
ol
,
>
p
{
max-width
:
80%
;
}
}
}
}
.bd-title
{
.bd-title
{
margin-bottom
:
2rem
;
font-weight
:
300
;
@include
media-breakpoint-up
(
sm
)
{
@include
media-breakpoint-up
(
sm
)
{
font-size
:
3rem
;
font-size
:
3rem
;
+
p
{
+
p
{
font-size
:
1
.25rem
;
max-width
:
80%
;
margin-bottom
:
2rem
;
font-size
:
1
.5rem
;
font-weight
:
300
;
font-weight
:
300
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
docs/assets/scss/_sidebar.scss
+
4
-
6
View file @
f235da05
...
@@ -2,12 +2,6 @@
...
@@ -2,12 +2,6 @@
// Side navigation
// Side navigation
//
//
.bd-sidebar
{
@include
media-breakpoint-up
(
md
)
{
padding-left
:
1rem
;
}
}
.bd-search
{
.bd-search
{
position
:
relative
;
position
:
relative
;
margin-bottom
:
1
.5rem
;
margin-bottom
:
1
.5rem
;
...
@@ -22,6 +16,10 @@
...
@@ -22,6 +16,10 @@
background-color
:
#fff
;
background-color
:
#fff
;
}
}
}
}
@include
media-breakpoint-up
(
md
)
{
padding-right
:
1rem
;
}
}
}
.bd-search-results
{
.bd-search-results
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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