mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-03-12 21:22:57 -07:00
fix ad in mobile version
This commit is contained in:
@@ -90,6 +90,27 @@ body.sidebar-visible #menu-bar {
|
||||
column-gap: 0.5rem;
|
||||
}
|
||||
|
||||
.mobile-toc-toggle {
|
||||
display: none;
|
||||
}
|
||||
@media only screen and (max-width:799px) {
|
||||
#mobile-toc-toggle {
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 1px solid var(--table-border-color);
|
||||
border-radius: 6px;
|
||||
background: color-mix(in srgb, var(--bg) 85%, transparent);
|
||||
color: var(--fg);
|
||||
}
|
||||
#mobile-toc-toggle .mobile-toc-icon {
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
border: none;
|
||||
background: var(--bg);
|
||||
@@ -858,6 +879,26 @@ ul#searchresults li a span.teaser em {
|
||||
z-index: 105;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width:549px) {
|
||||
#sidebar {
|
||||
display: none;
|
||||
}
|
||||
#sidebar-toggle {
|
||||
display: none !important;
|
||||
}
|
||||
.sidebar-float-toggle {
|
||||
display: none !important;
|
||||
}
|
||||
#mobile-toc-toggle {
|
||||
display: inline-flex !important;
|
||||
}
|
||||
#sidebar-toggle-anchor:checked ~ .page-wrapper .page #container #sidebar {
|
||||
display: block !important;
|
||||
}
|
||||
#sidebar-toggle-anchor:checked ~ .page-wrapper .page #container #content {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width:549px) {
|
||||
#sidebar {
|
||||
display: none !important;
|
||||
|
||||
Reference in New Issue
Block a user