Commit Graph

24 Commits

Author SHA1 Message Date
pat-s 9036d486c2 Narrow body with and align gitea icon (#126)
As discussed in the maintainers channel.

## Screenshots

![image](/attachments/64fd58d9-fbbf-4adf-bd56-13d7b2c8f197)

![image](/attachments/d08b4367-9cc5-4faf-b55d-1c3d5940f20a)

![image](/attachments/c3ab77e9-4b12-463e-9846-8a624ba750d2)

Reviewed-on: https://gitea.com/gitea/theme/pulls/126
Reviewed-by: silverwind <silverwind@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-04-29 15:41:20 +08:00
John Olheiser 64f4349699 Allow multiple authors (#120)
![preview](https://gitea.com/attachments/2eabf87e-712f-41f5-9e52-28b0fb0bb61e)

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/120
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Co-committed-by: John Olheiser <john+gitea@jolheiser.com>
2023-01-27 13:56:55 +08:00
pat-s 9237f02532 Align hover color with static color (#119)
Currently the hover colors are some kind of different green that does not play well with the main green color.

This PR should align the hover color with the static one. Imo there is no need for a different hover color - and having none simplifies things a bit.

The change of `tertiary` aligns the blue used with the blue color used in the gitea light theme (e.g. on gitea.com here).

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/119
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2023-01-21 10:41:45 +08:00
techknowlogick 0ccfec9ee5 style image 2023-01-04 14:15:40 -05:00
Norwin 6ce483ae45 Add optional navbar search (for docs.gitea.io) (#112)
Reviewed-on: https://gitea.com/gitea/theme/pulls/112
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2022-07-31 09:44:20 +08:00
pat-s e041c73a40 Fix color of "more" button on blog (#101)
The color is currently off from the main green tone used everywhere.

![image](/attachments/c65e4a36-bad7-4aee-89aa-b0f04a1ae9ff)

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/101
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.io>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2021-10-27 15:04:16 +08:00
Andrew Thornton c225748347 Change burger color to dark grey (#100)
The current color for the burger is a very light grey which is very low contrast to the navbar. This PR sets this to dark grey.

Fix #99

Signed-off-by: Andrew Thornton <art27@cantab.net>

Reviewed-on: https://gitea.com/gitea/theme/pulls/100
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-committed-by: Andrew Thornton <art27@cantab.net>
2021-10-21 11:22:37 +08:00
pat-s 1812ae4f93 Align main website (gitea.io) with new theme (#97)
- Align navbar colors
- Reduce vertical white space between screenshot and banner
- Align banner colors
- Updated screenshot (not visible in the preview, please see the file in the diff)

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/97
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Alexey 〒erentyev <axifive@noreply.gitea.io>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2021-09-13 00:51:25 +08:00
pat-s 87dd2d410d Tweak website theme colors (#95)
Fixes https://github.com/go-gitea/gitea/issues/15711

## Main changes

- Use `#528321` for link color and general greenish elements
- Use `#333` for blackish elements
- Use a grey navbar (#f4f4f4) with black text
- Update inline-code coloring (`.code` class)

cc @silverwind

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/95
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: silverwind <silverwind@noreply.gitea.io>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2021-08-03 11:20:48 +08:00
silverwind 201dd9a140 Fix navbar overlapping content (#92)
Fix navbar overlapping content

The navbar previously switched inconsistently to mobile layout which
meant between 1024 and 1087 screen width, it would overlap most of the
page making links unclickable.

Co-authored-by: silverwind <me@silverwind.io>
Reviewed-on: https://gitea.com/gitea/theme/pulls/92
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Co-Authored-By: silverwind <silverwind@noreply.gitea.io>
Co-Committed-By: silverwind <silverwind@noreply.gitea.io>
2020-12-17 03:47:38 +08:00
pat-s 2949c6b8cd Optimize sidebar appearance (#91)
optimize sidebar appearance

Merge branch 'master' into sidebar-css

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/91
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Co-Authored-By: pat-s <pat-s@noreply.gitea.io>
Co-Committed-By: pat-s <pat-s@noreply.gitea.io>
2020-12-08 04:07:54 +08:00
pat-s 1c46f91bdf Add ToC shortcode and CSS class (#90)
add toc shortcode and css class

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/90
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-Authored-By: pat-s <pat-s@noreply.gitea.io>
Co-Committed-By: pat-s <pat-s@noreply.gitea.io>
2020-12-08 00:03:54 +08:00
David Schneiderbauer d29f3571b6 fix padding on mobile (#57) 2018-05-23 17:02:45 +08:00
kolaente a1e45d4360 New design (#54) 2018-05-22 21:04:51 -04:00
Morgan Bazalgette 94b58f3217 Add image max width (#49)
* Add image max width

Fixes #48

* Only apply rule to `article img`
2018-01-12 22:01:42 +02:00
Matthias Loibl b5777ac2bf
Create style for the landingpage 2016-12-24 00:54:48 +01:00
Matthias Loibl ff52bffdf5
Only show nav's border-right on bigger screens 2016-12-23 19:56:56 +01:00
Thomas Boerger 1cd9075145 Merge pull request #22 from go-gitea/feature/code-style
Set $code-color and add padding to <pre>
2016-12-23 01:19:07 +01:00
Matthias Loibl c85c3b7711
Start a decent aside navigation style 2016-12-23 01:08:50 +01:00
Matthias Loibl b14cb1de40
Set $code-color and add padding to <pre> 2016-12-23 00:40:37 +01:00
Thomas Boerger 6172166474
Cleanup of the theme files 2016-12-09 15:04:08 +01:00
Matthias Loibl 1cfd12b894
Overall scss improvements 2016-12-06 23:18:17 +01:00
Matthias Loibl 82bd9f9cd5
Create colors.scss which sets all our color variables 2016-12-06 23:18:04 +01:00
Matthias Loibl 01e53500fc
Rename static/styles/main.css to src/main.scss 2016-12-06 22:02:23 +01:00