1
0
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:
Cotes Chung
2021-12-07 20:08:53 +08:00
parent c64e587335
commit cf6c8e9b3a
6 changed files with 5 additions and 24 deletions

View File

@@ -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 {

View File

@@ -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%;