0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2024-12-22 23:40:37 -05:00
blender-projects-gitea-custom/templates/custom/header.tmpl

126 lines
2.6 KiB
Cheetah
Raw Normal View History

<style>
:root {
--border-radius: .33rem;
--transition-speed: 150ms;
--color-timeline: var(--color-secondary);
}
/* Light-theme specific. */
.theme-gitea {
--color-primary: hsl(204deg, 90%, 52%);
}
/* Revert the red color in dashboard header buttons. */
.dashboard.feeds .right.stackable.menu>.item.active,
.dashboard.issues .right.stackable.menu>.item.active {
color: unset;
}
/* Global tweaks (all themes) */
/* Buttons. */
.ui.button,
a.ui.label {
transition: background-color var(--transition-speed), color var(--transition-speed);
}
/* Avatars. */
img.ui.avatar {
border-radius: 50%;
}
/* Hide the app logo (first link in "brand" div). */
.following.bar #navbar .brand > a:first-child {
display: none;
}
/* Homepage. */
/* By default Gitea colors links green */
.home a {
color: var(--color-primary);
}
/* Hide brand navbar completely when not in mobile. */
@media (min-width: 768px) {
.following.bar #navbar .brand {
display: none;
}
}
/* Hide the navbar logo. */
#navbar #navbar-logo {
display: none;
}
/* Repository page. */
.repository .file-view.markdown a {
color: var(--color-primary);
}
.repository .file-view .markup img {
border-radius: var(--border-radius);
}
/* 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);
}
/* Hide branches from PR list. */
.issue.list .branches {
display: none !important;
}
/* Footer. */
footer {
color: var(--color-footer-text);
}
footer a {
color: var(--color-footer-links);
}
/* 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;
}
</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>