Update styles

This commit is contained in:
toasted-nutbread 2020-02-25 19:38:52 -05:00
parent a0d5d9a821
commit 13a94d06ea

View File

@ -30,8 +30,8 @@
* General * General
*/ */
html:root[data-yomichan-page=float]:not([data-yomichan-theme]), :root[data-yomichan-page=float]:not([data-yomichan-theme]),
html:root[data-yomichan-page=float]:not([data-yomichan-theme]) body { :root[data-yomichan-page=float]:not([data-yomichan-theme]) body {
background-color: transparent; background-color: transparent;
} }
@ -65,10 +65,6 @@ ol, ul {
height: 2.28571428em; /* 14px => 32px */ height: 2.28571428em; /* 14px => 32px */
} }
.invisible {
visibility: hidden;
}
/* /*
* Navigation * Navigation
*/ */
@ -84,15 +80,15 @@ ol, ul {
border-bottom-style: solid; border-bottom-style: solid;
} }
html:root[data-yomichan-page=search] .navigation-header { :root[data-yomichan-page=search] .navigation-header {
position: sticky; position: sticky;
} }
html:root[data-yomichan-page=float] .navigation-header { :root[data-yomichan-page=float] .navigation-header {
position: fixed; position: fixed;
} }
html:root[data-yomichan-page=float] .navigation-header:not([hidden])~.navigation-header-spacer { :root[data-yomichan-page=float] .navigation-header:not([hidden])~.navigation-header-spacer {
height: 2.1em; height: 2.1em;
} }
@ -136,7 +132,7 @@ html:root[data-yomichan-page=float] .navigation-header:not([hidden])~.navigation
margin-right: 0.2em; margin-right: 0.2em;
} }
html:root[data-yomichan-page=search][data-search-mode=popup] .search-input { :root[data-yomichan-page=search][data-search-mode=popup] .search-input {
display: none; display: none;
} }
@ -150,7 +146,7 @@ html:root[data-yomichan-page=search][data-search-mode=popup] .search-input {
padding-bottom: 0.72em; padding-bottom: 0.72em;
} }
html:root[data-yomichan-page=float] .entry { :root[data-yomichan-page=float] .entry {
padding-left: 0.72em; padding-left: 0.72em;
padding-right: 0.72em; padding-right: 0.72em;
} }
@ -231,7 +227,7 @@ button.action-button {
margin-right: 0.375em; margin-right: 0.375em;
} }
html:root:not([data-enable-search-tags=true]) .tag[data-category=search] { :root:not([data-enable-search-tags=true]) .tag[data-category=search] {
display: none; display: none;
} }