0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2024-12-22 15:23:32 -05:00
Commit graph

167 commits

Author SHA1 Message Date
Sybren A. Stüvel
73e4a3d525 Update README.md 2023-01-27 10:22:14 +01:00
Pablo Vazquez
ef239744e3 UI: Add font matching other blender.org sites
Use Heebo variable font, the same as in blender.org and other sites.
2023-01-26 18:52:41 +01:00
Pablo Vazquez
5da551a2a4 UI: Small adjustments to diff syntax highlight colors
Highlight diff lines and line number on row hover.
2023-01-26 18:31:39 +01:00
Pablo Vazquez
d3707e9983 UI: Adjust code diff syntax highlight colors 2023-01-26 17:59:49 +01:00
Pablo Vazquez
1238dea7d2 UI: Adjust primary color to match topbar 2023-01-26 17:52:53 +01:00
Pablo Vazquez
130dc1ed8e Home: Use full-width column for welcome message
Text to be replaced soon anyway but at least it doesn't look misaligned
in the meantime.
2023-01-26 15:56:18 +01:00
Pablo Vazquez
1fd47659c0 UI: Code syntax highlighting adjustments
Use the same colors that `arc-green` imports from:
* Chroma from /web_src/less/themes/chroma/dark.less
* CodeMirror from /web_src/less/codemirror/dark.less
2023-01-26 15:45:39 +01:00
Pablo Vazquez
24e354fc79 Introducing: Developer navigation bar
In line with the code blog and other dev sites (Wiki, DevTalk)

Everything is pretty much copied from the one in blender.org (_navbar_developer.php),
with some additions to make it work in Gitea.

The styling additions are in the <style> block with the comment "/* Custom styling for Gitea */"

The link to "Projects" is projects.blender.org (since it makes sense here but
not yet in the Code blog).

On the Gitea side, two custom templates have changed:
* head_navbar.tpml was changed to add the mobile navbar expand toggle.
* body_inner_pre.tpml contains the actual navbar, copied from the blender.org repo
  with the following changes:
 * Added <style> block custom for Gitea.
 * Added custom notifications code from head_navbar.tpml
 * Added user buttons (notif, create, register, sign in, etc),
   See the area around "{{/* Here starts the custom styling for gitea. */}}"
 * In order to style the buttons as such, the class `navbardev-btn` was added
   to the Register, Sign In, Notifications, Create, and User dropdown buttons.
2023-01-26 15:37:51 +01:00
Brecht Van Lommel
06948e85a2 Fix Blender logo not visible with themes other than bthree-dark 2023-01-26 04:21:40 +01:00
Brecht Van Lommel
e9c74b8383 Fix Report a Bug link to point to the template 2023-01-25 17:39:56 +01:00
Brecht Van Lommel
790ac21c36 Add text explaining policy for creating and migrating repositories.
Fix blender-migration/phabricator-migration#34
2023-01-25 17:35:47 +01:00
Pablo Vazquez
ab755bf0fe README: mention the name of the folder and where to clone it 2023-01-24 14:42:34 +01:00
Francesco Siddi
6c1f8cd8bb Add README.md 2023-01-24 14:29:21 +01:00
Pablo Vazquez
58816d3e27 CSS: Refactor
* Convert hex colors to hsl for easier tweaking.
* Add comments and sections
* Tweak colors to better follow code.blender.org
2023-01-20 19:16:29 +01:00
Pablo Vazquez
1e38c726dc Homepage: Add placeholder text 2023-01-20 19:14:39 +01:00
Pablo Vazquez
c5fb50d41a Navbar: Add global navigation
Missing still is the apps button to jump to other blender.org sites.
2023-01-20 19:14:26 +01:00
Pablo Vazquez
e25fe139ab Initial commit
bthree dark theme
2023-01-20 12:23:48 +01:00