Skip to content

Commit 8f145c7

Browse files
committed
chore: remove ads
1 parent 1d3952b commit 8f145c7

File tree

3 files changed

+2
-35
lines changed

3 files changed

+2
-35
lines changed

_includes/ads-panel.html

Lines changed: 0 additions & 13 deletions
This file was deleted.

_layouts/post.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
refactor: true
44
panel_includes:
55
- toc
6-
- ads-panel
76
tail_includes:
87
- related-posts
98
- post-nav

_sass/layout/_panel.scss

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
top: 2rem;
77
transition: top 0.2s ease-in-out;
88
margin-top: 3rem;
9-
position: relative; // adăugat pentru context absolut ads-panel
109

1110
&:only-child {
1211
position: -webkit-sticky;
@@ -21,25 +20,6 @@
2120
&:not(:first-child) {
2221
margin-top: 4rem;
2322
}
24-
25-
&.ads-panel {
26-
position: absolute;
27-
top: 0;
28-
right: 0;
29-
padding: 1rem;
30-
text-align: center;
31-
background-color: var(--panel-bg, #ffffff);
32-
border-radius: 0.25rem;
33-
z-index: 1;
34-
box-shadow: 0 0 8px rgb(0 0 0 / 5%);
35-
36-
.adsbygoogle {
37-
width: 100%; // lăsăm Google să își regleze dimensiunea
38-
max-width: 100%;
39-
overflow: hidden;
40-
display: block;
41-
}
42-
}
4323
}
4424

4525
.content {
@@ -48,6 +28,7 @@
4828
}
4929

5030
#panel-wrapper {
31+
/* the headings */
5132
.panel-heading {
5233
font-family: inherit;
5334
line-height: inherit;
@@ -86,4 +67,4 @@
8667

8768
@extend %no-bottom-border;
8869
}
89-
}
70+
}

0 commit comments

Comments
 (0)