text/css
•
1.55 KB
•
103 lines
.page-header {
margin-bottom: var(--space-l);
}
.project-header {
color: var(--text-color);
font-size: 1.6rem;
margin-bottom: 0;
}
.project-header a {
text-decoration: none;
color: var(--text-color);
}
.project-header a:last-of-type {
color: var(--primary-color);
}
.repo-bar {
display: flex;
gap: var(--space-m);
align-content: center;
padding: var(--space-m) 0;
}
.repo-bar > select {
width: auto;
margin-bottom: 0;
}
.repo-bar > * {
align-content: center;
}
a.commit-count,
.repo-branches a,
.repo-tags a {
text-decoration: none;
color: var(--text-color);
width: 100%;
height: 100%;
display: flex;
font-variant-emoji: text;
align-content: center;
justify-content: center;
text-align: center;
transition: color 200ms ease-in-out;
}
a.commit-count:hover,
a.commit-count:focus,
.repo-branches a:hover,
.repo-branches a:focus,
.repo-tags a:hover,
.repo-tags a:focus {
color: var(--primary-color);
}
.repo-stats {
display: flex;
padding: var(--space-s) 0;
}
.repo-stats > * {
flex: 1;
}
@media screen and (max-width: 700px) {
.repo-bar {
display: grid;
grid-template-columns: auto 1fr auto auto;
grid-template-rows: auto auto;
gap: var(--space-m) var(--space-m);
align-items: center;
margin-bottom: var(--space-l);
}
.repo-bar .branch-switcher {
grid-column: 1 / -1;
grid-row: 1;
}
.repo-bar .repo-branches {
grid-column: 3;
grid-row: 1;
}
.repo-bar .repo-tags {
grid-column: 4;
grid-row: 1;
}
.repo-bar .flex-gap {
display: none;
}
.repo-bar rubhub-clone-url {
grid-column: 1 / -1;
grid-row: 2;
}
}