Website: Kaffee-Link neben Discord in den Header
Der Header hat bisher nur unten im Elsewhere-Block auf Buy Me a Coffee gezeigt. Jetzt steht der Link mit dem BMC-Becher direkt neben Discord -- als hohle Pille, damit der volle Knopf der Download bleibt. Auf allen vier Seiten identisch (inkl. der api.html-Vorlage im Generator), unter 1000px faltet er wie die anderen ins Menue-Sheet. Cache-Bust auf ?v=14.
This commit is contained in:
1 parent
d93258ad3f
commit
5080a8e384
6 files changed
+37
-10
No files matched your search
@@ -168,6 +168,23 @@ nav {
|
||||
.nav-quick .cta:hover { background: #4ade63; text-decoration: none; }
|
||||
.nav-quick .ql[aria-current="page"] { color: var(--fg); }
|
||||
|
||||
/* The one link up here that asks for something instead of offering it. A pill, so
|
||||
it reads as a button next to the plain links — but hollow, in Buy Me a Coffee's
|
||||
own yellow, because the solid button in this bar is and stays the download. */
|
||||
.nav-quick .coffee {
|
||||
display: inline-flex; align-items: center; gap: 7px;
|
||||
padding: 6px 13px; border-radius: 999px;
|
||||
color: #f0c84a; background: rgba(255, 221, 0, .08);
|
||||
border: 1px solid rgba(255, 221, 0, .26);
|
||||
transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
|
||||
}
|
||||
.nav-quick .coffee svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
|
||||
.nav-quick .coffee:hover {
|
||||
color: #ffdd00; background: rgba(255, 221, 0, .16);
|
||||
border-color: rgba(255, 221, 0, .48); text-decoration: none;
|
||||
}
|
||||
.navsheet .coffee { color: #f0c84a; }
|
||||
|
||||
.nav-toggle {
|
||||
display: none;
|
||||
position: relative;
|
||||
|
||||
Reference in new issue
Block a user