Skip to content
This repository was archived by the owner on May 5, 2024. It is now read-only.

Commit cd928c6

Browse files
committed
initial commit
1 parent b7e0a40 commit cd928c6

File tree

2 files changed

+158
-0
lines changed

2 files changed

+158
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,30 @@
11
# gogsBase16
22
Base16 stylish theme for gogs
3+
4+
## Caution
5+
The current version is in a very early state. Using this version is not recommended at the moment.
6+
7+
Once the theme has reached a public state, it will also be available at [userstyles.org](https://userstyles.org/).
8+
9+
## Getting Started
10+
11+
This stylish theme is based on [base16 by chriskempson](https://github.com/chriskempson/base16).
12+
13+
### Prerequisites
14+
* You need to have stylish installed in your browser.
15+
* Get the firefox extension [here](https://addons.mozilla.org/de/firefox/addon/stylish/) and the chrome one [here](https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe).
16+
17+
### Installing
18+
Since this is not official relased, you have to manual install it. It will be easier in the future.
19+
20+
* Open your gogs page
21+
* stylish extension -> menu -> create theme
22+
* give it a name, paste css and specify the url below the code
23+
24+
## Contributing
25+
Please feel free submit pull requests, as I'm not a web developer at all. Please stick to the base16 color scheme.
26+
27+
Any help is welcome.
28+
29+
## License
30+
This project is licensed under the MIT License - see the LICENSE.md file for details.

gogsBase16.css

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
/* Main */
2+
3+
body {
4+
background-color: #1d1f21 !important;
5+
color: #e0e0e0;
6+
}
7+
8+
body:not(.full-width) {
9+
background-color: #1d1f21 !important;
10+
}
11+
12+
footer {
13+
background-color: #282a2e;
14+
color: #e0e0e0;
15+
border-top: 1px solid #373b41;
16+
}
17+
18+
a {
19+
color: #81a2be;
20+
}
21+
22+
a:hover {
23+
color: #81a2be;
24+
opacity: 0.6;
25+
}
26+
27+
/* Navigation */
28+
29+
.following.bar.light {
30+
background-color: #282a2e;
31+
border-bottom: 1px solid #373b41;
32+
}
33+
34+
.ui.secondary.menu .active.item {
35+
color: #e0e0e0;
36+
background-color: #1d1f21;
37+
font-weight: bold;
38+
}
39+
40+
.ui.menu .item {
41+
color: #e0e0e0;
42+
}
43+
44+
.following.bar .top.menu a.item:hover {
45+
color: #b4b7b4;
46+
}
47+
48+
/* Home */
49+
50+
.home a {
51+
color: #cc6666;
52+
}
53+
54+
.home .hero .octicon {
55+
color: #cc6666;
56+
}
57+
58+
.ui.header {
59+
color: #e0e0e0;
60+
}
61+
62+
/* Explore */
63+
64+
.ui.vertical.menu {
65+
background-color: #373b41;
66+
}
67+
68+
.ui.vertical.menu .header.item {
69+
background-color: #373b41;
70+
}
71+
72+
.ui.vertical.menu .active.item {
73+
background-color: #282a2e;
74+
}
75+
76+
.ui.menu .active.item {
77+
color: #e0e0e0;
78+
}
79+
80+
.ui.menu a.item:hover {
81+
color: #fff;
82+
background-color: #282a2e;
83+
}
84+
85+
.ui.repository.list .item:not(:first-child) {
86+
border-top: 1px solid #373b41;
87+
}
88+
89+
.ui.menu .active.item:hover, .ui.vertical.menu .active.item:hover {
90+
background-color: #282a2e;
91+
color: #e0e0e0;
92+
}
93+
94+
.ui.form input:not([type]), .ui.form input:not([type]):focus {
95+
background-color: #373b41;
96+
color: #b4b7b4;
97+
}
98+
99+
.ui.form input:not([type]):focus {
100+
border-top-color: #81a2be;
101+
border-left-color: #81a2be;
102+
border-bottom-color: #81a2be;
103+
color: #e0e0e0;
104+
}
105+
106+
.ui.blue.button, .ui.blue.buttons .button {
107+
background-color: #81a2be;
108+
}
109+
110+
.ui.divider:not(.vertical):not(.horizontal) {
111+
border-bottom-color: #373b41;
112+
}
113+
114+
.ui.list .list>.item .description, .ui.list>.item .description {
115+
color: #969896;
116+
}
117+
118+
.ui.repository.list .item .time {
119+
color: #969896;
120+
}
121+
122+
.ui .text.grey {
123+
color: #969896 !important;
124+
}
125+
126+
/* Repos */
127+
128+
.repository .header-wrapper {
129+
background-color: #282a2e;
130+
}

0 commit comments

Comments
 (0)