2023-02-02 07:06:08 -05:00
|
|
|
<style>
|
2023-02-09 13:47:49 -05:00
|
|
|
/* bthree dark theme */
|
|
|
|
@font-face {
|
|
|
|
font-family: "Heebo";
|
2023-02-10 09:07:38 -05:00
|
|
|
src: url("/assets/fonts/Heebo-VariableFont_wght.ttf") format("truetype-variations");
|
2023-02-09 13:47:49 -05:00
|
|
|
font-weight: normal;
|
|
|
|
font-variation-settings: "wght" var(--font-weight);
|
|
|
|
font-style: normal
|
|
|
|
}
|
2023-02-02 07:06:08 -05:00
|
|
|
|
2023-02-09 13:47:49 -05:00
|
|
|
:root {
|
|
|
|
/* Spacing. */
|
|
|
|
--spacer: 1rem;
|
|
|
|
--spacer-1: .25rem;
|
|
|
|
--spacer-2: .5rem;
|
|
|
|
--spacer-3: var(--spacer);
|
|
|
|
--spacer-4: 1.5rem;
|
|
|
|
--spacer-5: 3rem;
|
|
|
|
|
|
|
|
/* Override fonts. */
|
|
|
|
--fonts-override: 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
|
--font-weight-thin: 300;
|
|
|
|
--font-weight-bold: 600;
|
|
|
|
|
|
|
|
--border-radius: .33rem;
|
2023-02-02 07:06:08 -05:00
|
|
|
|
2023-02-09 13:47:49 -05:00
|
|
|
/* Transitions. */
|
|
|
|
--transition-speed: 150ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Light-theme specific. */
|
|
|
|
.theme-gitea {
|
|
|
|
--color-primary: hsl(204deg, 90%, 52%);
|
|
|
|
}
|
|
|
|
|
2023-02-10 09:07:38 -05:00
|
|
|
/* Set weight variations. */
|
|
|
|
strong, b, h1, h2, h3, h4, h5, h6, .bold,
|
|
|
|
a.issue-title,
|
|
|
|
.ui.tabular.menu .active.item {
|
|
|
|
font-weight: normal !important;
|
|
|
|
font-variation-settings: "wght" var(--font-weight-bold);
|
|
|
|
}
|
|
|
|
|
|
|
|
.repository.view.issue .title .issue-title h1 {
|
|
|
|
font-variation-settings: "wght" var(--font-weight-thin);
|
|
|
|
}
|
|
|
|
|
2023-02-09 13:47:49 -05:00
|
|
|
@media (min-width: 1200px) {
|
|
|
|
/* Limit navbar width on large screens. */
|
|
|
|
.dashboard-navbar {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 1170px;
|
2023-02-02 07:06:08 -05:00
|
|
|
}
|
2023-02-09 13:47:49 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Revert the red color in dashboard eader buttons. */
|
|
|
|
.dashboard.feeds .right.stackable.menu>.item.active,
|
|
|
|
.dashboard.issues .right.stackable.menu>.item.active {
|
|
|
|
color: unset;
|
|
|
|
}
|
2023-02-02 07:06:08 -05:00
|
|
|
|
2023-02-09 13:47:49 -05:00
|
|
|
/* Global tweaks (all themes) */
|
|
|
|
.ui.avatar {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.user.list .ui.avatar,
|
|
|
|
.ui.user.list .ui.avatar+.content {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2023-02-10 06:59:13 -05:00
|
|
|
/* Fix alignment and margin issues in avatars. */
|
|
|
|
.user.list img.avatar,
|
|
|
|
.comment-list .code-comment img.avatar,
|
|
|
|
.comment-list .comment img.avatar {
|
2023-02-09 13:47:49 -05:00
|
|
|
vertical-align: unset !important;
|
2023-02-10 06:59:13 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.user.list img.avatar,
|
|
|
|
.commit-list img.avatar,
|
|
|
|
.comment-list .code-comment img.avatar,
|
|
|
|
.comment-list .comment img.avatar,
|
|
|
|
.comment-list .timeline-item img.avatar {
|
|
|
|
margin-right: var(--spacer-2) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-list .author img.avatar {
|
|
|
|
margin-right: var(--spacer-3) !important;
|
2023-02-09 13:47:49 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Labels. e.g. issues count indicator in repo tabs. */
|
|
|
|
.ui.small.label {
|
|
|
|
border-radius: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide the first link (app logo). */
|
|
|
|
.following.bar #navbar .brand a:first-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.following.bar #navbar .brand #navbar-expand-toggle {
|
|
|
|
margin-left: var(--spacer-4);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide brand navbar completely when not in mobile. */
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.following.bar #navbar .brand {
|
|
|
|
display: none;
|
2023-02-02 07:06:08 -05:00
|
|
|
}
|
2023-02-09 13:47:49 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Navigation tabs.
|
|
|
|
* e.g. Code, Issues pages in a repository. */
|
|
|
|
.ui.tabular.menu .item {
|
|
|
|
border: none;
|
|
|
|
border-bottom: 3px solid transparent;
|
|
|
|
border-radius: 0;
|
|
|
|
transition: border-bottom-color var(--transition-speed) ease-in-out, color var(--transition-speed) ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.tabular.menu .item:hover {
|
|
|
|
border-bottom-color: var(--color-text-dark);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.tabular.menu .active.item {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 3px solid currentColor;
|
|
|
|
margin-bottom: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.tabular.menu .active.item:hover {
|
|
|
|
background: transparent;
|
|
|
|
border-color: var(--color-text-dark);
|
|
|
|
color: var(--color-text-dark);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Repository page. */
|
|
|
|
.repository .repo-title .repo-icon svg {
|
|
|
|
max-width: 22px;
|
|
|
|
}
|
|
|
|
|
2023-02-10 06:59:13 -05:00
|
|
|
.ui.table {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2023-02-09 13:47:49 -05:00
|
|
|
.repository .ui.table a {
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.repository .file-view.markdown a {
|
|
|
|
color: var(--color-primary);
|
|
|
|
}
|
|
|
|
|
2023-02-10 06:59:13 -05:00
|
|
|
.repository .file-view .markup img {
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
2023-02-09 13:47:49 -05:00
|
|
|
/* Repository folder icon. */
|
|
|
|
.repository.file.list #repo-files-table tbody .svg.octicon-file-directory-fill {
|
|
|
|
color: currentColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.repo-topic.label {
|
|
|
|
border-radius: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Repository stats. */
|
|
|
|
.repository-summary-language-stats {
|
|
|
|
height: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.repository .repository-summary .segment.language-stats {
|
|
|
|
height: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Repository: Activity page. */
|
|
|
|
.stats-table {
|
|
|
|
border-radius: 2em;
|
|
|
|
margin-bottom: var(--spacer);
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Footer. */
|
|
|
|
footer {
|
|
|
|
color: var(--color-footer-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
footer a {
|
|
|
|
color: var(--color-footer-links);
|
|
|
|
}
|
2023-02-02 07:06:08 -05:00
|
|
|
</style>
|