mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Test out Carbon Ads
This commit is contained in:
parent
79569f735d
commit
088115d823
3 changed files with 86 additions and 4 deletions
62
assets/css/carbon.css
Normal file
62
assets/css/carbon.css
Normal file
|
|
@ -0,0 +1,62 @@
|
||||||
|
/* Hidden on mobile for now */
|
||||||
|
#carbonads {
|
||||||
|
@apply hidden;
|
||||||
|
|
||||||
|
/* avoid layout shift on mobile */
|
||||||
|
/* min-height: 105.38px; */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Immediate wrapper */
|
||||||
|
#carbonads > span {
|
||||||
|
@apply flex;
|
||||||
|
@apply flex-col;
|
||||||
|
|
||||||
|
@apply justify-center;
|
||||||
|
|
||||||
|
@apply gap-2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#carbonads .carbon-wrap {
|
||||||
|
@apply flex;
|
||||||
|
@apply flex-col;
|
||||||
|
|
||||||
|
@apply justify-center;
|
||||||
|
|
||||||
|
@apply gap-2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media only screen and (min-width: 1350px) {
|
||||||
|
#carbonads {
|
||||||
|
@apply block;
|
||||||
|
|
||||||
|
@apply text-gray-300;
|
||||||
|
font-size: 0.65rem;
|
||||||
|
|
||||||
|
@apply bg-black-1;
|
||||||
|
@apply rounded;
|
||||||
|
|
||||||
|
@apply fixed;
|
||||||
|
right: 15px;
|
||||||
|
bottom: 15px;
|
||||||
|
|
||||||
|
z-index: 100;
|
||||||
|
|
||||||
|
max-width: 160px;
|
||||||
|
|
||||||
|
@apply p-3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#carbonads .carbon-text {
|
||||||
|
@apply opacity-50;
|
||||||
|
}
|
||||||
|
|
||||||
|
#carbonads .carbon-poweredby {
|
||||||
|
@apply uppercase;
|
||||||
|
@apply text-center;
|
||||||
|
@apply opacity-25;
|
||||||
|
|
||||||
|
font-size: 0.5rem;
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This injects Tailwind's base styles, which is a combination of
|
* This injects Tailwind's base styles, which is a combination of
|
||||||
* Normalize.css and some additional base styles.
|
* Normalize.css and some additional base styles.
|
||||||
|
|
@ -9,7 +10,8 @@
|
||||||
*
|
*
|
||||||
* @import "tailwindcss/base";
|
* @import "tailwindcss/base";
|
||||||
*/
|
*/
|
||||||
@tailwind base;
|
/* @tailwind base; */
|
||||||
|
@import "tailwindcss/base";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This injects any component classes registered by plugins.
|
* This injects any component classes registered by plugins.
|
||||||
|
|
@ -18,7 +20,8 @@
|
||||||
*
|
*
|
||||||
* @import "tailwindcss/components";
|
* @import "tailwindcss/components";
|
||||||
*/
|
*/
|
||||||
@tailwind components;
|
/* @tailwind components; */
|
||||||
|
@import "tailwindcss/components";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Here you would add any of your custom component classes; stuff that you'd
|
* Here you would add any of your custom component classes; stuff that you'd
|
||||||
|
|
@ -44,7 +47,11 @@
|
||||||
*
|
*
|
||||||
* @import "tailwindcss/utilities";
|
* @import "tailwindcss/utilities";
|
||||||
*/
|
*/
|
||||||
@tailwind utilities;
|
/* @tailwind utilities; */
|
||||||
|
@import "tailwindcss/utilities";
|
||||||
|
|
||||||
|
/* Carbon ads */
|
||||||
|
@import "./carbon.css";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -89,7 +96,7 @@ html {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 1140px;
|
max-width: 1040px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ease {
|
.ease {
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,19 @@ export default {
|
||||||
href: 'https://www.googletagmanager.com'
|
href: 'https://www.googletagmanager.com'
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
script: [
|
||||||
|
// Carbon Ads
|
||||||
|
// https://sell.buysellads.com/zones/1294/ad-tags#z=js
|
||||||
|
{
|
||||||
|
// <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CK7DVK3M&placement=doesitarmcom" id="_carbonads_js"></script>
|
||||||
|
src: 'https://cdn.carbonads.com/carbon.js?serve=CK7DVK3M&placement=doesitarmcom',
|
||||||
|
async: true,
|
||||||
|
type: 'text/javascript',
|
||||||
|
id: '_carbonads_js',
|
||||||
|
body: true
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue