Skip to content

Commit

Permalink
Safari fix outline for platform tags
Browse files Browse the repository at this point in the history
  • Loading branch information
zoobestik committed Feb 1, 2023
1 parent ebe2291 commit 357322f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion plugins/base/src/main/resources/dokka/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,10 @@ td:first-child {
width: var(--sidebar-width);
}

.no-js .sidebar {
display: none;
}

/*.theme-dark .sidebar {
box-shadow: inset 0 1px 0 0 hsl(0deg 0% 100% / 30%);
}*/
Expand Down Expand Up @@ -1078,7 +1082,10 @@ p.paragraph img {

.filter-section .platform-tag:not([data-active]) {
color: #fff;
outline: 1px solid rgba(255,255,255,.6);
/* Safari `outline` is incompatible with `border-radius`... */
/* outline: 1px solid rgba(255,255,255,.6); */
/* ...use box-shadow instead */
box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset;
background-color: rgba(255,255,255,.05);
}

Expand Down

0 comments on commit 357322f

Please sign in to comment.