-
Notifications
You must be signed in to change notification settings - Fork 167
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
Showing
4 changed files
with
132 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,100 @@ | ||
#carbonads * { | ||
margin: initial; | ||
padding: initial; | ||
} | ||
|
||
#carbonads { | ||
display: flex; | ||
max-width: 130px; | ||
overflow: hidden; | ||
border-radius: 4px; | ||
box-shadow: 0 0 1px hsla(0, 0%, 0%, 0.15); | ||
font-size: 12px; | ||
margin-bottom: 50px; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', | ||
Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', | ||
Helvetica, Arial, sans-serif; | ||
} | ||
|
||
#carbonads a { | ||
background-image: none; | ||
color: #111; | ||
text-decoration: none; | ||
} | ||
|
||
#carbonads a:hover { | ||
color: #111; | ||
} | ||
|
||
#carbonads .carbon-img { | ||
display: block; | ||
max-width: 130px; | ||
line-height: 1; | ||
} | ||
|
||
#carbonads .carbon-img img { | ||
display: block; | ||
width: 130px; | ||
height: 100px; | ||
margin: 0 auto; | ||
} | ||
|
||
#carbonads .carbon-text { | ||
display: block; | ||
padding: 8px 10px; | ||
background-color: hsl(0, 0%, 98%); | ||
line-height: 1.35; | ||
text-align: left; | ||
} | ||
|
||
#carbonads .carbon-poweredby { | ||
display: block; | ||
padding: 10px; | ||
background: repeating-linear-gradient( | ||
-45deg, | ||
transparent, | ||
transparent 5px, | ||
hsla(0, 0%, 0%, 0.025) 5px, | ||
hsla(0, 0%, 0%, 0.025) 10px | ||
) | ||
hsla(203, 11%, 95%, 0.4); | ||
background-color: hsl(0, 0%, 98%); | ||
font-weight: 600; | ||
font-size: 8px; | ||
line-height: 0; | ||
letter-spacing: 0.5px; | ||
text-transform: uppercase; | ||
} | ||
|
||
@media only screen and (min-width: 320px) and (max-width: 759px) { | ||
#carbonads { | ||
position: relative; | ||
max-width: 330px; | ||
margin: 20px 0; | ||
float: none; | ||
} | ||
|
||
#carbonads .carbon-wrap { | ||
display: flex; | ||
flex-direction: row; | ||
} | ||
|
||
#carbonads .carbon-img { | ||
margin: 0; | ||
} | ||
|
||
#carbonads .carbon-text { | ||
padding: 10px 10px 0 10px; | ||
|
||
font-size: 12px; | ||
} | ||
|
||
#carbonads .carbon-poweredby { | ||
position: absolute; | ||
right: 0; | ||
bottom: 0; | ||
border-radius: 0; | ||
border-top-left-radius: 3px; | ||
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
|
||
const Ads = () => { | ||
return ( | ||
<script | ||
async | ||
type="text/javascript" | ||
src="//cdn.carbonads.com/carbon.js?serve=CEAIP2QW&placement=react-pdforg" | ||
id="_carbonads_js" | ||
></script> | ||
); | ||
}; | ||
|
||
export default Ads; |
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