-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom CSS to be appended to Gitea #688
Comments
As of today if you build from source without the bindata tag you can use custom templates which in this case would get you what you want. Once you've compiled the code without bindata you'll be able to update the CSS whenever you want. EDIT: as a reference you can check out this existing issue: #529 |
I already know about bindata, but I require bindata at the moment. Also, if I modify the original CSS, I cannot update without losing my changes. I am asking about a file which gitea would append CSS from automatically, even with bindata. |
With custom templates you can add additional css files, but there is currently an open issue related to that. |
A pr for custom public data have been merged, hopefully I can fix custom templates as well soon |
+1 ? Pulling out the head.tmpl is getting more complicated with each release. |
Just use this custom template: https://github.com/go-gitea/gitea/blob/master/templates/base/head.tmpl#L130 |
I think this can be closed already as we provide custom block to be added in head |
Implemented by #3051 |
[x]
):Description
I have a Gitea server. I would like to be able to append custom CSS to the page to make small changes, such as the size of the buttons, and padding on certain elements. Sometimes, I want to make other small changes. I would like a way CSS can be injected from a file to the end of the page, so I can do this quickly, and without rebuilding Gitea after patching it with my CSS.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41043453-allow-custom-css-to-be-appended-to-gitea?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: