Update sponsor ads and carbon ad styling
This commit is contained in:
@@ -2,10 +2,16 @@
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
|
||||
Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
position: fixed;
|
||||
bottom: 15px;
|
||||
bottom: 150px;
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
#carbonads {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
#carbonads {
|
||||
display: flex;
|
||||
max-width: 330px;
|
||||
|
66
styles/sponsor.css
Normal file
66
styles/sponsor.css
Normal file
@@ -0,0 +1,66 @@
|
||||
#sponsorads {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
|
||||
Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
position: fixed;
|
||||
bottom: 15px;
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
#sponsorads {
|
||||
display: flex;
|
||||
max-width: 330px;
|
||||
background-color: hsl(0, 0%, 98%);
|
||||
box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, .1);
|
||||
}
|
||||
|
||||
#sponsorads:hover {
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
#sponsorads a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#sponsorads a:hover {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
#sponsorads span {
|
||||
position: relative;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#sponsorads .sponsor-wrap {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.sponsor-img {
|
||||
display: block;
|
||||
margin: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.sponsor-img img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sponsor-text {
|
||||
font-size: 13px;
|
||||
padding: 10px;
|
||||
line-height: 1.5;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.sponsor-poweredby {
|
||||
display: block;
|
||||
padding: 8px 10px;
|
||||
background: repeating-linear-gradient(-45deg, transparent, transparent 5px, hsla(0, 0%, 0%, .025) 5px, hsla(0, 0%, 0%, .025) 10px) hsla(203, 11%, 95%, .4);
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .5px;
|
||||
font-weight: 600;
|
||||
font-size: 9px;
|
||||
line-height: 1;
|
||||
}
|
Reference in New Issue
Block a user