Commit 8200f391 authored by Erik Faye-Lund's avatar Erik Faye-Lund
Browse files

footer: simplify coloring

Instead of setting the color everywhere just to avoid setting the color
on the headers, set the colors on the headers, and make links in the
footer inherit the color setting.

While we're at it, set the color to text-dark instead of text-body
(which is the default). This just decreases the contrast here ever so
slightly, to give these heading a tiny bit less emphasis. The difference
is almost impossible to see, but it makes a bit more semantic sense.
parent dc0c089b
<footer class="footer mt-3 py-3 bg-light">
<footer class="footer mt-3 py-3 bg-light text-muted">
<div class="container">
<div class="row">
<div class="col">
<strong>Documentation</strong>
<strong class="text-dark">Documentation</strong>
<ul class="list-unstyled">
<li><a class="text-muted" href="{{ .Site.Params.DocsURL }}/license.html">License</a></li>
<li><a class="text-muted" href="{{ .Site.Params.DocsURL }}/faq.html">FAQ</a></li>
<li><a class="text-muted" href="{{ .Site.Params.DocsURL }}/download.html">Getting Started</a></li>
<li><a href="{{ .Site.Params.DocsURL }}/license.html">License</a></li>
<li><a href="{{ .Site.Params.DocsURL }}/faq.html">FAQ</a></li>
<li><a href="{{ .Site.Params.DocsURL }}/download.html">Getting Started</a></li>
</ul>
</div>
<div class="col">
<strong>Community</strong>
<strong class="text-dark">Community</strong>
<ul class="list-unstyled">
<li><a class="text-muted" href="https://gitlab.freedesktop.org/mesa">GitLab</a></li>
<li><a class="text-muted" href="{{ .Site.Params.DocsURL }}/lists.html">Mailing Lists</a></li>
<li><a class="text-muted" href="{{ .Site.Params.DocsURL }}/bugs.html">Report a Bug</a></li>
<li><a href="https://gitlab.freedesktop.org/mesa">GitLab</a></li>
<li><a href="{{ .Site.Params.DocsURL }}/lists.html">Mailing Lists</a></li>
<li><a href="{{ .Site.Params.DocsURL }}/bugs.html">Report a Bug</a></li>
</ul>
</div>
<div class="col">
<strong>More</strong>
<strong class="text-dark">More</strong>
<ul class="list-unstyled">
<li><a class="text-muted" href="{{ "/website/" | relURL }}">About Mesa3D.org</a></li>
<li><a class="text-muted" href="{{ .Site.Params.DocsURL }}/thanks.html">Acknowledgements</a></li>
<li><a class="text-muted" href="https://dri.freedesktop.org/wiki/">Mesa / DRI Wiki</a></li>
<li><a href="{{ "/website/" | relURL }}">About Mesa3D.org</a></li>
<li><a href="{{ .Site.Params.DocsURL }}/thanks.html">Acknowledgements</a></li>
<li><a href="https://dri.freedesktop.org/wiki/">Mesa / DRI Wiki</a></li>
</ul>
</div>
<div class="col">
<p class="text-muted">Hosted by <a class="text-muted" href="https://www.freedesktop.org/">Freedesktop.org</a></p>
<p>Hosted by <a href="https://www.freedesktop.org/">Freedesktop.org</a></p>
{{ if .Page.Path }}
<p><a class="text-muted" href="{{ .Site.Params.GitLabURL }}/-/blob/main/content/{{ .Page.Path }}">Edit this page</a></p>
<p><a href="{{ .Site.Params.GitLabURL }}/-/blob/main/content/{{ .Page.Path }}">Edit this page</a></p>
{{ end }}
</div>
......
......@@ -5,3 +5,7 @@
footer {
flex: 1;
}
footer a:any-link {
color: inherit;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment