add dark_themes.css to dedup

pull/225/head
Aevann 2024-02-29 00:26:53 +02:00
parent 2c2e86e5d1
commit 5e27e8daeb
15 changed files with 30 additions and 142 deletions

View File

@ -0,0 +1,16 @@
.tooltip-inner {
color: #d8d8d8 !important;
background-color: #313131 !important;
}
lite-youtube, iframe {
color-scheme: light !important;
}
code {
color: #f679b2;
}
.dataTables_wrapper .dataTables_length select {
background-color: black !important;
}

View File

@ -7607,9 +7607,9 @@ blink {
font-family: open sans,sans-serif !important;
background: repeating-linear-gradient(
45deg,
gold,
#debd00 20px,
#cdae00 60px
#a78e00,
#947d00 20px,
#847000 60px
);
color: transparent !important;
font-weight: 700 !important;

View File

@ -159,15 +159,6 @@ blockquote a {
background: #fdccad !important;
}
.gold-text:not(a), h1.gold-text.post-title a, :not(td) > a[href="/h/highrollerclub"]:not(.hole-flair) {
background: repeating-linear-gradient(
45deg,
#9e8600,
#887400 20px,
#6d5d00 60px
);
}
#header--icon:not([alt^="/h/"]) {
content: url(/i/4chan_icon.webp);
height: 40px;

View File

@ -192,12 +192,3 @@ blockquote a {
#casino-game-wrapper .row-cols-1, #casino-game-wrapper .row-cols-2 {
background-image: none !important;
}
.gold-text:not(a), h1.gold-text.post-title a, :not(td) > a[href="/h/highrollerclub"]:not(.hole-flair) {
background: repeating-linear-gradient(
45deg,
#9e8600,
#887400 20px,
#6d5d00 60px
);
}

View File

@ -16,25 +16,3 @@
.unread {
background-color: #3d3d3d !important;
}
lite-youtube, iframe {
color-scheme: light !important;
}
.gold-text:not(a), h1.gold-text.post-title a, :not(td) > a[href="/h/highrollerclub"]:not(.hole-flair) {
background: repeating-linear-gradient(
45deg,
gold,
#debd00 20px,
#cdae00 60px
);
}
code {
color: #f679b2;
}
.dataTables_wrapper .dataTables_length select {
background-color: black !important;
}

View File

@ -116,12 +116,3 @@ blockquote {
.form-control:disabled, [readonly] {
color: var(--light) !important;
}
.gold-text:not(a), h1.gold-text.post-title a, :not(td) > a[href="/h/highrollerclub"]:not(.hole-flair) {
background: repeating-linear-gradient(
45deg,
#9e8600,
#887400 20px,
#6d5d00 60px
);
}

View File

@ -84,11 +84,6 @@ pre {
background-color: var(--light);
}
.tooltip-inner {
color: #d8d8d8 !important;
background-color: #313131 !important;
}
#frontpage .posts .card, #userpage .posts .card, #search .posts .card {
border-color: #101010;
}
@ -104,15 +99,3 @@ pre {
*:target {
background: rgba(var(--primary_rgb), 0.2) !important;
}
lite-youtube, iframe {
color-scheme: light !important;
}
code {
color: #f679b2;
}
.dataTables_wrapper .dataTables_length select {
background-color: black !important;
}

View File

@ -128,8 +128,8 @@ blockquote {
background-color: rgb(var(--background))
}
.tooltip{
color: var(--gray-700);
.tooltip {
color: var(--gray-700);
}
.dropdown-menu {
@ -140,11 +140,6 @@ color: var(--gray-700);
color: var(--gray-300) !important;
}
.tooltip-inner {
color: #d8d8d8 !important;
background-color: #313131 !important;
}
.visited, h5.post-title a:not(.effortpost-flair):visited, a[href^="https://"]:not([href^="https://rdrama.net" i], [href^="https://watchpeopledie.tv" i], .dropdown-item, .nav-link, .novisited):visited {
color: #6e6e6e !important;
}
@ -157,15 +152,3 @@ color: var(--gray-700);
.unread {
background: #ffffff22 !important;
}
lite-youtube, iframe {
color-scheme: light !important;
}
code {
color: #f679b2;
}
.dataTables_wrapper .dataTables_length select {
background-color: black !important;
}

View File

@ -79,6 +79,7 @@ blockquote {
.unread {
background: #dddddd !important;
}
*:target {
background: rgba(var(--primary_rgb), 0.2) !important;
}
@ -90,12 +91,3 @@ blockquote {
.award-name {
color: var(--black);
}
.gold-text:not(a), h1.gold-text.post-title a, :not(td) > a[href="/h/highrollerclub"]:not(.hole-flair) {
background: repeating-linear-gradient(
45deg,
#9e8600,
#887400 20px,
#6d5d00 60px
);
}

View File

@ -51,11 +51,6 @@ table tbody tr:nth-of-type(odd) {
background-color: rgba(0, 0, 0, 0.3);
}
.tooltip-inner {
color: #d8d8d8 !important;
background-color: #313131 !important;
}
.visited, h5.post-title a:not(.effortpost-flair):visited, a[href^="https://"]:not([href^="https://rdrama.net" i], [href^="https://watchpeopledie.tv" i], .dropdown-item, .nav-link, .novisited):visited {
color: #6e6e6e !important;
}
@ -72,15 +67,3 @@ table tbody tr:nth-of-type(odd) {
.unread {
background: #ffffff22 !important;
}
lite-youtube, iframe {
color-scheme: light !important;
}
code {
color: #f679b2;
}
.dataTables_wrapper .dataTables_length select {
background-color: black !important;
}

View File

@ -222,27 +222,10 @@
margin-top: 6px;
}
.tooltip-inner {
color: #d8d8d8 !important;
background-color: #313131 !important;
}
.visited, h5.post-title a:not(.effortpost-flair):visited, a[href^="https://"]:not([href^="https://rdrama.net" i], [href^="https://watchpeopledie.tv" i], .dropdown-item, .nav-link, .novisited):visited {
color: #b0b0b0 !important;
}
lite-youtube, iframe {
color-scheme: light !important;
}
.sidebar-wpd--holes a {
font-size: 0.85rem;
}
code {
color: #f679b2;
}
.dataTables_wrapper .dataTables_length select {
background-color: black !important;
}

View File

@ -190,15 +190,6 @@ button.close i {
color: var(--light) !important;
}
.gold-text:not(a), h1.gold-text.post-title a, :not(td) > a[href="/h/highrollerclub"]:not(.hole-flair) {
background: repeating-linear-gradient(
45deg,
#9e8600,
#887400 20px,
#6d5d00 60px
);
}
table {
color: black;
}

View File

@ -398,8 +398,9 @@ CHUD_MSGS = (
PIN_AWARD_TEXT = " (pin award)"
LIGHT_THEMES = {"4chan","classic","coffee","light","win98"}
DARK_THEMES = {"classic_dark","dark","dramblr","midnight","tron"}
THEMES = ["4chan","classic","classic_dark","coffee","dark","dramblr","light","midnight","tron","win98"]
LIGHT_THEMES = ["4chan","classic","coffee","light","win98"]
BACKGROUND_CATEGORIES = ["glitter", "anime", "fantasy", "solarpunk", "pixelart"]
PAGE_SIZES = (10, 25, 50, 100)

View File

@ -179,7 +179,8 @@ def inject_constants():
"SITE_FULL_IMAGES": SITE_FULL_IMAGES,
"IS_EVENT":IS_EVENT, "IS_FISTMAS":IS_FISTMAS, "IS_HOMOWEEN":IS_HOMOWEEN,
"IS_DKD":IS_DKD, "IS_BIRTHGAY":IS_BIRTHGAY, "IS_BIRTHDEAD":IS_BIRTHDEAD,
"CHUD_PHRASES":CHUD_PHRASES, "hasattr":hasattr, "calc_users":calc_users, "HOLE_INACTIVITY_DELETION":HOLE_INACTIVITY_DELETION, "LIGHT_THEMES":LIGHT_THEMES, "NSFW_EMOJIS":NSFW_EMOJIS, "HOLES":HOLES, "CARP_ID":CARP_ID,
"CHUD_PHRASES":CHUD_PHRASES, "hasattr":hasattr, "calc_users":calc_users, "HOLE_INACTIVITY_DELETION":HOLE_INACTIVITY_DELETION,
"LIGHT_THEMES":LIGHT_THEMES, "DARK_THEMES":DARK_THEMES, "NSFW_EMOJIS":NSFW_EMOJIS, "HOLES":HOLES, "CARP_ID":CARP_ID,
"MAX_IMAGE_AUDIO_SIZE_MB":MAX_IMAGE_AUDIO_SIZE_MB, "MAX_IMAGE_AUDIO_SIZE_MB_PATRON":MAX_IMAGE_AUDIO_SIZE_MB_PATRON,
"MAX_VIDEO_SIZE_MB":MAX_VIDEO_SIZE_MB, "MAX_VIDEO_SIZE_MB_PATRON":MAX_VIDEO_SIZE_MB_PATRON,
"CURSORMARSEY_DEFAULT":CURSORMARSEY_DEFAULT, "SNAPPY_ID":SNAPPY_ID, "ZOZBOT_ID":ZOZBOT_ID, "get_running_orgy":get_running_orgy,

View File

@ -118,6 +118,10 @@
<link rel="stylesheet" href="{{('css/themes/'~v.theme~'.css') | asset}}">
{% if v.theme in DARK_THEMES %}
<link rel="stylesheet" href="{{('css/dark_themes.css') | asset}}">
{% endif %}
{% if v.themecolor == '30409f' %}
<link rel="stylesheet" href="{{('css/30409f.css') | asset}}">
{% endif %}