Skip to content

Commit 2b58943

Browse files
author
door7302
committed
fix CSS
1 parent 85afd03 commit 2b58943

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

‎docs/stylesheets/extra-branch.css‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ body:has(.banner-section) .md-content__inner {
271271
font-size: clamp(18px, 2.5vw, 24px);
272272
}
273273

274+
/* Author/date byline ("**Name - date**") directly under the article title */
275+
.md-typeset h1 + p strong {
276+
font-weight: 500;
277+
}
278+
274279
/* Headings on a white background use HPE midnight */
275280
[data-md-color-scheme="default"] .md-typeset h1,
276281
[data-md-color-scheme="default"] .md-typeset h2,
@@ -451,7 +456,7 @@ body:has(.banner-section) .md-content__inner {
451456
/* Table of contents hover links: #01a982 fails accessibility contrast ratios */
452457
.md-nav--secondary .md-nav__link:hover,
453458
.md-nav--secondary .md-nav__link:focus {
454-
color: #006750;
459+
color: #006750 !important;
455460
}
456461

457462
/* Active sidebar link indicator: #01a982 (accent) fails accessibility contrast ratios */
@@ -862,10 +867,15 @@ body:has(.banner-section) .md-header__topic:first-child {
862867
margin: 0;
863868
object-fit: cover;
864869
display: block;
870+
transition: transform 0.35s ease;
865871
max-width: none !important;
866872
filter: none !important;
867873
}
868874

875+
.card:hover .card-icon {
876+
transform: scale(1.04);
877+
}
878+
869879
/* ✅ Card text area */
870880
.card-text {
871881
display: flex;

‎docs/stylesheets/extra.css‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,11 @@ body:has(.banner-section) .md-content__inner {
272272
font-size: clamp(18px, 2.5vw, 24px);
273273
}
274274

275+
/* Author/date byline ("**Name - date**") directly under the article title */
276+
.md-typeset h1 + p strong {
277+
font-weight: 500;
278+
}
279+
275280
/* Headings on a white background use HPE midnight */
276281
[data-md-color-scheme="default"] .md-typeset h1,
277282
[data-md-color-scheme="default"] .md-typeset h2,
@@ -497,7 +502,7 @@ body:has(.banner-section) .md-content__inner {
497502
/* Table of contents hover links: #01a982 fails accessibility contrast ratios */
498503
.md-nav--secondary .md-nav__link:hover,
499504
.md-nav--secondary .md-nav__link:focus {
500-
color: #006750;
505+
color: #006750 !important;
501506
}
502507

503508
/* Active sidebar link indicator: #01a982 (accent) fails accessibility contrast ratios */
@@ -945,10 +950,15 @@ body:has(.banner-section) .md-header__topic:first-child {
945950
margin: 0;
946951
object-fit: cover;
947952
display: block;
953+
transition: transform 0.35s ease;
948954
max-width: none !important;
949955
filter: none !important;
950956
}
951957

958+
.card:hover .card-icon {
959+
transform: scale(1.04);
960+
}
961+
952962
/* ✅ Card text area */
953963
.card-text {
954964
display: flex;

0 commit comments

Comments
 (0)