You've already forked wp-bootstrap
v0.3.0 - Polish: accessibility, security, performance, RTL, French translation
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -75,3 +75,46 @@
|
||||
background: var(--bs-body-bg);
|
||||
}
|
||||
}
|
||||
|
||||
// Skip link (accessibility)
|
||||
.wp-bootstrap-skip-link {
|
||||
position: absolute;
|
||||
top: -100%;
|
||||
left: 0;
|
||||
z-index: $zindex-fixed + 10;
|
||||
padding: 0.5rem 1rem;
|
||||
background: var(--bs-primary);
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
|
||||
&:focus {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Post featured image
|
||||
.post-thumbnail {
|
||||
aspect-ratio: 16 / 9;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// Card thumbnail
|
||||
.card-thumbnail {
|
||||
aspect-ratio: 3 / 2;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
// Sidebar heading
|
||||
.sidebar-heading {
|
||||
letter-spacing: 1.6px;
|
||||
}
|
||||
|
||||
// Hero overlay
|
||||
.hero-overlay {
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user