Skip to content

Commit 32a2979

Browse files
committed
wip theme style
1 parent 84ac783 commit 32a2979

File tree

6 files changed

+10
-24
lines changed

6 files changed

+10
-24
lines changed

src/styles/components/_accessibility.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
&:focus {
2222
background-color: var(--wp--preset--color--secondary);
2323
border-radius: 3px;
24-
box-shadow: 0 0 2px 2px rgba(var(--wp--preset--color--black--decimal), 0.5);
24+
box-shadow: 0 0 2px 2px var(--wp--preset--color--black);
2525
clip: auto !important;
2626
clip-path: none;
27-
color: var(--wp--preset--color--white);
27+
color: var(--wp--preset--color--background);
2828
font-weight: bolder;
2929
height: auto;
3030
display: block;

src/styles/components/_blocks.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
/* Blocks styles */
22
.wp-site-blocks {}
3-

src/styles/components/_footer.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
footer.wp-block-template-part {}
1+
footer.wp-block-template-part {
2+
margin-top: auto;
3+
}

src/styles/components/_header.scss

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ header.wp-block-template-part {
1212

1313
&.is-style-fixed {
1414
position: fixed;
15+
width: 100%;
16+
transition: 350ms background-color, 175ms 1050ms color;
1517

1618
> div {
1719
transition: 0.7s background-color;
@@ -32,13 +34,6 @@ header.wp-block-template-part {
3234
}
3335
}
3436

35-
36-
@media #{$mq__responsive_breakpoint} {
37-
height: var(--header--branding--height);
38-
transform: inherit !important;
39-
padding: 0;
40-
}
41-
4237
// if there isn't a featured image compensate void space under the menu
4338
@media all and (min-width: 699px) {
4439

src/styles/components/_hero.scss

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
/**
2-
* The style for the text filled with a gradient (used in the hero section / patterns)
3-
*/
4-
.is-style-gradient {
5-
background: -webkit-linear-gradient(45deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
6-
-webkit-background-clip: text;
7-
-webkit-text-fill-color: transparent;
8-
}
9-
101
.modulr-hero {
112
position: relative;
123
.hero-title {
@@ -23,13 +14,13 @@
2314
translate: -50% -50%;
2415
}
2516
&:before {
26-
left: -100vw;
17+
left: -90vw;
2718
background: linear-gradient(80deg,var(--wp--preset--color--primary) 0%,var(--wp--preset--color--primary-light) 100%);
28-
mask-image: radial-gradient(rgba(0,0,0,.4),transparent 60%);
19+
mask-image: radial-gradient(rgba(0,0,0,.45),transparent 60%);
2920
}
3021
&:after {
3122
left: 100vw;
3223
background: linear-gradient(240deg,var(--wp--preset--color--secondary) 0%,var(--wp--preset--color--secondary-light) 100%);
33-
mask-image: radial-gradient(rgba(0,0,0,.3),transparent 65%);
24+
mask-image: radial-gradient(rgba(0,0,0,.33),transparent 65%);
3425
}
3526
}

src/styles/pages/_author.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// todo: styling this
21
.article-author {}

0 commit comments

Comments
 (0)