111 lines
1.6 KiB
CSS
111 lines
1.6 KiB
CSS
.tabs {
|
|
justify-content: center;
|
|
display: flex;
|
|
margin: var(--gap) 0;
|
|
height: 40px;
|
|
}
|
|
|
|
.tabs .buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.tabs .buttons button {
|
|
border: none;
|
|
border-radius: 0;
|
|
cursor: pointer;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.tabs button,
|
|
.tabs a {
|
|
color: var(--darker-gray);
|
|
transition: color, box-shadow 0.2s ease-in-out;
|
|
}
|
|
|
|
.tabs .buttons a:hover,
|
|
.tabs .buttons button:hover {
|
|
color: var(--fg);
|
|
box-shadow: inset 0 -1px 0 var(--fg);
|
|
}
|
|
|
|
.wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
width: min-content;
|
|
}
|
|
|
|
.header {
|
|
transition: opacity 0.2s ease-in-out;
|
|
opacity: 0;
|
|
}
|
|
|
|
.header:not(.loading) {
|
|
opacity: 1;
|
|
}
|
|
|
|
.selectContent {
|
|
width: auto;
|
|
height: 18px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.active a,
|
|
.active button {
|
|
color: var(--fg);
|
|
}
|
|
|
|
.buttonGroup,
|
|
.mobile {
|
|
display: none;
|
|
}
|
|
|
|
.contentWrapper {
|
|
background: var(--bg);
|
|
}
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
.wrapper [data-tab="github"] {
|
|
display: none;
|
|
}
|
|
|
|
.mobile {
|
|
margin-top: var(--gap);
|
|
margin-bottom: var(--gap);
|
|
display: flex;
|
|
}
|
|
|
|
.buttonGroup {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.dropdownItem:not(:first-child):not(:last-child) :global(button) {
|
|
border-top-left-radius: 0;
|
|
border-top-right-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
.dropdownItem:first-child :global(button) {
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
.dropdownItem:last-child :global(button) {
|
|
border-top-left-radius: 0;
|
|
border-top-right-radius: 0;
|
|
}
|
|
|
|
.dropdownItem a,
|
|
.dropdownItem button {
|
|
width: 100%;
|
|
}
|
|
|
|
.tabs {
|
|
display: none;
|
|
}
|
|
}
|