1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00
chota/src/_tab.css

31 lines
478 B
CSS

.tabs {
display: flex;
}
.tabs a {
text-decoration: none;
}
.tabs > .dropdown > summary,
.tabs > a {
padding: 1rem 2rem;
flex: 0 1 auto;
color: var(--color-darkGrey);
border-bottom: 2px solid var(--color-lightGrey);
text-align: center;
}
.tabs > a.active,
.tabs > a:hover {
opacity: 1;
border-bottom: 2px solid var(--color-darkGrey);
}
.tabs > a.active {
border-color: var(--color-primary);
}
.tabs.is-full a {
flex: 1 1 auto;
}