mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Improve accessibility of panel heading elements
This commit is contained in:
@@ -216,10 +216,8 @@ img[data-src] {
|
||||
}
|
||||
|
||||
#panel-wrapper {
|
||||
h4 {
|
||||
@include panel-label;
|
||||
|
||||
font-family: inherit;
|
||||
.panel-heading { // the headings
|
||||
@include label(inherit);
|
||||
}
|
||||
|
||||
.post-tag {
|
||||
|
||||
@@ -124,18 +124,6 @@
|
||||
font-weight: $font-weight;
|
||||
}
|
||||
|
||||
@mixin panel-label {
|
||||
@include label(inherit);
|
||||
|
||||
display: block;
|
||||
line-height: 1.2;
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
@mixin align-center {
|
||||
position: relative;
|
||||
left: 50%;
|
||||
|
||||
Reference in New Issue
Block a user