mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-12 21:22:28 +01:00
Add carbon ads
This commit is contained in:
parent
1c3fa7309b
commit
03f0cf2c5f
18
bootstrap.min.css
vendored
18
bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
75
index.css
75
index.css
@ -53,3 +53,78 @@ footer {
|
||||
margin-bottom: 1.2em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
|
||||
#carbonads {
|
||||
margin-top: 10em;
|
||||
background-color: #ecf0f1;
|
||||
padding-left: 0.8em;
|
||||
padding-right: 1em;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
|
||||
width: 9em;
|
||||
}
|
||||
|
||||
#carbonads a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#carbonads a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.carbon-text:hover {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#carbonads img {
|
||||
margin-bottom: 0.8em;
|
||||
}
|
||||
|
||||
.carbon-text {
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.carbon-poweredby {
|
||||
display: block;
|
||||
color: grey;
|
||||
margin-top: 1.3em;
|
||||
}
|
||||
|
||||
.carbon-poweredby:hover {
|
||||
color: grey;
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width : 768px) {
|
||||
.container {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.carbon-img {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.carbon-text {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#carbonads {
|
||||
width: 80vw;
|
||||
margin-right: 1em;
|
||||
margin-left: 1em;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 2em;
|
||||
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
#carbonads img {
|
||||
margin-right: 0.8em;
|
||||
}
|
||||
|
||||
.fork-me {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
17
index.html
17
index.html
@ -14,7 +14,14 @@
|
||||
|
||||
<body>
|
||||
<div class='container'>
|
||||
<div class='col-md-6 col-md-offset-3'>
|
||||
<div class="row">
|
||||
<div class="col-md-3 order-md-first order-sm-last order-last">
|
||||
<script async type="text/javascript"
|
||||
src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=polrprojectorg" id="_carbonads_js">
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class='center-img'>
|
||||
<img src='logo.png' />
|
||||
</div>
|
||||
@ -137,12 +144,14 @@
|
||||
<footer class='pull-right'>
|
||||
© Copyright 2013-2017 by <a href='//chaoyizha.com'>Chaoyi Zha</a>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="https://github.com/cydrobolt/polr"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67"
|
||||
alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
|
||||
<a href="https://github.com/cydrobolt/polr" class="fork-me">
|
||||
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67"
|
||||
alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png">
|
||||
</a>
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
|
Loading…
Reference in New Issue
Block a user