mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-01 00:27:20 -05:00
feat: download button on every file card
The Apple II page named its start files with no visible way to get one: the download sat after the collection path, fourth of a card's facts. Each card now carries a Download button in its title, each start-line name links to its card, and a card held on another part page is reached by its permanent link.
This commit is contained in:
1 parent
0c77ef074e
commit
b24fc06e51
6 files changed
+133
-26
No files matched your search
@@ -99,7 +99,7 @@
|
||||
}
|
||||
|
||||
/* Links and focus */
|
||||
.sl-markdown-content a:not(.rb-button):not(.rb-badge):not(.rb-permalink) {
|
||||
.sl-markdown-content a:not(.rb-button):not(.rb-badge):not(.rb-permalink):not(.rb-download) {
|
||||
color: var(--rb-link);
|
||||
text-decoration-thickness: 0.08em;
|
||||
text-underline-offset: 0.14em;
|
||||
@@ -486,6 +486,22 @@ body:has(.rb-sys-file, .rb-file-entry) { --sl-content-width: var(--rb-grid-width
|
||||
.rb-permalink { opacity: 1; }
|
||||
}
|
||||
|
||||
.rb-download {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 32px;
|
||||
margin-left: 0.5rem;
|
||||
padding: 0.15rem 0.7rem;
|
||||
border: 1px solid var(--rb-link);
|
||||
border-radius: 4px;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: var(--rb-link);
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.rb-download:hover { background: var(--sl-color-accent-low); }
|
||||
|
||||
/* The facts of a file card: label column, value column, one column on a phone. */
|
||||
.sl-markdown-content dl.rb-facts {
|
||||
display: grid;
|
||||
|
||||
Reference in new issue
Block a user