added sunset mode; fixed light mode
This commit is contained in:
parent
3ad85a5da4
commit
fdd72cde34
4 changed files with 72 additions and 11 deletions
|
@ -5,6 +5,7 @@
|
|||
<script type="text/javascript" src="/navbar.js"></script>
|
||||
<link rel="stylesheet" href="/catppuccin.css">
|
||||
<link rel="stylesheet" href="/light_mode.css">
|
||||
<link rel="stylesheet" href="/sunset_mode.css">
|
||||
<link rel="stylesheet" href="/dark_mode.css">
|
||||
{{ partialCached "head/css.html" . }}
|
||||
{{ partialCached "head/js.html" . }}
|
||||
|
|
|
@ -52,10 +52,10 @@ h1.darkmode, h2.darkmode, h3.darkmode, h4.darkmode, h5.darkmode, h6.darkmode {
|
|||
.nav-list.darkmode {
|
||||
background-color: var(--ctp-mocha-mauve);
|
||||
}
|
||||
.nav-dropdown {
|
||||
.nav-dropdown.darkmode {
|
||||
color: var(--ctp-mocha-crust);
|
||||
}
|
||||
.nav-dropdown:hover {
|
||||
.nav-dropdown.darkmode:hover {
|
||||
color: var(--ctp-mocha-text);
|
||||
}
|
||||
.nav-dropdown-content.darkmode {
|
||||
|
|
|
@ -40,25 +40,21 @@ pre.lightmode {
|
|||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
h1.lightmode, h2.darkmode, h3.darkmode, h4.darkmode, h5.darkmode, h6.darkmode {
|
||||
h1.lightmode, h2.lightmode, h3.lightmode, h4.lightmode, h5.lightmode, h6.lightmode {
|
||||
color: var(--ctp-latte-sapphire);
|
||||
}
|
||||
|
||||
.nav-list.lightmode a {
|
||||
color: var(--ctp-latte-crust);
|
||||
}
|
||||
.nav-list.lightmode a:hover {
|
||||
color: var(--ctp-latte-text);
|
||||
}
|
||||
.nav-list.lightmode {
|
||||
background-color: var(--ctp-latte-mauve);
|
||||
}
|
||||
.nav-dropdown {
|
||||
.nav-dropdown.lightmode {
|
||||
color: var(--ctp-latte-crust);
|
||||
}
|
||||
.nav-dropdown:hover {
|
||||
color: var(--ctp-latte-text);
|
||||
}
|
||||
.nav-dropdown-content.lightmode {
|
||||
background-color: var(--ctp-latte-mauve);
|
||||
}
|
||||
.nav-dropdown-content.lightmode a {
|
||||
color: var(--ctp-latte-crust);
|
||||
}
|
||||
|
|
64
themes/NSP/static/sunset_mode.css
Normal file
64
themes/NSP/static/sunset_mode.css
Normal file
|
@ -0,0 +1,64 @@
|
|||
|
||||
|
||||
|
||||
.sunsetmode p {
|
||||
color: var(--ctp-frappe-text);
|
||||
}
|
||||
|
||||
.sunsetmode {
|
||||
background-color: var(--ctp-frappe-base);
|
||||
}
|
||||
|
||||
.sunsetmode a {
|
||||
color: var(--ctp-frappe-peach);
|
||||
}
|
||||
|
||||
code.sunsetmode {
|
||||
background-color: transparent;
|
||||
}
|
||||
code.sunsetmode > span {
|
||||
background-color: transparent;
|
||||
}
|
||||
code.sunsetmode > span > span {
|
||||
background-color: transparent;
|
||||
}
|
||||
code.sunsetmode > span > span > span {
|
||||
background-color: transparent;
|
||||
}
|
||||
pre.sunsetmode {
|
||||
background: var(--ctp-frappe-crust);
|
||||
border: 1px solid #ddd;
|
||||
color: var(--ctp-frappe-sky);
|
||||
page-break-inside: avoid;
|
||||
font-family: monospace;
|
||||
font-size: 15px;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 1.6em;
|
||||
max-width: 100%;
|
||||
overflow: auto;
|
||||
padding: 1em 1.5em;
|
||||
display: block;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
h1.sunsetmode, h2.sunsetmode, h3.sunsetmode, h4.sunsetmode, h5.sunsetmode, h6.sunsetmode {
|
||||
color: var(--ctp-frappe-sapphire);
|
||||
}
|
||||
.nav-list.sunsetmode a {
|
||||
color: var(--ctp-frappe-crust);
|
||||
}
|
||||
.nav-list.sunsetmode a:hover {
|
||||
color: var(--ctp-frappe-text);
|
||||
}
|
||||
.nav-list.sunsetmode {
|
||||
background-color: var(--ctp-frappe-mauve);
|
||||
}
|
||||
.nav-dropdown.sunsetmode {
|
||||
color: var(--ctp-frappe-text);
|
||||
}
|
||||
.nav-dropdown.sunsetmode:hover {
|
||||
color: var(--ctp-frappe-text);
|
||||
}
|
||||
.nav-dropdown-content.sunsetmode {
|
||||
background-color: var(--ctp-frappe-mauve);
|
||||
}
|
Loading…
Reference in a new issue