mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 06:19:22 -05:00
fix: tab selected bold style
This commit is contained in:
parent
e8942dc212
commit
bd9a419002
1 changed files with 10 additions and 1 deletions
|
@ -64,8 +64,17 @@
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* https://stackoverflow.com/questions/5687035/css-bolding-some-text-without-changing-its-containers-size/46452396#46452396 */
|
||||||
.thaw-tab--selected .thaw-tab__content {
|
.thaw-tab--selected .thaw-tab__content {
|
||||||
font-weight: var(--fontWeightSemibold);
|
/* font-weight: var(--fontWeightSemibold); */
|
||||||
|
text-shadow: -0.06ex 0 0 currentColor, 0.06ex 0 0 currentColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@supports (-webkit-text-stroke-width: 0.04ex) {
|
||||||
|
.thaw-tab--selected .thaw-tab__content {
|
||||||
|
text-shadow: -0.03ex 0 0 currentColor, 0.03ex 0 0 currentColor;
|
||||||
|
-webkit-text-stroke-width: 0.04ex;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.thaw-tab--selected::after {
|
.thaw-tab--selected::after {
|
||||||
|
|
Loading…
Add table
Reference in a new issue