Skip to content

Commit bd4f9ef

Browse files
CSS tweaks
1 parent 6479ba7 commit bd4f9ef

File tree

3 files changed

+38
-39
lines changed

3 files changed

+38
-39
lines changed

src/_data/sw.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": 1747176700965
2+
"version": 1747333240513
33
}

src/_styles/base/_blocks.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ hr {
9393
border-top: 1px solid $color-rule;
9494

9595
height: 0;
96-
@include rem( margin, $default-spacing auto );
96+
@include rem( margin, ($default-spacing * 2) auto );
9797

9898
@supports (margin-block: 1em) {
9999
@include unset( border-top height margin );
100100
border-block-start: 1px solid $color-rule;
101101
block-size: 0;
102102
margin-inline: auto;
103-
@include rem( margin-block, $default-spacing, false );
103+
@include rem( margin-block, $default-spacing * 2, false );
104104
}
105105
}
106106

src/_styles/pages/_speaking-engagements.scss

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -121,42 +121,6 @@
121121
@include rem( font-size, 24 );
122122
}
123123

124-
125-
&__location-picture {
126-
127-
background: transparent center center no-repeat;
128-
background-size: cover;
129-
box-shadow: inset 0 0 50px 7px $color-green-dark;
130-
131-
display: block;
132-
opacity: .35;
133-
filter: grayscale(100%);
134-
135-
margin: 0;
136-
position: absolute;
137-
top: 0;
138-
left: 0;
139-
right: 0;
140-
bottom: 0;
141-
z-index: 0;
142-
143-
transition: opacity .35s ease-in-out, transform .35s linear;
144-
145-
@supports (margin-block: 1em) {
146-
@include unset( top right bottom left );
147-
inset: 0;
148-
}
149-
150-
}
151-
152-
& a:focus .event__location-picture,
153-
&:hover .event__location-picture {
154-
155-
opacity: .05;
156-
transform: scale(1.125);
157-
158-
}
159-
160124
&--future {
161125

162126
border-color: $color-dark-teal;
@@ -181,6 +145,41 @@
181145

182146
}
183147

148+
&__location-picture {
149+
150+
background: transparent center center no-repeat;
151+
background-size: cover;
152+
box-shadow: inset 0 0 50px 7px $color-green-dark;
153+
154+
display: block;
155+
opacity: .35;
156+
filter: grayscale(100%);
157+
158+
margin: 0;
159+
position: absolute;
160+
top: 0;
161+
left: 0;
162+
right: 0;
163+
bottom: 0;
164+
z-index: 0;
165+
166+
transition: opacity .35s ease-in-out, transform .35s linear;
167+
168+
@supports (margin-block: 1em) {
169+
@include unset( top right bottom left );
170+
inset: 0;
171+
}
172+
173+
}
174+
175+
& a:focus .event__location-picture,
176+
& a:hover .event__location-picture {
177+
178+
opacity: .05;
179+
transform: scale(1.125);
180+
181+
}
182+
184183
html.dark-mode & {
185184
background: color.scale( $color-green-light, $lightness: -20% );
186185

0 commit comments

Comments
 (0)