vrifox/gitea-theme
Archived
1
0
Fork 0

optimized file layout and markdown styles

This commit is contained in:
Vrifox 2020-10-09 09:45:20 +02:00
parent e064cfd482
commit ae07ce8437
12 changed files with 1769 additions and 23 deletions

View file

@ -13,7 +13,7 @@ $nojavascript: false; // disables or corrects functions, that would not work wit
$vrifoxcustomization: true; // my personal customizations
$disablelanguagebutton: false; // if cookies are disabled, the language will have to be chosen on every page again
$font-family: monospace, 'Lucida Console', 'Monaco';
$font-family: 'Lucida Console', monospace;
$border-radius: 5px;
//
@ -21,15 +21,15 @@ $border-radius: 5px;
//
@import 'partials/main';
@import 'partials/nav';
@import 'import/main';
@import 'import/nav';
@import 'partials/repository.scss';
@import 'import/repository.scss';
@import 'partials/explore.scss';
@import 'import/explore.scss';
@import 'partials/user.scss';
@import 'import/user.scss';
@import 'partials/footer';
@import 'import/footer';

View file

@ -13,7 +13,7 @@ $nojavascript: true; // disables or corrects functions, that would not work with
$vrifoxcustomization: true; // my personal customizations
$disablelanguagebutton: true; // if cookies are disabled, the language will have to be chosen on every page again
$font-family: monospace, 'Lucida Console', 'Monaco';
$font-family: 'Lucida Console', monospace;
$border-radius: 5px;
//
@ -21,15 +21,15 @@ $border-radius: 5px;
//
@import 'partials/main';
@import 'partials/nav';
@import 'import/main';
@import 'import/nav';
@import 'partials/repository.scss';
@import 'import/repository.scss';
@import 'partials/explore.scss';
@import 'import/explore.scss';
@import 'partials/user.scss';
@import 'import/user.scss';
@import 'partials/footer';
@import 'import/footer';

View file

@ -978,19 +978,38 @@
}
}
.table {
.file-view.code-view {
table {
tbody {
tr {
td,
td pre code .linenums {
background: rgb(30, 30, 45) !important;
border-color: rgb(60, 60, 90) !important;
color: rgb(255, 255, 255);
.file-view {
&.code-view {
table {
tbody {
tr {
td,
td pre code .linenums {
background: rgb(30, 30, 45) !important;
border-color: rgb(60, 60, 90) !important;
color: rgb(255, 255, 255);
}
}
}
}
}
&.markdown {
a {
border-bottom: 1px solid;
padding: 0 2px;
margin: 0 -2px;
}
&:not(code) {
h1,
h2 {
border-bottom: 1px solid rgb(60, 60, 90);
}
pre {
background: rgb(40, 40, 60);
border-radius: $border-radius;
}
}
}
}
}
}