0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2024-12-22 07:13:09 -05:00

Update for Gitea 1.21

Previous changes for 1.20, and moving files public/assets/.
This commit is contained in:
Brecht Van Lommel 2023-10-17 20:02:09 +02:00
parent 391876ff30
commit 291e5b85d9
12 changed files with 20 additions and 25 deletions

View file

@ -168,6 +168,9 @@
/* Navbar. */
--color-navbar: hsl(213, 10%, 18%);
--color-nav-bg: hsl(213, 10%, 18%);
--color-nav-hover-bg: hsla(213, 18%, 90%, .05);
--color-header-wrapper: hsl(213, 10%, 18%);
--color-navbar-transparent: hsla(213, 10%, 14%, 0);
--color-header-bar: hsl(213, 10%, 18%);
@ -293,34 +296,10 @@
color: var(--color-label-text);
}
.following.bar #navbar {
min-height: 45px;
}
/* Align items (notifications, dropdown toggle) to the right. */
.following.bar #navbar .brand {
justify-content: flex-end !important;
}
.ui.tabular.menu {
border-color: var(--color-border);
}
/* Navbar logo. */
.item.brand a {
opacity: .8;
transition: opacity var(--transition-speed) ease-in-out;
}
.item.brand a:hover {
opacity: 1;
}
.item.brand svg {
height: 21px;
color: #fff;
}
.ui.breadcrumb a {
color: var(--color-text);
}

View file

Before

Width:  |  Height:  |  Size: 4 KiB

After

Width:  |  Height:  |  Size: 4 KiB

View file

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 124 KiB

View file

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 92 KiB

View file

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 118 KiB

View file

@ -455,7 +455,7 @@
</style>
<style>
/* Custom styling for code.blender.org */
/* Custom styling for projects.blender.org */
/* Make sure to start every line with ".nav-global"
* so changes affect the developer navbar only. */
@ -467,6 +467,22 @@
max-width: 1170px;
}
}
/* Override Gitea's default navbar height. */
#navbar {
min-height: 46px;
}
/* Hide the site logo. */
#navbar .item:first-child {
display: none;
}
/* Fix alignment of text in dropdown items. */
.ui.dropdown>.text {
position: relative;
top: -2px;
}
</style>
<div class="nav-global">