mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
tabs: use color for link of inactive tabs #675
This commit is contained in:
parent
4a69b1b5bc
commit
3c39bffe70
3 changed files with 11 additions and 5 deletions
|
@ -18,6 +18,7 @@
|
|||
/* adjusted to relearn-dark chroma style */
|
||||
--CODE-BLOCK-color: rgba( 248, 248, 248, 1 ); /* fallback text color of block code; should be adjusted to your selected chroma style */
|
||||
--CODE-BLOCK-BG-color: rgba( 43, 43, 43, 1 ); /* fallback background color of block code; should be adjusted to your selected chroma style */
|
||||
--CODE-BLOCK-BORDER-color: rgba( 71, 71, 71, 1 ); /* border color of block code */
|
||||
|
||||
--CODE-INLINE-color: rgba( 130, 229, 80, 1 ); /* text color of inline code */
|
||||
--CODE-INLINE-BG-color: rgba( 45, 45, 45, 1 ); /* background color of inline code */
|
||||
|
|
|
@ -2091,7 +2091,7 @@ html[dir="rtl"] #R-sidebar ul.collapsible-menu > li > label > i.fa-chevron-right
|
|||
|
||||
#R-body .tab-nav-button > .tab-nav-text{
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: .2rem;
|
||||
border-bottom-width: .15rem;
|
||||
display: block;
|
||||
padding: .2rem .6rem 0 .6rem;
|
||||
}
|
||||
|
|
|
@ -409,7 +409,10 @@ article ul > li > input[type="checkbox"] {
|
|||
}
|
||||
|
||||
#R-body .tab-nav-button {
|
||||
color: var(--INTERNAL-MAIN-TEXT-color);
|
||||
color: var(--INTERNAL-MAIN-LINK-color);
|
||||
}
|
||||
#R-body .tab-nav-button:not(.active):hover {
|
||||
color: var(--INTERNAL-MAIN-LINK-HOVER-color);
|
||||
}
|
||||
|
||||
#R-body .tab-nav-button.active {
|
||||
|
@ -418,12 +421,14 @@ article ul > li > input[type="checkbox"] {
|
|||
color: var(--VARIABLE-BOX-TEXT-color);
|
||||
}
|
||||
|
||||
#R-body .tab-nav-button > .tab-nav-text{
|
||||
border-bottom-color: var(--VARIABLE-BOX-color);
|
||||
}
|
||||
#R-body .tab-nav-button.active > .tab-nav-text{
|
||||
background-color: var(--VARIABLE-BOX-BG-color);
|
||||
}
|
||||
|
||||
#R-body .tab-nav-button > .tab-nav-text{
|
||||
border-color: var(--VARIABLE-BOX-color);
|
||||
#R-body .tab-nav-button:not(.active) > .tab-nav-text:hover {
|
||||
border-bottom-color: var(--INTERNAL-MAIN-LINK-HOVER-color);
|
||||
}
|
||||
|
||||
#R-body .tab-content{
|
||||
|
|
Loading…
Reference in a new issue