mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-03 21:17:37 +03:00
Shrink links to icons on mobile
This commit is contained in:
parent
1a0d12d2ff
commit
c32d62fbd5
2 changed files with 21 additions and 3 deletions
|
@ -93,7 +93,8 @@ nav {
|
|||
}
|
||||
|
||||
nav * { color: var(--text); }
|
||||
nav #reddit, #code { color: var(--accent); }
|
||||
nav #reddit, #code > span { color: var(--accent); }
|
||||
nav #code > svg { stroke: var(--accent); }
|
||||
|
||||
nav #logo {
|
||||
grid-area: logo;
|
||||
|
@ -104,6 +105,11 @@ nav #logo {
|
|||
nav #links {
|
||||
grid-area: links;
|
||||
margin-left: 10px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
nav #links svg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
nav #version {
|
||||
|
@ -120,6 +126,10 @@ nav #libreddit {
|
|||
opacity: 0.8;
|
||||
}
|
||||
|
||||
#code {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
@ -1075,6 +1085,8 @@ td, th {
|
|||
}
|
||||
|
||||
nav #links { margin-left: auto; }
|
||||
nav #links span { display: none; }
|
||||
nav #links svg { display: block; }
|
||||
|
||||
#subscriptions { position: unset; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue