-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add carbon cpm ad unit to documentation sidebar.
- Loading branch information
Showing
12 changed files
with
162 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
#carbonads { | ||
display: block; | ||
overflow: hidden; | ||
padding: 10px; | ||
border: 1px dashed #ccc; | ||
font-size: 12px; | ||
max-width: 360px; | ||
margin-bottom: 20px; | ||
line-height: 1.5; | ||
background-color: white; | ||
} | ||
|
||
#carbonads span { | ||
position: relative; | ||
display: block; | ||
overflow: hidden; | ||
} | ||
|
||
.carbon-img { | ||
float: left; | ||
margin-right: 1em; | ||
} | ||
|
||
.carbon-img img { | ||
display: block; | ||
} | ||
|
||
.carbon-text { | ||
display: block; | ||
float: left; | ||
max-width: calc(100% - 130px - 1em); | ||
text-align: left; | ||
} | ||
|
||
.carbon-poweredby { | ||
color: #cccccc; | ||
position: absolute; | ||
left: 142px; | ||
bottom: 0; | ||
display: block; | ||
font-size: 8px; | ||
font-weight: 600; | ||
text-transform: uppercase; | ||
line-height: 1; | ||
letter-spacing: 1px; | ||
} | ||
|
||
@media (max-width: 1200px) { | ||
.sidebar-sticky { | ||
.carbon-img { | ||
float: none; | ||
margin: 0; | ||
} | ||
|
||
.carbon-img img { | ||
margin: 0 auto 1em; | ||
} | ||
|
||
.carbon-text { | ||
margin-bottom: 1em; | ||
max-width: none; | ||
text-align: center; | ||
} | ||
|
||
.carbon-poweredby { | ||
position: relative; | ||
left: auto; | ||
text-align: center; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -566,3 +566,4 @@ div.jsactive pre { | |
} | ||
|
||
@import 'railscasts'; | ||
@import 'carbonads'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
<h1>Contributors</h1> | ||
|
||
<p class="lead"> | ||
In addition to the <a href="{{ site.url }}/team/maintainers.html">core maintainers</a>, Doctrine has received contributions from {{ contributors|length }} | ||
different people from all over the world. Could you be the next contributor? Head on over to the | ||
<a href="{{ site.url }}/contribute/">Contributor Workflow</a> to learn how to | ||
contribute to your favorite Doctrine project today! | ||
</p> | ||
<div class="row"> | ||
<div class="col-lg-8 col-sm-12"> | ||
<p class="lead"> | ||
In addition to the <a href="{{ site.url }}/team/maintainers.html">core maintainers</a>, Doctrine has received contributions from {{ contributors|length }} | ||
different people from all over the world. Could you be the next contributor? Head on over to the | ||
<a href="{{ site.url }}/contribute/">Contributor Workflow</a> to learn how to | ||
contribute to your favorite Doctrine project today! | ||
</p> | ||
</div> | ||
<div class="col-4 d-none d-lg-block"> | ||
{% include "carbonad-standard.html.twig" %} | ||
</div> | ||
</div> | ||
|
||
{% include "contributors-list.html.twig" with {contributors:contributors} %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
<h1>Maintainers</h1> | ||
|
||
<p class="lead"> | ||
Doctrine is maintained by a core group of {{ contributors|length }} developers. Each maintainer has | ||
their own areas of responsibilities and together we are able to keep the various Doctrine projects | ||
moving forward as the PHP ecosystem evolves. | ||
</p> | ||
<div class="row"> | ||
<div class="col-lg-8 col-sm-12"> | ||
<p class="lead"> | ||
Doctrine is maintained by a core group of {{ contributors|length }} developers. Each maintainer has | ||
their own areas of responsibilities and together we are able to keep the various Doctrine projects | ||
moving forward as the PHP ecosystem evolves. | ||
</p> | ||
</div> | ||
<div class="col-4 d-none d-lg-block"> | ||
{% include "carbonad-standard.html.twig" %} | ||
</div> | ||
</div> | ||
|
||
{% include "maintainers-list.html.twig" with {contributors:contributors} %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CK7D553W&placement=wwwdoctrine-projectorg" id="_carbonads_js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters