vrifox/gitea-theme
Archived
1
0
Fork 0

added home related theming

This commit is contained in:
Vrifox 2020-12-31 13:15:37 +01:00
parent 9b089b976b
commit 3f72345cf2
Signed by: vrifox
GPG key ID: D40098E5B60B2197
5 changed files with 61 additions and 54 deletions

View file

@ -37,5 +37,6 @@ $border-radius: 5px;
@import 'import/repository.scss';
@import 'import/user.scss';
@import 'import/organization.scss';
@import 'import/home.scss';
@import 'import/_footer.scss';

View file

@ -30,51 +30,8 @@
}
}
}
.divider {
border-bottom: 1px solid $bg60 !important;
border-top: 0 !important;
}
.repository.list,
.user.list {
.item {
&:not(:first-child) {
border-top: 1px solid $bg60;
}
.header {
a.name {
i.archive.icon {
color: $white-dark !important;
}
}
.metas {
@if $singleuser == true {
display: none;
}
span {
color: $white-dark !important;
}
}
}
.description {
p {
color: $white;
&.time {
color: $white-dark;
}
}
.tags {
a .label {
background: $bg60;
color: $white;
&:hover {
background: $bg70;
color: $white-light;
}
}
}
}
}
}
@include divider;
@include repository-list;
}
}
@ -83,15 +40,26 @@
.explore.users {
.container {
.user.list {
.content {
.header {
color: $white;
.item {
&:not(:first-child) {
border-top: 1px solid $bg60;
}
.description {
color: $white;
svg {
@if $nojavascript == true {
display: none;
.content {
.header {
color: $white;
}
.description {
color: $white-dark;
a {
color: $white;
&:hover {
color: $red;
}
}
svg {
@if $nojavascript == true {
display: none;
}
}
}
}

30
scss/import/home.scss Normal file
View file

@ -0,0 +1,30 @@
// home
.home {
//.page.grid {
//.column.sixteen {
.hero {
h1 {
color: $white;
}
h2 {
color: $white-dark;
}
}
h1.hero {
color: $white !important;
.svg {
fill: $red;
}
}
p {
a {
color: $white;
text-decoration: underline;
text-underline-offset: 2px;
}
}
//}
//}
}

View file

@ -478,7 +478,7 @@
}
.description {
p {
color: $white;
color: $white-dark;
&.time {
color: $white-dark;
}
@ -497,3 +497,10 @@
}
}
}
@mixin divider {
.divider {
border-bottom: 1px solid $bg60 !important;
border-top: 0 !important;
}
}

View file

@ -35,5 +35,6 @@ $border-radius: 5px;
@import 'import/repository.scss';
@import 'import/user.scss';
@import 'import/organization.scss';
@import 'import/home.scss';
@import 'import/_footer.scss';