Added sample ads

This commit is contained in:
Your Name committed 2025-04-26 02:36:39 +08:00
1 parent b17fc6680d
commit 0ae5604b65
3 files changed
+36 -1

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@
<!-- Carbon Ad --> <!-- Carbon Ad -->
<div class="carbon-demo card-shadow"> <div class="carbon-demo card-shadow">
<img class="carbon-img" src="../images/case-studies/buysellads-carbon-example.png"> <img class="carbon-img" src="../images/buysellads-carbon-example.png">
<div class="carbon-desc">This is where your "Ad Description" will render.</div> <div class="carbon-desc">This is where your "Ad Description" will render.</div>
<div class="carbon-via">ads via Carbon</div> <div class="carbon-via">ads via Carbon</div>
</div> </div>
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

+35
View File
@@ -205,3 +205,38 @@ body {
/* Remove default Vite styles if they exist */ /* Remove default Vite styles if they exist */
#app { display: none; } /* Hide default Vite content */ #app { display: none; } /* Hide default Vite content */
.logo, .card, .read-the-docs { display: none; } /* Hide default Vite elements */ .logo, .card, .read-the-docs { display: none; } /* Hide default Vite elements */
.carbon-demo {
background-color: #fff;
border-radius: 0.2em;
display: grid;
grid-template-columns: 130px 1fr;
justify-content: center;
margin: 60px auto;
max-width: 360px;
overflow: hidden;
position: relative;
padding: 0;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
.carbon-demo > * {
box-sizing: border-box;
}
.carbon-demo .carbon-img {
height: auto;
width: 130px;
}
.carbon-demo .carbon-desc {
font-size: 0.875rem;
line-height: 1.35;
padding: 0.75rem;
}
.carbon-demo .carbon-via {
bottom: 1em;
font-size: 0.625em;
font-weight: 600;
left: calc(130px + 0.75rem);
letter-spacing: 0.1ch;
position: absolute;
text-transform: uppercase;
}