CoastalCommitsPastes/client/app/components/header/header.module.css

91 lines
1.2 KiB
CSS
Raw Normal View History

2022-03-07 19:42:47 -05:00
.tabs {
justify-content: center;
display: flex;
margin: var(--gap) 0;
2022-11-12 21:39:03 -05:00
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);
2022-03-07 19:42:47 -05:00
}
2022-03-07 19:54:33 -05:00
.wrapper {
display: flex;
align-items: center;
width: min-content;
2022-03-07 19:54:33 -05:00
}
2022-12-04 04:31:51 -05:00
.header {
transition: opacity 0.2s ease-in-out;
opacity: 0;
}
.header:not(.loading) {
opacity: 1;
}
2022-03-07 19:54:33 -05:00
.selectContent {
width: auto;
height: 18px;
display: flex;
justify-content: space-between;
align-items: center;
2022-03-07 19:54:33 -05:00
}
.active a,
.active button {
color: var(--fg);
}
.buttonGroup,
.mobile {
display: none;
}
@media only screen and (max-width: 768px) {
.wrapper [data-tab="github"] {
display: none;
}
.mobile {
margin-top: var(--gap);
display: flex;
}
.buttonGroup {
display: flex;
flex-direction: column;
}
.dropdownItem a,
.dropdownItem button {
width: 100%;
}
.tabs {
display: none;
}
}