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

44 lines
859 B
CSS
Raw Normal View History

2024-07-28 15:51:01 +02:00
#body .tab-nav-button {
border-width: 1px 1px 1px 1px !important;
border-color: #ccc !important;
border-radius: 4px 4px 0 0 !important;
background-color: #ddd !important;
float: left;
display: block;
position: relative;
margin-left: 4px;
bottom: -1px;
}
#body .tab-nav-button:first-child {
margin-left: 0px;
}
#body .tab-nav-button.active {
background-color: #fff !important;
border-bottom-color: #fff !important;
}
#body .tab-panel {
margin-top: 32px;
margin-bottom: 32px;
}
#body .tab-content {
display: block;
clear: both;
padding: 8px;
border-width: 1px;
border-style: solid;
border-color: #ccc;
}
#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;
}