Отключение стилей и элементов wordpress

This commit is contained in:
ifraimka committed 2024-11-21 19:33:30 +03:00
1 parent 683956c010
commit 303fecec47
7 files changed
+14 -6

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
@import "./theme.scss"; @import "./theme.scss";
@import "./fonts.scss"; @import "./fonts.scss";
@import "./wp-disable.scss";
input { input {
border: none; border: none;
@@ -83,7 +84,7 @@ header h1 {
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
#page { #react-page {
margin-bottom: 2em; margin-bottom: 2em;
} }
+7
View File
@@ -0,0 +1,7 @@
#page {
> #header,
> hr,
> #footer {
display: none;
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
@import "../../assets/styles/theme.scss"; @import "../../assets/styles/theme.scss";
#page:has(> #mainpageheader) { #react-page:has(> #mainpageheader) {
margin-top: 0; margin-top: 0;
#mainpageheader { #mainpageheader {
@@ -1,4 +1,4 @@
#page .content #gallery { #react-page .content #gallery {
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;
@@ -1,4 +1,4 @@
#page .content #partners { #react-page .content #partners {
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;
+1 -1
View File
@@ -27,7 +27,7 @@ function Root() {
return ( return (
<RootContext.Provider value={{ setRef }}> <RootContext.Provider value={{ setRef }}>
<Navbar /> <Navbar />
<div id="page"> <div id="react-page">
<Outlet /> <Outlet />
</div> </div>
<Footer /> <Footer />
+1 -1
View File
@@ -1,6 +1,6 @@
@import "../../assets/styles/theme.scss"; @import "../../assets/styles/theme.scss";
#page { #react-page {
margin-top: calc($navbar-height + 5 * $navbar-padding-tb); margin-top: calc($navbar-height + 5 * $navbar-padding-tb);
.header, .content { .header, .content {