Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
bootstrap
Commits
b79a2b3b
Commit
b79a2b3b
authored
Oct 02, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quick docs patch for spacing, remove glyphicons homepage link, and add ads to homepage
parent
35a06946
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
17 deletions
+42
-17
_layouts/home.html
_layouts/home.html
+2
-3
assets/css/docs.css
assets/css/docs.css
+40
-14
No files found.
_layouts/home.html
View file @
b79a2b3b
...
...
@@ -15,6 +15,8 @@
{{ content }}
<footer
class=
"container"
role=
"contentinfo"
>
{% include ads.html %}
{% include social-buttons.html %}
<ul
class=
"bs-masthead-links"
>
...
...
@@ -30,9 +32,6 @@
<li>
<a
href=
"{{ page.base_url }}getting-started/#examples"
onclick=
"_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);"
>
Examples
</a>
</li>
<li>
<a
href=
"{{ page.base_url }}components/#glyphicons"
onclick=
"_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);"
>
Glyphicons
</a>
</li>
<li>
<a
href=
"{{ site.expo }}"
onclick=
"_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);"
>
Expo
</a>
</li>
...
...
assets/css/docs.css
View file @
b79a2b3b
...
...
@@ -153,13 +153,11 @@ body {
*/
.bs-social
{
margin-top
:
20px
;
margin-bottom
:
20px
;
text-align
:
center
;
}
.bs-social-buttons
{
display
:
inline-block
;
margin-bottom
:
0
;
margin-bottom
:
20px
;
padding-left
:
0
;
list-style
:
none
;
}
...
...
@@ -184,9 +182,6 @@ body {
.bs-social
{
text-align
:
left
;
}
.bs-social-buttons
li
:first-child
{
padding-left
:
0
;
}
}
...
...
@@ -222,26 +217,23 @@ body {
line-height
:
1
;
color
:
#fff
;
}
.bs-masthead
.btn-outline
{
.bs-masthead
.btn-outline
-inverse
{
margin-top
:
20px
;
margin-bottom
:
20px
;
padding
:
18px
24px
;
font-size
:
2
1
px
;
font-size
:
2
4
px
;
}
/* Links to project-level content like the repo, Expo, etc */
.bs-masthead-links
{
margin-top
:
20px
;
margin-bottom
:
20px
;
padding
:
0
15px
;
padding
-left
:
0
;
list-style
:
none
;
text-align
:
center
;
}
.bs-masthead-links
li
{
display
:
inline
;
}
.bs-masthead-links
li
+
li
{
margin-left
:
20px
;
display
:
inline-block
;
padding
:
4px
8px
;
}
.bs-masthead-links
a
{
color
:
#fff
;
...
...
@@ -378,6 +370,40 @@ body {
}
/* Homepage variations */
.bs-docs-home
.carbonad
{
margin
:
0
-15px
40px
!important
;
}
@media
screen
and
(
min-width
:
480px
)
{
.bs-docs-home
.carbonad
{
width
:
330px
!important
;
margin
:
0
auto
40px
!important
;
border-radius
:
4px
;
}
}
@media
screen
and
(
min-width
:
768px
)
{
.bs-docs-home
.carbonad
{
float
:
left
;
width
:
330px
!important
;
margin
:
0
0
30px
!important
;
}
.bs-docs-home
.bs-social
,
.bs-docs-home
.bs-masthead-links
{
margin-left
:
350px
;
}
}
@media
screen
and
(
min-width
:
992px
)
{
.bs-docs-home
.carbonad
{
position
:
static
;
}
}
@media
screen
and
(
min-width
:
1170px
)
{
.bs-docs-home
.carbonad
{
margin-top
:
-25px
!important
;
}
}
/*
* Callout for 2.3.2 docs
*
...
...
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