Add custom/tweaks.css

This commit is contained in:
Sofía Aritz 2023-10-25 19:32:37 +00:00
parent 3bec0ad078
commit ec9d7a0bbe

26
custom/tweaks.css Normal file
View file

@ -0,0 +1,26 @@
/**
* 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.
**/
/* Improve look of the repo listings */
.ui.repository.list .item .header .repo-title, .ui.user.list .item .header .repo-title {
display: flex !important;
gap: 1rem;
}
.ui.repository.list .item .description .time, .ui.user.list .item .description .time {
grid-row: auto !important;
grid-column: auto !important;
margin-left: 0 !important;
text-align: left !important;
margin-top: 0.5rem;
margin-block: unset !important;
}
/* Improve look of the profile page */
div.page-content.user.profile div.ui.container div.ui.stackable.grid div.ui.four.wide.column {
width: 20% !important;
}