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
d7d1c2a7
Commit
d7d1c2a7
authored
Jul 17, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ads to v3 docs
parent
9efba239
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
3 deletions
+58
-3
docs/_includes/ads.html
docs/_includes/ads.html
+1
-0
docs/_layouts/default.html
docs/_layouts/default.html
+1
-0
docs/assets/css/docs.css
docs/assets/css/docs.css
+56
-3
No files found.
docs/_includes/ads.html
0 → 100644
View file @
d7d1c2a7
<div
id=
"carbonads-container"
><div
class=
"carbonad"
><div
id=
"azcarbon"
></div><script
type=
"text/javascript"
>
var
z
=
document
.
createElement
(
"
script
"
);
z
.
type
=
"
text/javascript
"
;
z
.
async
=
true
;
z
.
src
=
"
http://engine.carbonads.com/z/32341/azcarbon_2_1_0_HORIZ
"
;
var
s
=
document
.
getElementsByTagName
(
"
script
"
)[
0
];
s
.
parentNode
.
insertBefore
(
z
,
s
);
</script></div></div>
\ No newline at end of file
docs/_layouts/default.html
View file @
d7d1c2a7
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
<div
class=
"container"
>
<div
class=
"container"
>
<h1>
{{ page.title }}
</h1>
<h1>
{{ page.title }}
</h1>
<p>
{{ page.lead }}
</p>
<p>
{{ page.lead }}
</p>
{% include ads.html %}
</div>
</div>
</div>
</div>
...
...
docs/assets/css/docs.css
View file @
d7d1c2a7
...
@@ -155,6 +155,45 @@ body {
...
@@ -155,6 +155,45 @@ body {
font-weight
:
300
;
font-weight
:
300
;
line-height
:
1.5
;
line-height
:
1.5
;
}
}
.bs-header
.container
{
position
:
relative
;
}
/* Ads in page headers */
.carbonad
{
width
:
auto
!important
;
margin
:
50px
-30px
-40px
!important
;
padding
:
20px
!important
;
overflow
:
hidden
;
/* clearfix */
height
:
auto
!important
;
font-size
:
13px
!important
;
line-height
:
16px
!important
;
text-align
:
left
;
background
:
none
!important
;
border
:
0
!important
;
border-top
:
1px
solid
#e5e5e5
!important
;
}
.carbonad-img
{
margin
:
0
!important
;
}
.carbonad-text
,
.carbonad-tag
{
float
:
none
!important
;
display
:
block
!important
;
width
:
auto
!important
;
height
:
auto
!important
;
margin-left
:
145px
!important
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
!important
;
}
.carbonad-text
{
padding-top
:
0
!important
;
}
.carbonad-tag
{
text-align
:
left
!important
;
}
.carbonad
#azcarbon
>
img
{
display
:
none
;
/* hide what I assume are tracking images */
}
/* Padding for in-page bookmarks */
/* Padding for in-page bookmarks */
.bs-docs-section
{
.bs-docs-section
{
...
@@ -720,6 +759,12 @@ input.focused {
...
@@ -720,6 +759,12 @@ input.focused {
line-height
:
1
;
line-height
:
1
;
}
}
.carbonad
{
margin
:
0
!important
;
border
:
1px
solid
#e5e5e5
!important
;
border-radius
:
4px
;
}
/* Show the docs nav */
/* Show the docs nav */
.bs-sidebar
{
.bs-sidebar
{
display
:
block
;
display
:
block
;
...
@@ -756,9 +801,17 @@ input.focused {
...
@@ -756,9 +801,17 @@ input.focused {
width
:
213px
;
width
:
213px
;
}
}
/* Icons */
.bs-header
h1
,
.the-icons
li
{
.bs-header
p
{
width
:
12.5%
;
margin-right
:
380px
;
}
.carbonad
{
position
:
absolute
;
top
:
0
;
right
:
0
;
padding
:
15px
!important
;
width
:
330px
!important
;
min-height
:
132px
;
}
}
}
}
...
...
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