Overrode root color to white in main
This commit is contained in:
parent
15f02d1e96
commit
0bf7019d2f
3 changed files with 43 additions and 14 deletions
|
@ -3,6 +3,7 @@ table {
|
||||||
border: 1px solid rgba(get-light-color('accent-color'), 0.1);
|
border: 1px solid rgba(get-light-color('accent-color'), 0.1);
|
||||||
min-width: 10rem;
|
min-width: 10rem;
|
||||||
padding: 0.1rem;
|
padding: 0.1rem;
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
tr {
|
tr {
|
||||||
background: get-light-color('accent-color');
|
background: get-light-color('accent-color');
|
||||||
|
@ -14,14 +15,17 @@ table {
|
||||||
tr {
|
tr {
|
||||||
height: 40px !important;
|
height: 40px !important;
|
||||||
color: get-light-color('text-color');
|
color: get-light-color('text-color');
|
||||||
|
|
||||||
&:nth-child(odd) {
|
&:nth-child(odd) {
|
||||||
background-color: get-light-color('bg-primary');
|
background-color: get-light-color('bg-primary');
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(even) {
|
&:nth-child(even) {
|
||||||
background-color: rgba(get-light-color('accent-color'), 0.05);
|
background-color: rgba(get-light-color('accent-color'), 0.05);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
th,
|
th,
|
||||||
td {
|
td {
|
||||||
padding-top: 0.2rem;
|
padding-top: 0.2rem;
|
||||||
|
@ -48,6 +52,7 @@ table {
|
||||||
border-left: unset !important;
|
border-left: unset !important;
|
||||||
border-bottom: unset !important;
|
border-bottom: unset !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
td,
|
td,
|
||||||
tc {
|
tc {
|
||||||
border-right: 1px solid rgba(get-light-color('accent-color'), 0.1);
|
border-right: 1px solid rgba(get-light-color('accent-color'), 0.1);
|
||||||
|
@ -56,7 +61,7 @@ table {
|
||||||
thead {
|
thead {
|
||||||
tr {
|
tr {
|
||||||
background: unset !important;
|
background: unset !important;
|
||||||
color: unset !important;
|
color: get-light-color('text-over-accent-color');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,6 +70,7 @@ table {
|
||||||
&:nth-child(odd) {
|
&:nth-child(odd) {
|
||||||
background-color: unset !important;
|
background-color: unset !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: unset !important;
|
background: unset !important;
|
||||||
}
|
}
|
||||||
|
@ -76,6 +82,7 @@ table {
|
||||||
html[data-theme='dark'] {
|
html[data-theme='dark'] {
|
||||||
table {
|
table {
|
||||||
border: 1px solid rgba(get-dark-color('accent-color'), 0.1);
|
border: 1px solid rgba(get-dark-color('accent-color'), 0.1);
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
tr {
|
tr {
|
||||||
background: get-dark-color('accent-color');
|
background: get-dark-color('accent-color');
|
||||||
|
@ -86,25 +93,31 @@ html[data-theme='dark'] {
|
||||||
tbody {
|
tbody {
|
||||||
tr {
|
tr {
|
||||||
color: get-dark-color('text-color');
|
color: get-dark-color('text-color');
|
||||||
|
|
||||||
&:nth-child(odd) {
|
&:nth-child(odd) {
|
||||||
background-color: get-dark-color('bg-primary');
|
background-color: get-dark-color('bg-primary');
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(even) {
|
&:nth-child(even) {
|
||||||
background-color: rgba(get-dark-color('accent-color'), 0.05);
|
background-color: rgba(get-dark-color('accent-color'), 0.05);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.gist {
|
.gist {
|
||||||
&::-moz-selection{
|
&::-moz-selection {
|
||||||
background: get-dark-color('text-color');
|
background: get-dark-color('text-color');
|
||||||
color: get-dark-color('inverse-text-color');
|
color: get-dark-color('inverse-text-color');
|
||||||
}
|
}
|
||||||
&::selection{
|
|
||||||
|
&::selection {
|
||||||
background: get-dark-color('text-color');
|
background: get-dark-color('text-color');
|
||||||
color: get-dark-color('inverse-text-color');
|
color: get-dark-color('inverse-text-color');
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
|
||||||
td,
|
td,
|
||||||
tc {
|
tc {
|
||||||
border-right: 1px solid rgba(get-dark-color('accent-color'), 0.1);
|
border-right: 1px solid rgba(get-dark-color('accent-color'), 0.1);
|
||||||
|
|
|
@ -8,6 +8,9 @@ html {
|
||||||
scroll-behavior: smooth !important;
|
scroll-behavior: smooth !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$body-color: #ffffff;
|
||||||
|
|
||||||
|
/* Custom body color */
|
||||||
body {
|
body {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
@ -19,13 +22,21 @@ body {
|
||||||
:target::before {
|
:target::before {
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
height: 2em; /* fixed header height*/
|
height: 2em;
|
||||||
margin: -2em 0 0; /* negative fixed header height */
|
/* fixed header height*/
|
||||||
|
margin: -2em 0 0;
|
||||||
|
/* negative fixed header height */
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: get-light-color('bg-primary');
|
background-color: get-light-color('bg-primary');
|
||||||
font-family: 'Mulish';
|
font-family: 'Mulish';
|
||||||
|
color: #ffffff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--bs-body-color: white;
|
||||||
|
/* Change the global default text color */
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-primary {
|
.bg-primary {
|
||||||
|
@ -47,12 +58,13 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
ul > ol,
|
|
||||||
ol > ul,
|
ul>ol,
|
||||||
ul > ul,
|
ol>ul,
|
||||||
ol > ol,
|
ul>ul,
|
||||||
li > ol,
|
ol>ol,
|
||||||
li > ul {
|
li>ol,
|
||||||
|
li>ul {
|
||||||
padding-inline-start: 1rem;
|
padding-inline-start: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -68,6 +80,7 @@ mark {
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media('<=small') {
|
@include media('<=small') {
|
||||||
|
|
||||||
.skills-section,
|
.skills-section,
|
||||||
.projects-section,
|
.projects-section,
|
||||||
.publications-section {
|
.publications-section {
|
||||||
|
@ -101,13 +114,16 @@ html[data-theme='dark'] {
|
||||||
.bg-primary {
|
.bg-primary {
|
||||||
background-color: get-dark-color('bg-primary') !important;
|
background-color: get-dark-color('bg-primary') !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-secondary {
|
.bg-secondary {
|
||||||
background-color: get-dark-color('bg-secondary') !important;
|
background-color: get-dark-color('bg-secondary') !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
kbd {
|
kbd {
|
||||||
background-color: get-dark-color('accent-color');
|
background-color: get-dark-color('accent-color');
|
||||||
color: get-dark-color('text-over-accent-color');
|
color: get-dark-color('text-over-accent-color');
|
||||||
}
|
}
|
||||||
|
|
||||||
mark {
|
mark {
|
||||||
background-color: get-dark-color('highlight-color');
|
background-color: get-dark-color('highlight-color');
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
</form>
|
</form>
|
||||||
<div class="sidebar-tree">
|
<div class="sidebar-tree">
|
||||||
<ul class="tree" id="tree">
|
<ul class="tree" id="tree">
|
||||||
<li id="list-heading"><a href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
|
<li id="list-heading"><a style="color: white;" href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
|
||||||
<div class="subtree taxonomy-terms">
|
<div class="subtree taxonomy-terms">
|
||||||
{{ $context := . }}
|
{{ $context := . }}
|
||||||
{{ partial "navigators/taxonomies.html" (dict "context" $context "taxo" "tags" "title" ( humanize "tags" ) ) }}
|
{{ partial "navigators/taxonomies.html" (dict "context" $context "taxo" "tags" "title" ( humanize "tags" ) ) }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue