Skip to content

Commit 329ae34

Browse files
author
Jacek Gębal
committed
Update footer
1 parent c3e533f commit 329ae34

2 files changed

Lines changed: 45 additions & 3 deletions

File tree

‎docs/stylesheets/extra.css‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,45 @@
117117
[data-md-color-scheme="slate"] .logo-dark {
118118
display: block !important;
119119
}
120+
121+
/* Footer: make the sponsor and cookie links stand out from the copyright text */
122+
.md-copyright a.footer-sponsor {
123+
display: inline-flex;
124+
overflow: hidden;
125+
margin: 0 .4rem;
126+
font-size: .65rem;
127+
font-weight: 600;
128+
line-height: 1;
129+
color: #fff;
130+
text-decoration: none;
131+
vertical-align: middle;
132+
border-radius: .2rem;
133+
}
134+
135+
.footer-sponsor__label,
136+
.footer-sponsor__name {
137+
padding: .3rem .5rem;
138+
}
139+
140+
.footer-sponsor__label {
141+
background: #555;
142+
}
143+
144+
.footer-sponsor__name {
145+
background: #ea4aaa;
146+
}
147+
148+
.md-copyright a.footer-sponsor:hover {
149+
color: #fff;
150+
opacity: .85;
151+
}
152+
153+
.md-copyright a.footer-cookies {
154+
color: var(--md-footer-fg-color);
155+
text-decoration: underline;
156+
text-underline-offset: .15em;
157+
}
158+
159+
.md-copyright a.footer-cookies:hover {
160+
color: var(--md-accent-fg-color);
161+
}

‎mkdocs.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ remote_name: origin
99
site_description: utPLSQL Ultimate Testing Framework for Oracle PL/SQL
1010
copyright: >
1111
Copyright © 2016 - 2026 utPLSQL Project.
12-
utPLSQL is stewarded by utPLSQL Development Labs Ltd.
13-
<a href="https://www.utplsql.org/sponsors.html">Sponsor utPLSQL</a>.
14-
<a href="#__consent">Change cookie settings</a>
12+
Stewarded by utPLSQL Development Labs Ltd.
13+
<a class="footer-sponsor" href="https://www.utplsql.org/sponsorship.html" title="Sponsor utPLSQL"><span class="footer-sponsor__label">&#9825; Sponsor</span><span class="footer-sponsor__name">utPLSQL</span></a>
14+
<a class="footer-cookies" href="#__consent">Change cookie settings</a>
1515
extra_css:
1616
- assets/topbar.css
1717
- stylesheets/extra.css

0 commit comments

Comments
 (0)