hide portfolio on mobile
This commit is contained in:
1
static/css/main.4762584e.min.css
vendored
Normal file
1
static/css/main.4762584e.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1678,6 +1678,30 @@ body.page-loaded > *:not(.navbar) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Hide portfolio page on tablet and mobile screens */
|
||||
@media (max-width: 991px) {
|
||||
body:has(.design-showcase) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Alternative approach for browsers that don't support :has() */
|
||||
.design-showcase {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Hide the entire portfolio page content */
|
||||
.design-showcase,
|
||||
.design-showcase * {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Hide portfolio navigation link on tablet and mobile */
|
||||
.navbar-nav .nav-item:has(a[href*="portfolio"]),
|
||||
.navbar-nav .nav-item a[href*="portfolio"] {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.feature-icon-wrapper::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
||||
1
static/css/main.e9fbcf3c.min.css
vendored
1
static/css/main.e9fbcf3c.min.css
vendored
File diff suppressed because one or more lines are too long
2
static/css/main.min.css
vendored
2
static/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user