diff --git a/_resourcepdf/overrides/partials/edit.html b/_resourcepdf/overrides/partials/edit.html index 43b0d87b..fb68f0af 100644 --- a/_resourcepdf/overrides/partials/edit.html +++ b/_resourcepdf/overrides/partials/edit.html @@ -1,5 +1,6 @@ -
-
+ \ No newline at end of file +
diff --git a/docs/css/extra.css b/docs/css/extra.css index 101e45b8..3f48bd8f 100644 --- a/docs/css/extra.css +++ b/docs/css/extra.css @@ -11,7 +11,24 @@ line-height: 1.6; } -.edit-page-link { +/* Banner container */ +.edit-contrib-banner { + display: flex; + justify-content: center; /* center horizontally */ + padding: 0.7rem 0; /* top and bottom spacing of the banner */ + background-color: transparent; +} + +/* Inner content stacked vertically */ +.edit-contrib-banner .banner-content { + display: flex; + flex-direction: column; /* stack vertically */ + align-items: center; /* center horizontally */ + gap: 0.3rem; /* small vertical gap between elements */ +} + +/* Edit link styling */ +.edit-contrib-banner .edit-page-link { white-space: nowrap; display: inline-flex; align-items: center; @@ -19,12 +36,27 @@ font-size: 1.2rem; font-weight: normal; color: var(--md-typeset-a-color); - text-decoration: underline; } -.edit-page-icon svg { - width: 1.40em; - height: 1.40em; +/* Icon inside edit link */ +.edit-contrib-banner .edit-page-icon svg { + width: 1.4em; + height: 1.4em; fill: currentColor; vertical-align: middle; -} \ No newline at end of file +} + +/* Divider line with small spacing */ +.edit-contrib-banner .banner-divider { + width: 40%; /* width of the line */ + border-top: 1px solid var(--md-typeset-a-color); + opacity: 0.3; /* subtle line */ + margin: 0.2rem 0; /* smaller space above and below the line */ +} + +/* Contributing Guide smaller and below */ +.edit-contrib-banner .contrib-link { + font-size: 0.6rem !important; /* smaller font */ + color: var(--md-typeset-a-color); +} + \ No newline at end of file