Skip to content

Commit

Permalink
feat(chore): remove unused remaining carbon ads code
Browse files Browse the repository at this point in the history
remove remaining dead unused carbon ads code
  • Loading branch information
lubber-de authored Dec 3, 2024
1 parent 86ebbd6 commit f66fa97
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 88 deletions.
40 changes: 0 additions & 40 deletions server/files/stylesheets/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -2047,21 +2047,11 @@ div.footer-sponsor a {
width: 319px;
}

#example .masthead .advertisement {
margin-left: 3em;
padding: 0 1.25em;
width: 342px;
}

/* Absolute Ad */
#example .masthead .introduction {
display: block;
}
#example .masthead .advertisement {
position: absolute;
left: 100%;
bottom: -2px;
}

/* Remove Overview from pages with Examples */
@media only screen and (max-width: 1500px) {
Expand Down Expand Up @@ -2233,18 +2223,6 @@ div.footer-sponsor a {
#example .masthead .introduction {
display: block;
}
#example .masthead .advertisement {
display: block;
float: none;
margin: 2em 0 0;
padding-left: 0;
width: auto;
}
#example .masthead .advertisement #carbonads > span {
position: relative;
display: block;
max-width: 300px;
}

}

Expand Down Expand Up @@ -2298,21 +2276,3 @@ div.footer-sponsor a {
}
}

/* Small Phone */
@media only screen and (max-width: 500px) {

/* Stack Advert */
#example .masthead .advertisement #carbonads > span {
max-width: none;
}
#example .advertisement .carbon-wrap {
flex-direction: column-reverse;

text-align: center;
align-items: center;
}
#example .carbon-poweredby {
display: none;
}

}
45 changes: 0 additions & 45 deletions server/files/stylesheets/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,16 +230,6 @@
}


#example.index .advertisement {
display: none !important;
padding-left: 0;
position: absolute;
left: auto;
right: 6em;
top: 50%;
transform: translateY(-50%);
vertical-align: top;
}
#example.index .fixed.launch.button {
display: none;
top: 100px;
Expand Down Expand Up @@ -545,13 +535,6 @@


@media only screen and (max-width : 400px) {
#example.index .advertisement {
display: none;
margin-left: -130px !important;
}
#example.index .carbonad {
width: 260px !important;
}
#example.index .masthead.segment h1 {
font-size: 1.75em !important;
}
Expand Down Expand Up @@ -674,31 +657,3 @@
}
}


@media only screen and (max-width: 1300px) {
#example.index .advertisement {
position: absolute;
top: auto;
left: 50%;
bottom: 2rem;
margin-left: -175px;
transform: none;
}
#example.index .inverted.advertisement .carbonad-img {
margin-top: 0;
}
#example.index #carbonads-container {
float: none;
}
#example.index .carbonad {
width: 340px;
}
#example.index .carbonad-text,
#example.index .carbonad-tag {
float: none;
display: block;
text-align: left;
margin-left: 160px;
width: 170px;
}
}
3 changes: 0 additions & 3 deletions server/partials/tab-header.html.eco
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@
</div>
<% end %>
</div>
<div class="advertisement">
<div id="carbonads-container"><div class="carbonad"><div id="azcarbon"></div></div></div>
</div>
</div>
</div>

0 comments on commit f66fa97

Please sign in to comment.