.disable-transitions,
.disable-transitions *,
.disable-transitions *::before,
.disable-transitions *::after {
transition: none !important;
}
body.theme-light,
body:not(.theme-dark) {
background-color: #f8f9fa;
}
body.theme-dark { --bg-base: #16181d;
--bg-surface: #1e2228;
--bg-input: #252a32;
--bg-footer: #121417;
--text-primary: #cbd5e1;
--text-heading: #e2e8f0;
--text-muted: #94a3b8;
--color-link: #60a5fa;
--color-link-hover: #93c5fd;
--border-color: #2d333b;
--search-field-bg: #252a32;
--search-field-color: #e2e8f0;
background-color: var(--bg-base);
color: var(--text-primary);
}
body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark h5,
body.theme-dark h6,
body.theme-dark .site-title a {
color: var(--text-heading);
}
body.theme-dark p,
body.theme-dark .entry-content p,
body.theme-dark article p,
body.theme-dark #page p,
body.theme-dark .site-content p,
body.theme-dark li,
body.theme-dark .entry-content li {
color: var(--text-primary) !important;
}
figure,
.wp-block-image,
.entry-content figure,
.entry-content .wp-block-image {
margin-top: 2em !important;
margin-bottom: 2em !important;
}
figure figcaption,
.wp-block-image figcaption {
margin-top: 0.6em;
font-size: 0.9em;
color: var(--text-muted);
text-align: center;
}
a:not(.button):not(.added_to_cart):not(.theme-switch-link) {
background-color: transparent;
transition-property: color;
transition-duration: 0.2s;
}
body.theme-dark a {
color: var(--color-link);
}
body.theme-dark a:hover,
body.theme-dark a:focus {
color: var(--color-link-hover);
}
body.theme-dark .blog main article h2 a,
body.theme-dark .search-results main article h2 a,
body.theme-dark .archive main article h2 a,
body.theme-dark .entry-title a,
body.theme-dark article h2 a,
body.theme-dark article h1 a,
body.theme-dark article h3 a,
body.theme-dark article h4 a,
body.theme-dark .related-posts article h4 a,
body.theme-dark .site-main article .entry-header a {
color: var(--text-heading) !important;
}
body.theme-dark .blog main article h2 a:hover,
body.theme-dark .search-results main article h2 a:hover,
body.theme-dark .archive main article h2 a:hover,
body.theme-dark .entry-title a:hover,
body.theme-dark article h2 a:hover,
body.theme-dark article h1 a:hover,
body.theme-dark article h3 a:hover,
body.theme-dark article h4 a:hover,
body.theme-dark .related-posts article h4 a:hover,
body.theme-dark .site-main article .entry-header a:hover {
color: var(--color-link) !important;
}
body.theme-dark .entry-meta,
body.theme-dark .entry-meta * {
color: var(--text-muted) !important;
} body.theme-dark .navigation-wrapper,
body.theme-dark .site-header {
background-color: var(--bg-surface);
color: var(--text-primary);
border-bottom: 1px solid var(--border-color);
}
body.theme-dark #primary-menu > li > a {
color: var(--text-heading);
}
body.theme-dark #primary-menu > li > a:hover,
body.theme-dark #primary-menu > li > a:focus {
color: var(--color-link);
} body.theme-dark #primary-menu ul {
background-color: var(--bg-surface);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
border: 1px solid var(--border-color);
}
body.theme-dark #primary-menu ul li a {
color: var(--text-primary);
}
body.theme-dark #primary-menu ul li a:hover {
background-color: var(--bg-input);
color: var(--color-link);
} body.theme-dark #iot-menu-left {
background-color: var(--bg-surface);
}
body.theme-dark #iot-menu-left a {
color: var(--text-heading);
}
body.theme-dark #page,
body.theme-dark .site-content {
background-color: var(--bg-base);
} body.theme-dark .entry-content,
body.theme-dark article.post,
body.theme-dark article.page,
body.theme-dark .hentry {
background-color: var(--bg-base);
border-color: var(--border-color);
} body.theme-dark blockquote,
body.theme-dark .wp-block-quote {
border-left: 4px solid var(--color-link) !important;
color: var(--text-muted) !important;
background-color: var(--bg-surface);
padding: 0.8em 1.2em;
margin: 1.5em 0;
} body.theme-dark #secondary,
body.theme-dark .sidebar-inner,
body.theme-dark .widget {
background-color: var(--bg-surface) !important;
color: var(--text-primary);
border-color: var(--border-color);
}
body.theme-dark .sidebar-inner a {
color: var(--text-primary);
}
body.theme-dark .sidebar-inner a:hover {
color: var(--color-link);
}
body.theme-dark .widget-title {
color: var(--text-heading);
border-color: var(--border-color);
}
body.theme-dark #secondary ul li {
border-bottom: 1px solid var(--border-color) !important;
}
body.theme-dark #secondary ul li:last-child {
border-bottom: none !important;
} body.theme-dark .tagcloud,
body.theme-dark #secondary .tagcloud {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
body.theme-dark .tagcloud a,
body.theme-dark #secondary .tagcloud a {
background-color: var(--bg-input) !important;
border-color: var(--border-color) !important;
color: var(--text-primary) !important;
max-width: 100%;
box-sizing: border-box;
word-break: break-word;
white-space: normal;
}
body.theme-dark .tagcloud a:hover,
body.theme-dark #secondary .tagcloud a:hover {
background-color: var(--border-color) !important;
border-color: var(--color-link) !important;
color: var(--color-link) !important;
} body.theme-dark input[type="text"],
body.theme-dark input[type="email"],
body.theme-dark input[type="password"],
body.theme-dark input[type="search"],
body.theme-dark input[type="url"],
body.theme-dark select,
body.theme-dark textarea {
background-color: var(--bg-input);
color: var(--text-heading);
border-color: var(--border-color);
}
body.theme-dark #secondary .search-form input.search-field {
background-color: var(--bg-input) !important;
color: var(--text-heading) !important;
border-color: var(--border-color) !important;
} body.theme-dark pre,
body.theme-dark .wp-block-preformatted {
background-color: var(--bg-base) !important;
color: var(--text-heading) !important;
border: 1px solid var(--border-color);
border-radius: 6px;
}
body.theme-dark code,
body.theme-dark kbd,
body.theme-dark tt,
body.theme-dark var {
background-color: var(--bg-input);
color: var(--text-heading);
}
body.theme-dark pre code {
background-color: transparent !important;
color: inherit !important;
} body.theme-dark .footer-container,
body.theme-dark .site-footer {
background-color: var(--bg-footer);
color: var(--text-muted);
border-top: 1px solid var(--border-color);
}
body.theme-dark .site-footer a {
color: var(--text-muted);
}
body.theme-dark .site-footer a:hover {
color: var(--text-heading);
} #primary-menu > li.menu-item-theme-switch,
.main-navigation li.menu-item-theme-switch {
display: inline-flex;
align-items: center;
float: left;
position: relative;
height: 56px;
margin-left: 6px;
}
.theme-switch-link {
display: inline-flex !important;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 50% !important;
text-decoration: none !important;
cursor: pointer;
transition: all 0.2s ease;
box-sizing: border-box;
padding: 0 !important;
background-color: transparent !important;
border: 1px solid rgba(0, 0, 0, 0.08) !important;
color: #64748b !important;
box-shadow: none !important;
}
.theme-switch-link:hover,
.theme-switch-link:focus {
background-color: rgba(0, 0, 0, 0.05) !important;
border-color: rgba(0, 0, 0, 0.15) !important;
color: #334155 !important;
transform: none !important;
outline: none;
}
body.theme-dark .theme-switch-link {
background-color: transparent !important;
border-color: rgba(255, 255, 255, 0.1) !important;
color: var(--text-muted) !important;
box-shadow: none !important;
}
body.theme-dark .theme-switch-link:hover,
body.theme-dark .theme-switch-link:focus {
background-color: rgba(255, 255, 255, 0.06) !important;
border-color: rgba(255, 255, 255, 0.2) !important;
color: var(--text-primary) !important;
transform: none !important;
}
.theme-switch-icon {
display: inline-flex;
align-items: center;
justify-content: center;
pointer-events: none;
line-height: 1;
}
.theme-switch-icon svg {
width: 17px;
height: 17px;
display: block;
}
.theme-switch-icon svg.icon-moon,
.theme-switch-icon svg.icon-sun {
fill: currentColor;
}
.theme-switch-icon .icon-sun  { display: none; }
.theme-switch-icon .icon-moon { display: inline-block; }
body.theme-dark .theme-switch-icon .icon-sun  { display: inline-block; }
body.theme-dark .theme-switch-icon .icon-moon { display: none; }