2023-10-25 19:32:37 +00:00
|
|
|
/**
|
|
|
|
* Tweaks done to the [Gitea Modern](https://git.sofiaritz.com/mirrors/Gitea-Modern) theme.
|
|
|
|
* This file is loaded inside the [theme-gitea-modern.css](https://git.sofiaritz.com/mirrors/Gitea-Modern/src/branch/main/theme-gitea-modern.css)
|
|
|
|
* located in this same directory.
|
|
|
|
* The `theme-forgejo-auto` theme is also loaded there.
|
|
|
|
**/
|
|
|
|
|
2023-10-25 20:47:35 +00:00
|
|
|
:root {
|
|
|
|
--fj-tweaks--checkmark: "\2714";
|
|
|
|
--fj-tweaks--official-text: "Official Project";
|
|
|
|
--fj-tweaks--official-color: #3b913b;
|
|
|
|
--fj-tweaks--verified-text: "Verified User";
|
|
|
|
--fj-tweaks--verified-color: var(--color-primary);
|
|
|
|
}
|
|
|
|
|
2023-10-25 19:32:37 +00:00
|
|
|
/* Improve look of the repo listings */
|
|
|
|
.ui.repository.list .item .header .repo-title, .ui.user.list .item .header .repo-title {
|
2023-10-25 20:47:35 +00:00
|
|
|
display: flex !important;
|
|
|
|
gap: 1rem;
|
2023-10-25 19:32:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui.repository.list .item .description .time, .ui.user.list .item .description .time {
|
2023-10-25 20:47:35 +00:00
|
|
|
grid-row: auto !important;
|
|
|
|
grid-column: auto !important;
|
|
|
|
margin-left: 0 !important;
|
|
|
|
text-align: left !important;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
margin-block: unset !important;
|
2023-10-25 19:32:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Improve look of the profile page */
|
|
|
|
div.page-content.user.profile div.ui.container div.ui.stackable.grid div.ui.four.wide.column {
|
2023-10-25 20:47:35 +00:00
|
|
|
width: 20% !important;
|
2023-10-25 19:38:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Align the top of the repo view */
|
|
|
|
@media only screen and (min-width: 850px) {
|
2023-10-25 20:47:35 +00:00
|
|
|
.page-content.repository:not(.issues.repository.milestones) .header-wrapper > .ui.container:first-child {
|
|
|
|
padding-left: 67px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* === Verified Users and Organizations === */
|
|
|
|
|
2023-10-25 21:03:18 +00:00
|
|
|
/** ===== Organizations ===== **/
|
|
|
|
.ui.user.list a[href="/Infrastructure"]::after, #org-info a[href="/Infrastructure.rss"]::after {
|
2023-10-25 20:47:35 +00:00
|
|
|
display: inline-block;
|
|
|
|
content: var(--fj-tweaks--checkmark);
|
|
|
|
color: var(--fj-tweaks--official-color);
|
|
|
|
border: solid 2px var(--fj-tweaks--official-color);
|
|
|
|
margin-left: 3px;
|
|
|
|
border-radius: 99999px;
|
|
|
|
}
|
|
|
|
|
2023-10-25 21:03:18 +00:00
|
|
|
.ui.user.list a[href="/Infrastructure"]::after { padding: 0 2px 1px 3px; }
|
|
|
|
#org-info a[href="/Infrastructure.rss"]::after { padding: 0 10px 1px 10px; }
|
|
|
|
|
|
|
|
.ui.user.list a[href="/Infrastructure"]:hover::after, #org-info a[href="/Infrastructure.rss"]:hover::after {
|
2023-10-25 20:47:35 +00:00
|
|
|
content: var(--fj-tweaks--official-text);
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2023-10-25 21:03:18 +00:00
|
|
|
/** ===== Users ===== **/
|
|
|
|
.ui.user.list a[href="/sofia"]::after, .profile-avatar-name a[href="/sofia.rss"]::after {
|
2023-10-25 20:47:35 +00:00
|
|
|
display: inline-block;
|
|
|
|
content: var(--fj-tweaks--checkmark);
|
|
|
|
color: var(--fj-tweaks--verified-color);
|
|
|
|
border: solid 2px var(--fj-tweaks--verified-color);
|
|
|
|
margin-left: 3px;
|
|
|
|
border-radius: 99999px;
|
|
|
|
}
|
|
|
|
|
2023-10-25 21:03:18 +00:00
|
|
|
.ui.user.list a[href="/sofia"]::after { padding: 0 2px 1px 3px; }
|
|
|
|
.profile-avatar-name a[href="/sofia.rss"]::after { padding: 0 3.5px 1px 3.5px; }
|
|
|
|
|
|
|
|
.ui.user.list a[href="/sofia"]:hover::after, .profile-avatar-name a[href="/sofia.rss"]:hover::after {
|
2023-10-25 20:47:35 +00:00
|
|
|
content: var(--fj-tweaks--verified-text);
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2023-10-25 19:32:37 +00:00
|
|
|
}
|