styled header added guttembert styles

This commit is contained in:
jorge 2022-12-24 18:44:13 +01:00
parent 688c628021
commit af0bf0c759
4 changed files with 17 additions and 8 deletions

View File

@ -17,16 +17,17 @@
top: 0;
height: 10rem;
margin-bottom: 2rem;
background-color: hsla(0, 0%, 100%, 0.95);
background-color: hsla(0, 0%, 100%, 1);
&::after {
content: "";
display: inline-block;
width: 100%;
height: 5rem;
height: 3rem;
position: absolute;
top:10rem;
// https://css-tricks.com/easing-linear-gradients/
background-image: linear-gradient(
hsla(0, 0%, 100%, 1) 0%,
hsla(0, 0%, 100%, 0.95) 5%,
hsla(0, 0%, 100%, 0.738) 19%,
hsla(0, 0%, 100%, 0.541) 34%,

View File

@ -1,3 +1,7 @@
.edit-post-fullscreen-mode-close_site-icon {
background-color: $color__white;
}
.black-blocs {
padding: $font__size-body 0;
gap: $font__size-body;
@ -25,7 +29,7 @@
.big-plus.white .wp-block-button__link {
margin: 0;
padding: 0;
color: white;
color: $color__white;
background-color: transparent;
font-size: $font__size-body*4.5;
line-height: 0;

View File

@ -746,16 +746,16 @@ textarea {
top: 0;
height: 10rem;
margin-bottom: 2rem;
background-color: rgba(255, 255, 255, 0.95);
background-color: white;
}
.no-sidebar .site-header::after {
content: "";
display: inline-block;
width: 100%;
height: 5rem;
height: 3rem;
position: absolute;
top: 10rem;
background-image: linear-gradient(rgba(255, 255, 255, 0.95) 5%, rgba(255, 255, 255, 0.738) 19%, rgba(255, 255, 255, 0.541) 34%, rgba(255, 255, 255, 0.382) 47%, rgba(255, 255, 255, 0.278) 56.5%, rgba(255, 255, 255, 0.194) 65%, rgba(255, 255, 255, 0.126) 73%, rgba(255, 255, 255, 0.075) 80.2%, rgba(255, 255, 255, 0.042) 86.1%, rgba(255, 255, 255, 0.021) 91%, rgba(255, 255, 255, 0.008) 95.2%, rgba(255, 255, 255, 0.002) 98.2%, rgba(255, 255, 255, 0) 100%);
background-image: linear-gradient(white 0%, rgba(255, 255, 255, 0.95) 5%, rgba(255, 255, 255, 0.738) 19%, rgba(255, 255, 255, 0.541) 34%, rgba(255, 255, 255, 0.382) 47%, rgba(255, 255, 255, 0.278) 56.5%, rgba(255, 255, 255, 0.194) 65%, rgba(255, 255, 255, 0.126) 73%, rgba(255, 255, 255, 0.075) 80.2%, rgba(255, 255, 255, 0.042) 86.1%, rgba(255, 255, 255, 0.021) 91%, rgba(255, 255, 255, 0.008) 95.2%, rgba(255, 255, 255, 0.002) 98.2%, rgba(255, 255, 255, 0) 100%);
}
.no-sidebar .site-header .main {
display: flex;
@ -1200,6 +1200,10 @@ textarea {
/* Guttenberg
--------------------------------------------- */
.edit-post-fullscreen-mode-close_site-icon {
background-color: #fff;
}
.black-blocs {
padding: 1rem 0;
gap: 1rem;
@ -1234,7 +1238,7 @@ textarea {
.black-blocs .wp-block-column .big-plus.white .wp-block-button__link {
margin: 0;
padding: 0;
color: white;
color: #fff;
background-color: transparent;
font-size: 4.5rem;
line-height: 0;

File diff suppressed because one or more lines are too long