GithubHelp home page GithubHelp logo

go-gitea / theme Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 21.0 710 KB

Gitea: Theme, moved to https://gitea.com/gitea/theme

Home Page: https://gitea.io

License: Apache License 2.0

HTML 76.94% JavaScript 8.16% CSS 14.90%
gitea hugo theme

theme's People

Contributors

andreynering avatar appleboy avatar axifive avatar bkcsoft avatar bwko avatar daviian avatar dependabot[bot] avatar jmn avatar jonasfranz avatar joubertredrat avatar kolaente avatar lafriks avatar lunny avatar metalmatze avatar morlinest avatar strk avatar tboerger avatar techknowlogick avatar thehowl avatar tommorris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

theme's Issues

Integrate Disqus

We should integrate Disqus at the footer so that we can get comments on various places.

Use a downstream drone token from our bot

Currently the Drone downstream plugin is using my personal Drone token, this should be replaced by a token generated with our bot account:

drone -t xxx -s https://drone.gitea.io secret update --repo go-gitea/theme --name downstream_token --value xxx 

Code elements hard to read in night mode

The pink text in <code> elements (#e74c3c) is difficult for me to read, especially in night mode because it turns all the colors on my screen pinkish. I've done some testing in Inspect Element and found that dark shades of blue and purple such as #8a2be2 (blueviolet ) are easier to read because they stand out better against the gray background.

Documentation pages overflowing the viewport (code blocks)

As pointed out by a user named @Pearl on the discord server, some documentation pages overflow out of the viewport, and without scrollbar, rendering them impossible to read.

By investigating further, it appears that the pages with overflow are the ones with code blocks containing lines wider than the content margins. This seems to cause the margins to be pushed further out, allowing the content to extend out of the screen.

This problem is more apparent on small or narrow screens, like mobile phones.

New "more modern" theme

I'd love to update the Gitea website theme into something more modern like this:
bildschirmfoto vom 2018-04-14 um 13 12 16

Any ideas/thoughts/comments/opinions?

Add a max width for images

Currently, images will overflow from the post if they're bigger than it is. The simple fix is to add this to the CSS

img {
  max-width: 100%;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.