2023-02-07 17:07:26 +00:00
|
|
|
#body .tab-panel{
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
}
|
|
|
|
#body .tab-nav-button{
|
2022-05-29 21:22:49 +00:00
|
|
|
background-color: rgba( 134, 134, 134, .166 );
|
|
|
|
border-color: rgba( 134, 134, 134, .333 );
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px;
|
2022-02-15 19:00:40 +00:00
|
|
|
bottom: -1px;
|
2021-10-16 23:18:04 +00:00
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
|
color-adjust: exact;
|
|
|
|
display: block;
|
2022-02-15 19:00:40 +00:00
|
|
|
float: left;
|
2022-05-29 21:28:52 +00:00
|
|
|
font-size: .9rem;
|
2022-05-29 21:22:49 +00:00
|
|
|
font-weight: 500;
|
|
|
|
line-height: 1.42857143;
|
2022-11-01 01:10:49 +00:00
|
|
|
margin-inline-start: 4px;
|
2022-05-29 21:22:49 +00:00
|
|
|
padding: 6px 12px;
|
2022-02-15 19:00:40 +00:00
|
|
|
position: relative;
|
2021-10-16 23:18:04 +00:00
|
|
|
}
|
2023-02-08 21:24:18 +00:00
|
|
|
html[dir="rtl"] #body .tab-nav-button{
|
2022-11-01 01:10:49 +00:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2023-02-19 23:21:31 +00:00
|
|
|
#body .tab-nav-button:after {
|
|
|
|
content: "\200b"
|
|
|
|
}
|
|
|
|
|
2023-02-07 17:07:26 +00:00
|
|
|
#body .tab-nav-button:first-child{
|
2022-11-01 01:10:49 +00:00
|
|
|
margin-inline-start: 9px;
|
2021-10-16 23:18:04 +00:00
|
|
|
}
|
2023-05-25 10:46:07 +00:00
|
|
|
#body .tab-nav-button.active{
|
|
|
|
cursor: default;
|
|
|
|
}
|
2023-02-07 17:07:26 +00:00
|
|
|
#body .tab-nav-button:not(.active){
|
2022-05-29 21:22:49 +00:00
|
|
|
border-bottom-color: rgba( 134, 134, 134, .1 );
|
2022-06-23 10:35:42 +00:00
|
|
|
margin-top: 8px;
|
2021-10-16 23:18:04 +00:00
|
|
|
padding-bottom: 2px !important;
|
|
|
|
padding-top: 2px !important;
|
|
|
|
}
|
2023-02-07 17:07:26 +00:00
|
|
|
#body .tab-nav-button:not(.active) span{
|
2021-10-16 23:18:04 +00:00
|
|
|
opacity: .8;
|
|
|
|
}
|
2023-02-07 17:07:26 +00:00
|
|
|
#body .tab-content{
|
2022-02-15 19:00:40 +00:00
|
|
|
background-color: transparent;
|
|
|
|
border-color: rgba( 134, 134, 134, .333 );
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px;
|
2021-10-16 23:18:04 +00:00
|
|
|
clear: both;
|
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
|
color-adjust: exact;
|
|
|
|
display: block;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
2023-02-07 17:07:26 +00:00
|
|
|
#body .tab-content-text{
|
2021-10-16 23:18:04 +00:00
|
|
|
display: none;
|
2023-05-25 10:46:07 +00:00
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
/* remove margin if only a single code block is contained in the tab */
|
|
|
|
#body .tab-content-text:has(> div.highlight:only-child){
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
/* remove border from a code block if single */
|
|
|
|
#body .tab-content-text > div.highlight:only-child > pre{
|
|
|
|
border: 0;
|
2021-10-16 23:18:04 +00:00
|
|
|
}
|
2023-02-07 17:07:26 +00:00
|
|
|
#body .tab-content-text.active{
|
2021-10-16 23:18:04 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-02-07 17:07:26 +00:00
|
|
|
#body .tab-content-text pre{
|
2021-10-16 23:18:04 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|