mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
0b5bb6e7b3
Tab views from @swenzel
43 lines
859 B
CSS
43 lines
859 B
CSS
#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;
|
|
}
|