2023-02-02 07:06:08 -05:00
|
|
|
<style>
|
2023-02-09 13:47:49 -05:00
|
|
|
:root {
|
|
|
|
--border-radius: .33rem;
|
|
|
|
--transition-speed: 150ms;
|
2024-05-30 05:18:04 -05:00
|
|
|
|
|
|
|
--color-timeline: var(--color-secondary);
|
2023-02-09 13:47:49 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Light-theme specific. */
|
|
|
|
.theme-gitea {
|
|
|
|
--color-primary: hsl(204deg, 90%, 52%);
|
|
|
|
}
|
|
|
|
|
2024-05-30 05:18:04 -05:00
|
|
|
/* Revert the red color in dashboard header buttons. */
|
2023-02-09 13:47:49 -05:00
|
|
|
.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) */
|
2024-05-30 05:18:04 -05:00
|
|
|
/* Buttons. */
|
|
|
|
.ui.button,
|
|
|
|
a.ui.label {
|
|
|
|
transition: background-color var(--transition-speed), color var(--transition-speed);
|
2023-02-10 06:59:13 -05:00
|
|
|
}
|
|
|
|
|
2024-05-30 05:18:04 -05:00
|
|
|
/* Avatars. */
|
|
|
|
img.ui.avatar {
|
|
|
|
border-radius: 50%;
|
2023-02-09 13:47:49 -05:00
|
|
|
}
|
|
|
|
|
2023-02-21 06:55:43 -05:00
|
|
|
/* Hide the app logo (first link in "brand" div). */
|
|
|
|
.following.bar #navbar .brand > a:first-child {
|
2023-02-09 13:47:49 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-05-30 05:18:04 -05:00
|
|
|
/* Homepage. */
|
|
|
|
/* By default Gitea colors links green */
|
|
|
|
.home a {
|
|
|
|
color: var(--color-primary);
|
2023-02-09 13:47:49 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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
|
|
|
}
|
|
|
|
|
2024-04-25 08:27:15 -05:00
|
|
|
/* Hide the navbar logo. */
|
|
|
|
#navbar #navbar-logo {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-02-09 13:47:49 -05:00
|
|
|
/* Repository page. */
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Repository stats. */
|
|
|
|
.repository-summary-language-stats {
|
|
|
|
height: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.repository .repository-summary .segment.language-stats {
|
|
|
|
height: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Repository: Activity page. */
|
|
|
|
.stats-table {
|
|
|
|
margin-bottom: var(--spacer);
|
2023-02-10 11:09:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide branches from PR list. */
|
|
|
|
.issue.list .branches {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2023-02-09 13:47:49 -05:00
|
|
|
/* Footer. */
|
|
|
|
footer {
|
|
|
|
color: var(--color-footer-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
footer a {
|
|
|
|
color: var(--color-footer-links);
|
|
|
|
}
|
2023-03-13 18:58:31 -05:00
|
|
|
|
|
|
|
/* Manual preview tweaks. */
|
|
|
|
.restructuredtext a {
|
|
|
|
color: var(--color-accent) !important;
|
|
|
|
}
|
|
|
|
.restructuredtext :is(section, dd) > div {
|
|
|
|
background-color: var(--color-markup-code-block);
|
|
|
|
padding-bottom: 8px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
.restructuredtext section div > p:first-child {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
.restructuredtext section div * {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
.restructuredtext section div > :is(p, dl) {
|
|
|
|
padding: 8px 12px;
|
|
|
|
}
|
|
|
|
.restructuredtext section div > ul {
|
|
|
|
padding-bottom: 12px;
|
|
|
|
}
|
|
|
|
.restructuredtext section dl dt {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
2024-07-22 05:43:11 -05:00
|
|
|
|
|
|
|
/* Alert blocks. */
|
|
|
|
blockquote.attention-note {
|
|
|
|
background-color: var(--color-info-bg);
|
|
|
|
border-left-color: var(--color-blue-dark-1);
|
|
|
|
}
|
|
|
|
strong.attention-note, span.attention-note {
|
|
|
|
color: var(--color-blue-dark-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.attention-tip {
|
|
|
|
background-color: var(--color-success-bg);
|
|
|
|
border-left-color: var(--color-success-text);
|
|
|
|
}
|
|
|
|
strong.attention-tip, span.attention-tip {
|
|
|
|
color: var(--color-success-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.attention-important {
|
|
|
|
background-color: var(--color-violet-dark-bg);
|
|
|
|
border-left-color: var(--color-violet-dark-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
strong.attention-important, span.attention-important {
|
|
|
|
color: var(--color-violet-dark-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.attention-warning {
|
|
|
|
background-color: var(--color-warning-bg);
|
|
|
|
border-left-color: var(--color-warning-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
strong.attention-warning, span.attention-warning {
|
|
|
|
color: var(--color-warning-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.attention-caution {
|
|
|
|
background-color: var(--color-error-bg);
|
|
|
|
border-left-color: var(--color-red-dark-1);
|
|
|
|
}
|
|
|
|
strong.attention-caution, span.attention-caution {
|
|
|
|
color: var(--color-red-dark-1);
|
|
|
|
}
|
2023-02-02 07:06:08 -05:00
|
|
|
</style>
|
2023-05-22 09:09:38 -05:00
|
|
|
|
|
|
|
<script defer data-domain="projects.blender.org" src="https://analytics.blender.org/js/script.js"></script>
|