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/repository.scss';
@import 'import/user.scss'; @import 'import/user.scss';
@import 'import/organization.scss'; @import 'import/organization.scss';
@import 'import/home.scss';
@import 'import/_footer.scss'; @import 'import/_footer.scss';

View file

@ -30,51 +30,8 @@
} }
} }
} }
.divider { @include divider;
border-bottom: 1px solid $bg60 !important; @include repository-list;
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;
}
}
}
}
}
}
} }
} }
@ -83,12 +40,22 @@
.explore.users { .explore.users {
.container { .container {
.user.list { .user.list {
.item {
&:not(:first-child) {
border-top: 1px solid $bg60;
}
.content { .content {
.header { .header {
color: $white; color: $white;
} }
.description { .description {
color: $white-dark;
a {
color: $white; color: $white;
&:hover {
color: $red;
}
}
svg { svg {
@if $nojavascript == true { @if $nojavascript == true {
display: none; display: none;
@ -98,4 +65,5 @@
} }
} }
} }
}
} }

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 { .description {
p { p {
color: $white; color: $white-dark;
&.time { &.time {
color: $white-dark; 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/repository.scss';
@import 'import/user.scss'; @import 'import/user.scss';
@import 'import/organization.scss'; @import 'import/organization.scss';
@import 'import/home.scss';
@import 'import/_footer.scss'; @import 'import/_footer.scss';