mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 00:56:23 +01:00
Slight adjustments to tab bar styles
This commit is contained in:
parent
5c6e9756d0
commit
d6d10d091e
1 changed files with 9 additions and 1 deletions
|
@ -82,6 +82,8 @@
|
||||||
list-style: none;
|
list-style: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
min-width: 20vw;
|
||||||
|
flex-basis: 20vw;
|
||||||
}
|
}
|
||||||
#shortcuts .tab-bar li a {
|
#shortcuts .tab-bar li a {
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
@ -95,7 +97,11 @@
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-shadow: 0 var(--hairline-width) var(--bg-color);
|
text-shadow: 0 var(--hairline-width) var(--bg-color);
|
||||||
width: 20vw;
|
width: 100%;
|
||||||
|
|
||||||
|
&:is(:hover, :focus) {
|
||||||
|
color: var(--text-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#shortcuts .tab-bar li a:active {
|
#shortcuts .tab-bar li a:active {
|
||||||
transform: scale(0.95);
|
transform: scale(0.95);
|
||||||
|
@ -171,6 +177,8 @@ shortcuts .tab-bar[hidden] {
|
||||||
}
|
}
|
||||||
#shortcuts .tab-bar li {
|
#shortcuts .tab-bar li {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
|
min-width: auto;
|
||||||
|
flex-basis: auto;
|
||||||
}
|
}
|
||||||
#shortcuts .tab-bar li a {
|
#shortcuts .tab-bar li a {
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
|
|
Loading…
Reference in a new issue