css gitea黑暗主题

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css gitea黑暗主题相关的知识,希望对你有一定的参考价值。

/* Domain: dreamfilper.ddns.net */

body {
 background: #1A2632;
 color: #9e9e9e;
 font-family: -apple-system,'Helvetica Neue', 'noto sans cjk tc light'!important;
 font-weight:500!important;
}

.ui.header>a{
 color:#039278
}

.ui.basic.small.button>.text>strong{
 color:#9a7a44
}

#git-graph-container li a{
 color:#598894!important
}

.ui.positive.message{
 background-color:#a3c293
}

div.menu.transition.visible>div.scrolling.menu>div.item.selected{
 color:#9a7a44!important
}

div.menu.transition.visible>div.scrolling.menu>div.item:hover{
 color:#fff!important
}

div.ui.two.horizontal.center.link.list>div.item > a{
 color:#dbdbdb
}

.attached.table.ui.segment>ul>li>a{
  color:#039278;
}

.ui.fifteen.wide.column>.push.news a:nth-child(1){
 color: #598894
}

.ui.fifteen.wide.column>.push.news a:nth-child(2){
 color: #9a7a44
}

.ui.fifteen.wide.column>.push.news a:nth-child(3){
 color: #039278
}

.ui.fifteen.wide.column p>a:nth-child(1){
 color: #598894
}

.ui.fifteen.wide.column p>a:nth-child(n+2){
 color: #039278
}

.repository.file.list #repo-files-table tbody .octicon.octicon-file-directory, .repository.file.list #repo-files-table tbody .octicon.octicon-file-submodule{
 color:#9a7a44
}

td.lines-num{
 background-color:#293134 !important
}

th.wide>a, td.author a, td.name>a{
 color: #039278;
}

td.message a, th>span>a{
 color: #598894;
}


ol.linenums{
 background-color:#293134 !important
}

.ui.breadcrumb a{
 color: #598894;
}

.following.bar.light {
  background: #24292E;   
}

.ui.secondary.menu .active.item {
  color: #dbdbdb;
}

.ui.secondary.menu .item {
  color: #9e9e9e;
}

.following.bar .top.menu a.item:hover {
  color: #fff;
}

.following.bar.light {
  border-bottom: 1px solid #313131;
}

.ui.attached.header {
  background: #304251;
  border: 1px solid #304251;
  color: #dbdbdb;
}

.ui.attached.table {
  border: 1px solid #304251;
  background: #304251;
}

.feeds .list ul li:not(:last-child) {
  border-bottom: 1px solid #304251;
}

.feeds .list ul li.private {
 	background: #151F29; 
}

.ui.secondary.menu .dropdown.item:hover, .ui.secondary.menu .link.item:hover, .ui.secondary.menu a.item:hover {
 	color: #fff; 
}

.ui.menu .ui.dropdown .menu>.item {
	background: #1A2632 !important;
  color: #9e9e9e !important;
}

.ui.secondary.menu .dropdown.item>.menu, .ui.text.menu .dropdown.item>.menu {
 	border: 1px solid #304251;
}

footer {
 	background: #24292E;
  border-top: 1px solid #313131;
}

.ui.menu .dropdown.item .menu {
  background: #1a2632;
}

.ui.menu .ui.dropdown .menu>.item:hover, .ui.menu .ui.dropdown .menu>.selected.item {
 	color: #fff!important;
}

.ui.dropdown .menu>.header {
 	color: #dbdbdb;
}

.ui.red.label, .ui.red.labels .label {
 	background-color: #802020!important;
  border-color: #DB2828!important;
}

.ui.menu {
  background: #151F29;
  border: 1px solid #304251;
}

.ui.menu .item {
  background: #1A2632;
  color: #9e9e9e;
}

.ui.menu .active.item:hover, .ui.vertical.menu .active.item:hover {
  color: #dbdbdb;
}

.ui.link.menu .item:hover, .ui.menu .dropdown.item:hover, .ui.menu .link.item:hover, .ui.menu a.item:hover {
  color: #dbdbdb;
}

.ui.menu .active.item {
  background: #1A2632;
  color: #dbdbdb;
}

.ui.input input {
  background: #151F29;
  border: 1px solid #304251;
  color: #dbdbdb;
}

.ui.input input:focus, .ui.input.focus input {
  background: #151F29;
  border: 1px solid #456580;
  color: #dbdbdb;
}

.ui.label {
  color: #dbdbdb;
  background-color: #313f4c;
}

.issue.list > .item .title {
 	 color: #668cb1
}

.issue.list > .item {
  border-bottom: 1px dashed #475767;
}

.ui.green.label, .ui.green.labels .label {
  background-color: #2d693b!important;
  border-color: #2d693b!important;
}

.issue.list > .item .comment {
  color: #129c92;
}

.ui.basic.button, .ui.basic.buttons .button {
 	color: #797979!important; 
}

.ui.basic.red.active.button, .ui.basic.red.buttons .active.button {
  box-shadow: 0 0 0 1px #c75252 inset!important;
  color: #c75252!important;
}

.ui.basic.button:focus, .ui.basic.button:hover, .ui.basic.buttons .button:focus, .ui.basic.buttons .button:hover {
  background: #1678c2!important;
  color: #dbdbdb!important;
}

.ui.menu .item {
  background: #151f29;
  color: #9e9e9e;
}

.ui.menu .item.disabled, .ui.menu .item.disabled:hover {
  color: #313d48;
}

.ui.pagination.menu .active.item {
  color: #dbdbdb;
  background-color: #212d38;
}

.repository .header-wrapper {
  background-color: #151f29;
}

.ui.tabular.menu .active.item {
  background: #1a2632;
  color: #dbdbdb;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-top: 1px solid #313c47;
}

.ui.secondary.pointing.menu .item {
 	border-bottom-width: 0px; 
}

.ui.tabular.menu .item {
  color: #9e9e9e;
}

.ui.tabular.menu .item:hover {
 	color: #dbdbdb; 
}

.ui.header, .ui.breadcrumb .divider {
  color: #9e9e9e;
}

.ui.blue.label, .ui.blue.labels .label {
  background-color: #26577b!important;
  border-color: #26577b!important;
}

.ui.menu .item>.label {
 background: #565454;
}

.ui.blue.button, .ui.blue.buttons .button {
  background-color: #26577b;
}

.ui.form input:not([type]), .ui.form input[type=text], .ui.form input[type=email], .ui.form input[type=search], .ui.form input[type=password], .ui.form input[type=date], .ui.form input[type=datetime-local], .ui.form input[type=tel], .ui.form input[type=time], .ui.form input[type=url], .ui.form input[type=number] {
  background: 0 0 ;
  border: 1px solid rgb(48, 66, 81);
}

.ui.form input:not([type]):focus, .ui.form input[type=text]:focus, .ui.form input[type=email]:focus, .ui.form input[type=search]:focus, .ui.form input[type=password]:focus, .ui.form input[type=date]:focus, .ui.form input[type=datetime-local]:focus, .ui.form input[type=tel]:focus, .ui.form input[type=time]:focus, .ui.form input[type=url]:focus, .ui.form input[type=number]:focus {
  background: #151f29;
  border: 1px solid #456580;
  color: #dbdbdb;
}

.ui.action.input:not([class*="left action"]) input:focus {
  border-right-color: #456580!important;
}

.ui.green.button, .ui.green.buttons .button {
    background-color: #2a733b;
}

.ui.button {
  background: #1a2632;
  border: 1px solid #313c47;
  color: #dbdbdb;
}

.ui.labeled.button:not([class*="left labeled"])>.label, .ui[class*="left labeled"].button>.button {
  background: #151f29;
  border: 1px solid #313c47;
  color: #607d8b;
}

.ui.button:hover {
  background-color: #151f29;
  color: #dbdbdb
}

.ui.table thead th {
  background: #313c47;
  color: #dbdbdb
}

.repository.file.list #repo-files-table tr:hover {
  background-color: #293b4e;
}

.ui.table {
  color: #909090!important;
  border: 1px solid #313c47;
  background: #18242f;
}

.ui.table tbody tr {
 border-bottom: 1px solid red;
}

.ui.attached.table.segment {
  background: #151f29;
  color: #dbdbdb!important;
}

.markdown:not(code) h2 {
  border-bottom: 1px solid #304251;
}

.hljs,
.hljs-keyword, .hljs-selector-tag, .hljs-subst {
  color: #9daccc
}

.markdown:not(code) .highlight pre, .markdown:not(code) pre {
  background-color: #182030;
  border: 1px solid #246;
}

.ui.dropdown .menu {
  background: #151f29;
}

.ui.dropdown .menu>.message:not(.ui) {
  color: rgb(99, 99, 99);
}

.ui.input {
 color: #dbdbdb; 
}

.ui.segment {
  background: #151f29;
  color: #9e9e9e!important;
  border: 1px solid #313c47;
}

.ui.active.button:active, .ui.button:active,
.ui.button:focus {
  background-color: #2e3e4e;
  color: #dbdbdb;
}

.ui.dropdown .menu .selected.item, .ui.dropdown.selected {
  color: #dbdbdb;
}

.ui.dropdown .menu>.item:hover {
  color: #dbdbdb;
}

.ui.dropdown .menu>.item {
 	color: #9e9e9e; 
}

.ui.attached.segment {
  border: 1px solid #313c47;
}

.repository.view.issue .comment-list .comment .content > .bottom.segment {
  background: #151f29;
}

.repository.view.issue .comment-list .comment .content .header {
  color: #dbdbdb;
  background-color: #313c47;
  border-bottom: 1px solid #313c47;
}

.ui .text.grey a {
	color: #b3b3b3 !important;
}

.ui.comments .comment .actions a {
  color: #dbdbdb;
}

.repository.view.issue .comment-list .comment .content .header:after {
  border-right-color: #313c47;
}

.repository.view.issue .comment-list .comment .content .header:before {
  border-right-color: #313c47;
}

.repository.view.issue .comment-list:before {
	background-color: #313c47;
}

.repository .comment.form .content .form:after {
  border-right-color: #313c47;
}

.repository .comment.form .content .form:before {
  border-right-color: #313c47;
}

.ui .text.grey a {
  color: #dbdbdb !important;
}

.ui .text.grey a:hover {
  color: #dbdbdb !important;
}

.ui.form textarea,
.ui.form textarea:focus {
  background: #1a2632;
  border: 1px solid #313c47;
  color: #dbdbdb;
}

.ui.form textarea:focus {
  border: 1px solid #456580;
}

.ui .info.segment.top {
  background-color: #304251 !important;
}

.repository .diff-file-box .file-body.file-code .lines-num {
  color: #9e9e9e;
  background: #151f29;
}

.ui.table tbody tr {
  border-bottom: 1px solid #2d2d2d;
}

.repository .diff-file-box .code-diff-unified tbody tr.del-code td {
  background-color: #3c2626 !important;
  border-color: #634343 !important;
}

.repository .diff-file-box .code-diff-unified tbody tr.add-code td {
  background-color: rgba(28, 60, 36, 0.98) !important;
  border-color: #597359 !important;
}

.repository .diff-file-box .code-diff tbody tr .added-code {
  background-color: #3a523a;
}

.repository .diff-file-box .code-diff .lines-num {
  border-right: 1px solid #2d2d2d;
}

.repository .diff-file-box .file-body.file-code .lines-num {
  color: #9e9e9e;
  background: #151f29;
}

.repository .diff-file-box .code-diff tbody tr.tag-code td, .repository .diff-file-box .code-diff tbody tr td.tag-code {
  border-color: #2d2d2d !important;
}

.repository .diff-file-box .file-body.file-code .lines-num-old {
  border-right: 1px solid #2d2d2d;
}

.hljs-title, .hljs-section, .hljs-selector-id {
  color: #986c88;
}

.hljs-string, .hljs-doctag {
  color: #949494;
}

.repository .diff-file-box .code-diff tbody tr .removed-code {
  background-color: #5f3737;
}

.repository .diff-file-box .code-diff tbody tr.tag-code td, .repository .diff-file-box .code-diff tbody tr td.tag-code {
  background-color: #292727 !important;
}

.ui.vertical.menu .active.item {
  background: #1a2632;
}

.ui.vertical.menu .item {
  background: #151f29;
}

.ui.vertical.menu .header.item {
  background: #304251;
}

.ui.vertical.menu {
  background: #151f29;
}

.ui.repository.list .item:not(:first-child) {
  border-top: 1px solid #313c47;
}

.ui.selection.dropdown {
  background: #151f29;
  border: 1px solid rgb(48, 66, 81);
  color: #9e9e9e;
}

.ui.menu .ui.dropdown .menu>.active.item {
	color: #dbdbdb !important;
}

.ui.tabular.menu {
  border-bottom: 1px solid #313c47;
}

.ui.card, .ui.cards>.card {
  background: #151f29;
  box-shadow: 0 1px 3px 0 #304251, 0 0 0 1px #304251;
}

.ui.card>.content>.header, .ui.cards>.card>.content>.header {
 	color: #dbdbdb; 
}

.ui.card>.extra a:not(.ui), .ui.cards>.card>.extra a:not(.ui) {
    color: #598894;
}

.ui .text.black {
  color: #9e9e9e;
}

.ui .text.black:hover {
  color: #dbdbdb;
}

.ui.secondary.pointing.menu .active.item {
    color: #dbdbdb;
    background: #1a2632;
}

.ui.secondary.pointing.menu .active.item:hover {
  border-top-color: #304251;
  background: #1a2632;
  color: #dbdbdb;
}

.ui.secondary.pointing.menu .dropdown.item:hover, .ui.secondary.pointing.menu .link.item:hover, .ui.secondary.pointing.menu a.item:hover {
  color: #dbdbdb;
}

.ui.checkbox label, .ui.checkbox+label,
.ui.form .field>label {
  color: #9e9e9e;
}

.ui.form .inline.field>label, .ui.form .inline.field>p, .ui.form .inline.fields .field>label, .ui.form .inline.fields .field>p, .ui.form .inline.fields>label {
  color: #9e9e9e;
}

.user.settings .email.list .item:not(:first-child) {
  border-top: 1px solid #304251;
}

.ui.form input:not([type]), .ui.form input[type=text], .ui.form input[type=email], .ui.form input[type=search], .ui.form input[type=password], .ui.form input[type=date], .ui.form input[type=datetime-local], .ui.form input[type=tel], .ui.form input[type=time], .ui.form input[type=url], .ui.form input[type=number] {
 color: #9e9e9e; 
}

.ui.attached.info.message, .ui.info.message {
  box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent;
}

.ui.info.message {
  background-color: #2c3b4a;
  color: #9ebcc5;
}

.ui .warning.header {
  background-color: #5d3a22 !important;
  border-color: #794f31;
}

.ui.red.message {
  background-color: rgba(80, 23, 17, 0.6);
  color: #f9cbcb;
  box-shadow: 0 0 0 1px rgba(121, 71, 66, 0.5) inset, 0 0 0 0 transparent;
}

.ui.red.button, .ui.red.buttons .button {
  background-color: #7b2727;
}

.ui.checkbox label:hover, .ui.checkbox+label:hover {
  color: #dbdbdb !important;
}

.ui.checkbox input:checked~.box:after, .ui.checkbox input:checked~label:after {
  color: rgb(127, 152, 173);
}

.ui.checkbox input:checked~.box:before, .ui.checkbox input:checked~label:before {
  background: #304251;
}

.ui.checkbox .box:hover::before, .ui.checkbox label:hover::before {
  background: #304251;
}

.ui.checkbox .box:before, .ui.checkbox label:before {
	background: #304251;
  border: 1px solid #304251;
}

.ui.checkbox .box:active::before, .ui.checkbox label:active::before {
  background: #304251;
  border-color: rgba(34,36,38,.35);
}

.ui.checkbox input:checked~.box:before, .ui.checkbox input:checked~label:before {
  border-color: #304251;
  background: #304251;
}

.ui.checkbox input:focus~.box:before, .ui.checkbox input:focus~label:before {
  border-color: #304251;
  background: #304251;
}

.ui.checkbox input:checked:focus~.box:before, .ui.checkbox input:checked:focus~label:before, .ui.checkbox input:not([type=radio]):indeterminate:focus~.box:before, .ui.checkbox input:not([type=radio]):indeterminate:focus~label:before {
  border-color: #304251;
  background: #304251;
}

.ui.checkbox input:checked~.box:after, .ui.checkbox input:checked~label:after {
	opacity: 1;
  color: rgb(127, 152, 173);
}

.ui.checkbox input:checked:focus~.box:after, .ui.checkbox input:checked:focus~label:after, .ui.checkbox input:not([type=radio]):indeterminate:focus~.box:after, .ui.checkbox input:not([type=radio]):indeterminate:focus~label:after {
  color: rgb(127, 152, 173);
}

.ui.checkbox input:focus~.box:after, .ui.checkbox input:focus~label, .ui.checkbox input:focus~label:after {
  color: #9a9a9a;
}

.ui.selection.dropdown:hover {
  border-color: rgba(34,36,38,.35);
  border: 1px solid #456580;
}

.ui.selection.dropdown .menu>.item {
  border-top: 1px solid #313c47;
}

.ui.selection.visible.dropdown>.text:not(.default) {
  color: #9e9e9e;
}

.ui.negative.message {
  background-color: rgba(80, 23, 17, 0.6);
  color: #f9cbcb;
  box-shadow: 0 0 0 1px rgba(121, 71, 66, 0.5) inset, 0 0 0 0 transparent;
}

.hljs-tag, .hljs-name, .hljs-attribute {
    color: #ef5e77;
}

.user.profile .ui.card .extra.content ul li:not(:last-child) {
	border-bottom: 1px solid #304251;
}

.hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable, .hljs-tag .hljs-attr {
  color: #bd84bf;
}

.hljs-string, .hljs-doctag {
  color: #8ab398;
}

.ui.form .dropzone {
  border: 2px dashed #4c5d6b;
}

.ui.basic.red.button, .ui.basic.red.buttons .button {
  box-shadow: 0 0 0 1px #a04141 inset!important;
  color: #a04141!important;
}

.ui.list .list>.item .header, .ui.list>.item .header {
  color: #dedede; 
}

.ui.list .list>.item .description, .ui.list>.item .description {
 	color: #9e9e9e; 
}

.ui.user.list .item .description a {
  color: #668cb1;
}

.repository.file.list #file-content .code-view .lines-num {
  background: #1a2632;
}

.repository.file.list #file-content .code-view .lines-num pre, .repository.file.list #file-content .code-view .lines-code pre, .repository.file.list #file-content .code-view .lines-num ol, .repository.file.list #file-content .code-view .lines-code ol, .repository.file.list #file-content .code-view .lines-num .hljs, .repository.file.list #file-content .code-view .lines-code .hljs {
  background-color: #151f29;
}

a.ui.label:hover, a.ui.labels .label:hover {
  background-color: #26577b;
  color: rgb(219, 219, 219);
}

.ui.secondary.segment {
  background: #1a2632;
}

.explore .navbar {
  background-color: #151f29 !important;
}

.ui.menu.new-menu {
  background-color: #151f29 !important;
}

input {
  line-height: normal;
  background: #1a2632;
  border: 1px solid #313c47;
  padding: 7px 12px;
}

.ui.accordion .title:not(.ui) {
 	color: #dedede; 
}

.ui.user.list .item:not(:first-child) {
  border-top: 1px solid #313c47;
}

以上是关于css gitea黑暗主题的主要内容,如果未能解决你的问题,请参考以下文章

css 黑暗主题松弛

css 懒散的黑暗主题

css 茉莉2.x黑暗主题

css 茉莉2.x黑暗主题

sh 设置苹果黑暗主题“不是那么黑暗”

sh 设置苹果黑暗主题“不是那么黑暗”