int-test mqtt <-> prediction
This commit is contained in:
@@ -0,0 +1,221 @@
|
||||
---
|
||||
---
|
||||
|
||||
@import "{{ site.theme }}";
|
||||
|
||||
/* Reduce sidebar width */
|
||||
header,
|
||||
footer {
|
||||
width: 180px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
section {
|
||||
width: calc(100% - 200px);
|
||||
margin-left: 200px;
|
||||
max-width: 900px !important;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
width: 900px !important;
|
||||
}
|
||||
|
||||
/* Smaller header text */
|
||||
header h1 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
/* Fix footer text wrapping */
|
||||
header p,
|
||||
header small {
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
white-space: normal;
|
||||
max-width: 100%;
|
||||
font-size: 0.75em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Prevent link hover from adding bold (causes layout shift) */
|
||||
a:hover {
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
/* Mobile: hide sidebar, full width content */
|
||||
@media print, screen and (max-width: 720px) {
|
||||
header {
|
||||
width: auto;
|
||||
padding-right: 0;
|
||||
}
|
||||
section {
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
.wrapper {
|
||||
width: auto !important;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Dark mode support */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body,
|
||||
.wrapper {
|
||||
background-color: #1a1a1a !important;
|
||||
color: #d0d0d0 !important;
|
||||
}
|
||||
|
||||
header,
|
||||
section {
|
||||
background-color: #1a1a1a !important;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #6db3f2 !important;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #9dcbf5 !important;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: #f0f0f0 !important;
|
||||
border-bottom-color: #444 !important;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
code {
|
||||
background-color: #2a2a2a !important;
|
||||
color: #f0a050 !important;
|
||||
border: none !important;
|
||||
border-radius: 3px !important;
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre {
|
||||
background-color: #252525 !important;
|
||||
border: 1px solid #3a3a3a !important;
|
||||
color: #d0d0d0 !important;
|
||||
}
|
||||
|
||||
pre code {
|
||||
background-color: transparent !important;
|
||||
color: #d0d0d0 !important;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left-color: #555 !important;
|
||||
color: #a0a0a0 !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-color: #444 !important;
|
||||
background-color: #444 !important;
|
||||
}
|
||||
|
||||
table th,
|
||||
table td {
|
||||
border-color: #444 !important;
|
||||
}
|
||||
|
||||
table th {
|
||||
background-color: #333 !important;
|
||||
color: #f0f0f0 !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
table tr:nth-child(even) {
|
||||
background-color: #222 !important;
|
||||
}
|
||||
|
||||
/* Lists */
|
||||
ul, ol, li {
|
||||
color: #d0d0d0 !important;
|
||||
}
|
||||
|
||||
/* Strong/bold */
|
||||
strong, b {
|
||||
color: #e8e8e8 !important;
|
||||
}
|
||||
|
||||
/* Syntax highlighting for code blocks (Rouge/Pygments) */
|
||||
.highlight {
|
||||
background-color: #252525 !important;
|
||||
}
|
||||
|
||||
/* Error tokens - remove error highlighting */
|
||||
.highlight .err {
|
||||
background-color: transparent !important;
|
||||
color: #d4d4d4 !important;
|
||||
}
|
||||
|
||||
/* Comments */
|
||||
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs {
|
||||
color: #6a9955 !important;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Keywords */
|
||||
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp,
|
||||
.highlight .kr, .highlight .kt, .highlight .kc {
|
||||
color: #569cd6 !important;
|
||||
}
|
||||
|
||||
/* Strings */
|
||||
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb,
|
||||
.highlight .sc, .highlight .sd, .highlight .se, .highlight .sh,
|
||||
.highlight .si, .highlight .sx, .highlight .sr, .highlight .ss,
|
||||
.highlight .dl {
|
||||
color: #ce9178 !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* Numbers */
|
||||
.highlight .m, .highlight .mi, .highlight .mf, .highlight .mh,
|
||||
.highlight .mo, .highlight .il {
|
||||
color: #b5cea8 !important;
|
||||
}
|
||||
|
||||
/* Operators */
|
||||
.highlight .o, .highlight .ow {
|
||||
color: #d4d4d4 !important;
|
||||
}
|
||||
|
||||
/* Punctuation */
|
||||
.highlight .p {
|
||||
color: #d4d4d4 !important;
|
||||
}
|
||||
|
||||
/* Names/identifiers */
|
||||
.highlight .n, .highlight .na, .highlight .nb, .highlight .nc,
|
||||
.highlight .no, .highlight .nd, .highlight .ni, .highlight .ne,
|
||||
.highlight .nf, .highlight .nl, .highlight .nn, .highlight .nt,
|
||||
.highlight .nv, .highlight .nx {
|
||||
color: #dcdcaa !important;
|
||||
}
|
||||
|
||||
/* Class names */
|
||||
.highlight .nc {
|
||||
color: #4ec9b0 !important;
|
||||
}
|
||||
|
||||
/* Function names */
|
||||
.highlight .nf {
|
||||
color: #dcdcaa !important;
|
||||
}
|
||||
|
||||
/* Preprocessor */
|
||||
.highlight .cp, .highlight .cpf {
|
||||
color: #c586c0 !important;
|
||||
}
|
||||
|
||||
/* Generic */
|
||||
.highlight .ge {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.highlight .gs {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user