-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd622f1
commit 33cf978
Showing
5 changed files
with
123 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
!.gitignore | ||
!guido.png | ||
!style.css | ||
!carbonad.css |
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,90 @@ | ||
#carbonads { | ||
display: block; | ||
overflow: hidden; | ||
padding: 1em; | ||
padding-bottom: 0.3em; | ||
line-height: 1.5; | ||
border: 4px solid #f5f5f5; | ||
margin-top: 10px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
#carbonads a { | ||
text-decoration: none !important; | ||
border-bottom: none; | ||
} | ||
|
||
#carbonads a:hover { | ||
text-decoration: none !important; | ||
} | ||
|
||
#carbonads span { | ||
display: block; | ||
overflow: hidden; | ||
} | ||
|
||
.carbon-img { | ||
display: block; | ||
margin: 0 auto 8px; | ||
} | ||
|
||
.carbon-text { | ||
display: block; | ||
text-align: left; | ||
margin-bottom: .5em; | ||
color: #666; | ||
} | ||
|
||
.carbon-poweredby { | ||
display: block; | ||
text-align: right; | ||
font-size: .9em; | ||
color: #ccc; | ||
} | ||
|
||
@media only screen and (min-width: 320px) and (max-width: 875px) { | ||
#carbonads { | ||
float: none; | ||
max-width: 330px; | ||
border: 0; | ||
display: block; | ||
overflow: hidden; | ||
margin-top: 20px; | ||
margin-bottom: 20px; | ||
border-radius: 4px; | ||
text-align: center; | ||
box-shadow: 0 0 0 1px hsla(0, 0%, 0%, .1); | ||
font-size: var(--font-size); | ||
background-color: #eee; | ||
line-height: 1.5; | ||
} | ||
#carbonads span { | ||
position: relative; | ||
} | ||
#carbonads > span { | ||
max-width: none; | ||
} | ||
.carbon-img { | ||
float: left; | ||
margin: 0; | ||
} | ||
|
||
.carbon-img img { | ||
max-width: 130px !important; | ||
} | ||
.carbon-text { | ||
float: left; | ||
margin-bottom: 0; | ||
padding: 8px 20px; | ||
text-align: left; | ||
color: #333 !important; | ||
max-width: calc(100% - 130px - 3em); | ||
} | ||
.carbon-poweredby { | ||
left: 130px; | ||
bottom: 0; | ||
display: block; | ||
color: #555 !important; | ||
width: 100%; | ||
} | ||
} |
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={{ carbonad_serve }}&placement={{ carbonad_placement }}" 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