Browse Source

first commit

master
Justin Duch 1 year ago
commit
b5dec65554
  1. 8
      .gitignore
  2. 25
      LICENSE
  3. 1
      README.md
  4. 116
      public/css/theme-42l-dark.css
  5. 17
      public/css/theme-42l-light.css
  6. BIN
      public/img/gitea-sm.png
  7. BIN
      public/img/icon/favicon-16x16.png
  8. BIN
      public/img/icon/favicon-32x32.png
  9. 2
      templates/custom/header.tmpl

8
.gitignore

@ -0,0 +1,8 @@
/*
!.gitignore
!README.md
!LICENSE
!public/
!public/**/*
!templates/
!templates/**/*

25
LICENSE

@ -0,0 +1,25 @@
Copyright (c) 2020 Justin Duch
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

1
README.md

@ -0,0 +1 @@
# gitea-config

116
public/css/theme-42l-dark.css

@ -0,0 +1,116 @@
@import "/css/theme-arc-green.css";
* {
scrollbar-width: auto;
scrollbar-color: #575d6c rgb(64, 69, 82);
}
::-webkit-scrollbar {
width: 12px!important;
height: 10px!important;
}
::-webkit-scrollbar-thumb {
border-radius: 0px !important;
background: #575d6c !important;
}
::-webkit-scrollbar-track {
background: rgb(64, 69, 82) !important;
}
.ui.bar {
background-image: linear-gradient(-90deg,#9f2e45,#5d3067) !important;
}
#navbar > .item,
#navbar > .right.menu > .item {
color: white;
}
#navbar > .item.active,
#navbar > .right.menu > .item.active {
background: rgba(34, 34, 34, 0.28);
}
#navbar-expand-toggle {
color: white !important;
background: #383c4a !important;
}
#navbar-expand-toggle {
color: white !important;
background: #383c4a !important;
}
#navbar-expand-toggle:hover {
background: inherit !important;
}
.home .hero .octicon {
color: inherit !important;
}
.ui.breadcrumb a,
a:not(.ui),
.ui.card > .extra a:not(.ui),
a {
color: white;
}
.ui.breadcrumb a:hover,
a:not(.ui):hover,
.ui.card > .extra a:not(.ui):hover,
a:hover {
color: lightgray;
}
/* Star and watch number */
.ui.labeled.button:not([class*="left labeled"]) > .label,
.ui[class*="left labeled"].button > .button {
color: #9b9b9b;
}
.ui.blue.button,
.ui.blue.buttons .button,
.ui.green.button,
.ui.green.buttons .button {
background-color: #4e5260;
}
.ui.blue.button:hover,
.ui.blue.buttons .button:hover,
.ui.green.button:hover,
.ui.green.buttons .button:hover,
.ui.blue.button:focus,
.ui.blue.buttons .button:focus,
.ui.green.button:focus,
.ui.green.buttons .button:focus {
background-color: #60636f;
}
#repo-desc a,
.file-view a {
color: #4bf;
}
#repo-desc a,
.file-view a:hover {
color: #00a3e2;
}
.captcha-img {
background-color: white;
}
.ui.pagination.menu .active.item {
background-color: #4e5260;
}
/* not enough contrast on wiki pages */
.ui.list > .item > .content, .ui.segment {
color: #e3e3e3 !important;
}
.breadcrumb .divider, .ui.header {
color: #e3e3e3 !important;
}

17
public/css/theme-42l-light.css

@ -0,0 +1,17 @@
.ui.bar {
background-image: linear-gradient(-90deg,#9f2e45,#5d3067) !important;
}
#navbar > .item,
#navbar > .right.menu > .item {
color: white;
}
#navbar > .item.active,
#navbar > .right.menu > .item.active {
background: rgba(34, 34, 34, 0.28);
}
#navbar-expand-toggle {
color: white !important;
}

BIN
public/img/gitea-sm.png

After

Width: 120  |  Height: 104  |  Size: 18 KiB

BIN
public/img/icon/favicon-16x16.png

After

Width: 16  |  Height: 16  |  Size: 1.2 KiB

BIN
public/img/icon/favicon-32x32.png

After

Width: 32  |  Height: 32  |  Size: 2.2 KiB

2
templates/custom/header.tmpl

@ -0,0 +1,2 @@
<link rel="icon" type="image/png" sizes="32x32" href="/img/icon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/img/icon/favicon-16x16.png">
Loading…
Cancel
Save