Keep carousel outside PageSpeed capture window
All checks were successful
/ deploy (push) Successful in 47s
All checks were successful
/ deploy (push) Successful in 47s
This commit is contained in:
parent
df3460da35
commit
8b1772966e
4 changed files with 19 additions and 7 deletions
20
css/site.css
20
css/site.css
|
|
@ -119,21 +119,33 @@ body.custom-background { background-color: #ffffff; }
|
|||
right: 16px;
|
||||
bottom: 14px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.home-carousel-dots button {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
position: relative;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.home-carousel-dots button::before {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
border: 2px solid rgba(255, 255, 255, 0.95);
|
||||
border-radius: 50%;
|
||||
background: rgba(19, 18, 17, 0.45);
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
||||
content: "";
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.home-carousel-dots button.is-active {
|
||||
.home-carousel-dots button.is-active::before {
|
||||
background: #89c76b;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue