hugo-theme-relearn/static/css/tabs.css

54 lines
1.2 KiB
CSS
Raw Normal View History

#body .tab-nav-button {
2022-02-15 19:00:00 +00:00
background-color: rgba( 134, 134, 134, .166 ) !important;
border-color: rgba( 134, 134, 134, .333 ) !important;
border-radius: 4px 4px 0 0 !important;
2022-02-15 19:00:00 +00:00
border-width: 1px 1px 1px 1px !important;
bottom: -1px;
2021-08-27 20:23:58 +00:00
-webkit-print-color-adjust: exact;
color-adjust: exact;
display: block;
2022-02-15 19:00:00 +00:00
float: left;
margin-left: 4px;
2022-02-15 19:00:00 +00:00
position: relative;
}
#body .tab-nav-button:first-child {
2021-08-27 20:23:58 +00:00
margin-left: 9px;
}
2021-08-27 20:23:58 +00:00
#body .tab-nav-button:not(.active) {
2022-02-15 19:00:00 +00:00
border-bottom-color: rgba( 134, 134, 134, .1 ) !important;
2021-08-27 20:23:58 +00:00
margin-top: 7px;
padding-bottom: 2px !important;
padding-top: 2px !important;
}
#body .tab-nav-button:not(.active) span {
opacity: .8;
}
#body .tab-panel {
2021-09-28 22:02:34 +00:00
margin-bottom: 1.5rem;
2022-02-15 19:00:00 +00:00
margin-top: 1.5rem;
}
#body .tab-content {
2022-02-15 19:00:00 +00:00
background-color: transparent;
border-color: rgba( 134, 134, 134, .333 );
border-style: solid;
border-width: 1px;
clear: both;
2021-08-27 20:23:58 +00:00
-webkit-print-color-adjust: exact;
color-adjust: exact;
display: block;
padding: 8px;
2021-08-27 20:23:58 +00:00
z-index: 10;
}
#body .tab-content .tab-item{
display: none;
}
#body .tab-content .tab-item.active{
display: block;
}
#body .tab-item pre{
margin-bottom: 0;
margin-top: 0;
}