@charset "utf-8";
/*
2025-10-27_090255
2025-11-03_073258
 */

:root {
 --xiconsize: 200px;
 --xleftmagin: 215px;
 --navcolor: pink;
 --navpanebdr: solid 3px var(--navcolor);
 --navbdradius: 8px;
 --navbordertop: solid 2px var(--navcolor);
 --main-bg-color: whitesmoke;
 --litmark: darkred;
 --xpage-top-margin: 0px;
}

body {
 font-family: Arial, sans-serif;
 font-size: 1.1rem;
 margin-top: var(--xpage-top-margin);
 margin-bottom: 50px;
 background-color: var(--main-bg-color);
}

table {
 overflow: auto;
}

h3 {
 color: darkred;
}

p, a, li, figcaption, div, span {
 overflow-wrap: anywhere;
}

dl {
 border-left: solid thin silver;
 padding: 8px;
}
dt {
 border-top: solid thin silver;
 padding-top: 5px;
}

dd {
 margin-bottom: 16px;
 margin-left: 30px;
 line-height: 1.5;
}

dd > ul {
 padding-left: 1rem;
}
ul + ul {
 margin-top: 40px;
}
li {
 margin: 4px;
 line-height: 1.6;
}

p {
 line-height: 1.6;
}
img {
 max-width: 100%;
 height: auto;
 margin: 1px;
 margin-top: 3px;
}

video {
 max-width: 100%;
 max-height: 90vh;
}

q {
 color: teal;
}

figure {
 padding: 0;
 margin: 10px 0;
}

figure > img {
 box-shadow: 3px 3px 8px 4px silver;
}

figure > img[src$="svg"] {
 box-shadow: none;
}

figcaption {
 max-width: 80ch;
 line-height: 1.6;
}
figcaption ul {
 margin: 2px;
}
figcaption li {
 list-style-type: square;
}

blockquote {
 border-left: solid 2px grey;
 border-top-left-radius: 8px;
 border-bottom-left-radius: 8px;
 padding-left: 8px;
 margin-left: 16px;
}

section {
 margin: 6px 6px;
 padding: 0 6px;
 border: solid 1px silver;
 border-radius: 8px;
}

cite {
 color: darkred;
}
input {
 margin: 5px;
}
footer {
 text-align: center;
 margin-bottom: 80px;
}

footer a {
 display: inline-block;
}

div > a {
 display: inline-block;
}

/* HHHH------------------------------ */

a {
 font-size: 1.3rem;
 text-decoration: none;
}
a:hover {
 background-color: var(--navcolor);
}
a[href*="wikipedia.org/"]:after {
 font-size: small;
 content: " w";
}

a[href$="pdf"]:before {
 content: "📕 ";
}

kbd {
 font-family: monospace;
 padding: 0 2px;
 border: solid 1px grey;
 border-radius: 4px;
 white-space: nowrap;
 color: white;
 background-color: black;
 box-shadow: 1px 1px 2px 1px silver;
}

svg {
 background-color: white;
 color: black;
}

var {
 font-family: monospace;
 font-weight: bold;
 color: green;
}

var:before {
 color: gray;
 content: "‹";
}

var:after {
 color: gray;
 content: "›";
}

.unicodexl {
 /* font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2"; */
 font-size: 2rem;
 border: solid 1px silver;
}

.emojixl {
 font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji";
 font-size: 2.2rem;
}

nav.lpanelxl {
 width: 200px;
 margin-top: 10px;
 padding-bottom: 40px;
 padding-left: 4px;
 border: var(--navpanebdr);
 border-radius: var(--navbdradius);
}

nav.pchap {
 border-left: solid 3px grey;
 font-weight: bold;
}

nav.psec {
 border-left: solid 2px silver;
 padding-left: 5px;
 max-width: 360px;
}

nav.psec h3 {
 background-color: var(--navcolor);
 box-shadow: 3px 3px 4px 2px var(--navcolor);
}

nav ul, nav ol {
 margin-left: -16px;
}
nav li {
 margin-left: -16px;
 list-style-type: none;
 border-top: var(--navbordertop);
}
nav li > a {
 display: inline-block;
}

nav.navbackxl {
 position: fixed;
 bottom: 2px;
 left: 2px;
 z-index: 2;
 border: var(--navpanebdr);
 border-radius: var(--navbdradius);
 background-color: var(--main-bg-color);
}
nav.navbackxl > a {
 display: inline-block;
 margin: 0;
 padding: 4px;
}
nav.navbackxl > a:before {
 content: "🔺 Back to ";
}

nav.navprevnextxl {
 display: inline-block;
 position: fixed;
 bottom: 5px;
 left: 5px;
 z-index: 780;
}
nav.navprevnextxl a {
 font-size: 3rem;
 margin: 6px;
 border-radius: var(--navbdradius);
 border: var(--navpanebdr);
 background-color: var(--main-bg-color);
}

@media all and (min-width: 801px) {
 main {
  margin-left: var(--xleftmagin);
 }
 footer {
  margin-left: var(--xleftmagin);
 }
 .lpanelxl {
  position: absolute;
  top: var(--xpage-top-margin);
  left: 2px;
 }
}

@media all and (min-width: 801px) {
 .x2col {
  column-count: 2;
 }
}

@media (prefers-color-scheme: dark) {
 body {
  color: white;
  background-color: black;
 }
 a:visited, a:link {
  color: dodgerblue;
 }
 img {
  background-color: white;
 }
}

/* HHHH------------------------------ */

ul.flowxl {
 display: flex;
 flex-wrap: wrap;
 padding: 0;
}

ul.flowxl > li {
 display: inline;
 list-style-type: none;
 text-align: center;
 width: var(--xiconsize);
 min-width: var(--xiconsize);
 max-width: var(--xiconsize);
 max-height: calc(var(--xiconsize) + 60px);
 padding: 2px;
 margin: 2px;
 overflow: hidden;
 font-size: 1rem;
 line-height: 1;
}
ul.flowxl > li > a {
 display: block;
 vertical-align: middle;
 line-height: 1;
 font-size: 1.2rem;
}

ul.flowxl li > a > img, ul.flowxl li > img {
 display: block;
 border-radius: 9px;
 width: auto;
 max-width: var(--xiconsize);
 max-height: var(--xiconsize);
 overflow: hidden;
 margin-left: auto;
 margin-right: auto;
}

ul.flowxl li > a > img[src$="svg"] {
 min-width: calc(var(--xiconsize) * 0.8);
 max-width: calc(var(--xiconsize) * 0.8);
}

div.topicxl {
 width: fit-content;
 margin: 16px 6px;
 padding: 1px 4px;
 border: var(--navpanebdr);
 border-radius: var(--navbdradius);
}
div.topicxl > ul > li {
 border-top: var(--navbordertop);
}

div.topicxl > ul {
 list-style-type: "🔷";
}

div.topicxl > ul > li > a {
 display: inline-block;
 vertical-align: middle;
}
div.topicxl > ul > li > a > img {
 border-radius: var(--navbdradius);
 width: auto;
 max-width: var(--xiconsize);
 max-height: var(--xiconsize);
}

div.rltd {
 width: fit-content;
 padding: 4px;
 margin: 16px 6px;
 border: var(--navpanebdr);
 border-radius: var(--navbdradius);
}
div.rltd:before {
 content: "Related articles:";
 position: relative;
 left: 8px;
}

var.elisp {
 color: brown;
}

code {
 white-space: pre-wrap;
 color: hsl(0, 100%, 40%);
}

code.path_xl {
 color: green;
}

code.elisp {}

code.elisp_f {
 font-weight: bold;
 color: red;
 background-color: transparent;
}

a.bigImg:before {
 content: "[❏ Big Image ";
}
a.bigImg:after {
 content: "]";
}

span.xsignet {
 font-family: sans-serif;
 font-size: 3rem;
 color: red;
}
span.xsignetxah {
 font-family: sans-serif;
 font-size: 2rem;
 color: red;
}

div.date_xl {
 width: fit-content;
 color: grey;
}
table.nrm {
 border-collapse: collapse;
 margin: 16px;
}
table.nrm > caption {
 padding: 5px;
 font-weight: bold;
}
table.nrm th, table.nrm td {
 padding: 4px;
 border: solid thin grey;
 line-height: 1.6;
}
table.nrm th {
 border: solid 3px grey;
}

a.amz, a.amz_search {
 font-size: 1.5rem;
 padding: 2px;
 background-color: #ffc125;
 border-radius: 8px;
 white-space: pre;
}
a.amz_search:before {
 content: "🔍Buy ";
}

pre:not([class]) {
 all: revert;
}

pre[class] {
 all: revert;
 tab-size: 2;
 padding: 8px;
 white-space: pre-wrap;
 border: solid thin grey;
 border-left: solid 5px grey;
}

pre:before {
 content: "";
 position: relative;
 top: -5px;
 right: 0;
 float: right;
 text-shadow: 2px 2px 2px grey;
 font-weight: bold;
}

pre.text {
 border: solid thin silver;
}

pre.poem {
 border-radius: 10px;
 border: solid 2px gold;
 font-family: sans-serif;
 margin: 1ex;
 padding: 1ex;
 white-space: pre-wrap;
 width: fit-content;
}

pre.lyrics {
 font-family: sans-serif;
 width: fit-content;
 white-space: pre-wrap;
 border-radius: 10px;
 border: solid 2px silver;
}

pre.code {
 border-color: grey;
}
pre.code:before {
 content: "code";
}

pre.ahk:before {
 content: "AutoHotkey";
}
pre.bash {
 border-color: darkgrey;
}
pre.bash:before {
 content: "bash";
}
pre.clojure:before {
 content: "Clojure";
}
pre.cmd {
 border-color: dodgerblue;
}
pre.cmd:before {
 content: "cmd.exe";
}
pre.common-lisp:before {
 content: "Common Lisp";
}
pre.cpp:before {
 content: "Cpp";
}
pre.csharp:before {
 content: "C Sharp";
}
pre.css {
 border-color: hsl(183, 16%, 60%);
}
pre.css:before {
 content: "CSS";
}
pre.emacs-lisp {
 border-color: darkred;
}
pre.emacs-lisp:before {
 content: "ELisp";
}
pre.fsharp:before {
 content: "FSharp";
}
pre.golang {
 border-color: hsl(159, 40%, 60%);
}
pre.golang:before {
 content: "golang";
}
pre.haskell:before {
 content: "Haskell";
}
pre.html {
 border-color: hsl(244, 61%, 60%);
}
pre.html:before {
 content: "HTML";
}
pre.java {
 border-color: hsl(0, 100%, 45%);
}
pre.java:before {
 content: "Java";
}
pre.js {
 border-color: gold;
}
pre.js:before {
 content: "JS";
}

pre.julia {
 border-color: red;
}
pre.julia:before {
 content: "Julia";
}

pre.lsl:before {
 content: "LSL";
}

pre.mysql:before {
 content: "mysql";
}
pre.nodejs {
 border-color: hsl(240, 87%, 60%);
}
pre.nodejs:before {
 content: "node.js";
}
pre.ocaml:before {
 content: "OCaml";
}
pre.org-mode:before {
 content: "org-mode";
}
pre.perl {
 border-color: hsl(36, 39%, 60%);
}
pre.perl:before {
 content: "Perl";
}
pre.php {
 border-color: hsl(240, 50%, 60%);
}
pre.php:before {
 content: "PHP";
}
pre.povray:before {
 content: "POV-Ray";
}
pre.powershell {
 border-color: hsl(211, 67%, 45%);
}
pre.powershell:before {
 content: "PowerShell";
}
pre.python {
 border-color: hsl(207, 44%, 49%);
}
pre.python2 {
 border-color: hsl(54, 66%, 60%);
}
pre.python2:before {
 content: "Python 2";
}
pre.python:before {
 content: "Python 3";
}
pre.qi:before {
 content: "Qi";
}

pre.racket:before {
 content: "racket";
}

pre.ruby {
 border-color: hsl(0, 100%, 48%);
}
pre.ruby:before {
 content: "Ruby";
}
pre.rust:before {
 content: "Rust";
}
pre.scheme:before {
 content: "scheme";
}
pre.shell {
 border-color: black;
}
pre.shell:before {
 content: "shell";
}
pre.typescript:before {
 content: "TypeScript";
}
pre.wolfram {
 border-color: red;
}
pre.wolfram:before {
 content: "Wolfram";
}
pre.xml:before {
 content: "XML";
}

pre.math:before {
 content: "math";
}
pre.error:before {
 content: "error";
}
pre.output:before {
 content: "output";
}

pre.lyrics:before {
 content: "lyrics";
}

pre span.bold {
 font-weight: bold;
}
pre span.builtin {
 color: slateblue;
}
pre span.comment {
 color: firebrick;
}
pre span.comment-delimiter {
 color: firebrick;
}
pre span.constant {
 color: #008b8b;
}
pre span.doc {
 color: #8b2252;
}
pre span.function-name {
 color: dodgerblue;
}
pre span.keyword {
 color: #a020f0;
}
pre span.preprocessor {
 color: hsl(314, 19%, 50%);
}
pre span.shadow {
 color: dodgerblue;
}
pre span.string {
 color: #8b2252;
}
pre span.type {
 color: #228b22;
}
pre span.underline {
 text-decoration: underline;
}
pre span.variable-name {
 font-weight: bold;
}
pre span.warning {
 color: red;
 font-weight: bold;
}
pre.perl span.perl-non-scalar-variable {
 font-weight: bold;
}
pre.xml span.sgml-namespace {
 color: hsl(61, 19%, 60%);
}
pre span.xah-elisp-cap-variable {
 color: firebrick;
 font-weight: bold;
}
pre span.xah-elisp-command {
 color: #228b22;
}
pre span.xahk-mode-command-name {
 color: dodgerblue;
}
span.elisp-prefix-command, span.elisp-command, span.elisp-macro, span.elisp-special-form, span.elisp-function {
 white-space: nowrap;
 font-weight: bold;
 color: firebrick;
 background-color: transparent;
}
span.elisp-constant, span.elisp-user-option, span.elisp-variable {
 white-space: nowrap;
 font-weight: bold;
 color: brown;
}

div > a > img {
 max-width: 240px;
 height: auto;
}

/* HHHH------------------------------ */

.todo {
 border-bottom: solid thin red;
}
.payme88711 {
 display: inline-block;
 border: solid thin grey;
 border-radius: 16px;
}

/* HHHH------------------------------ */

nav.xtop {
 position: fixed;
 bottom: 60px;
 right: 2px;
 z-index: 322;
}
nav.xtop > a {
 margin: 6px;
 font-size: 2.5rem;
}
nav.xtop > a:hover {
 background-color: var(--navcolor);
}

/* HHHH------------------------------ */

span.xc-black {
 background-color: black;
}
span.xc-blue {
 background-color: blue;
}
span.xc-brown {
 background-color: brown;
}
span.xc-cyan {
 background-color: cyan;
}
span.xc-green {
 background-color: green;
}
span.xc-orange {
 background-color: orange;
}
span.xc-pink {
 background-color: pink;
}
span.xc-purple {
 background-color: purple;
}
span.xc-red {
 background-color: red;
}
span.xc-silver {
 background-color: silver;
}
span.xc-white {
 background-color: white;
}
span.xc-yellow {
 background-color: yellow;
}
span.xc-black, span.xc-blue, span.xc-brown, span.xc-cyan, span.xc-green, span.xc-orange, span.xc-pink, span.xc-purple, span.xc-red, span.xc-silver, span.xc-white, span.xc-yellow {
 display: inline-block;
 min-width: 20px;
 min-height: 20px;
}

/* HHHH------------------------------ */

a.rssxl:before {
 content: "RSS";
 border-radius: 10px;
 font-family: sans-serif;
 font-weight: bold;
 color: white;
 background-color: #f26522;
 padding: 0 8px;
 margin-right: 4px;
}
.taglinexl {
 margin: 4px;
 font-size: 1.25rem;
 color: red;
}
.xahnote {
 border-bottom: solid 1px grey;
}
.xahnote:before {
 content: "note: ";
}

/* HHHH------------------------------ */

b.w {
 color: darkred;
}
mark.b {
 background-color: aquamarine;
 border-radius: 4px;
}

.xn-marker {
 color: var(--litmark);
 text-decoration-line: underline;
 text-decoration-style: solid;
}

.xn-target {
 color: var(--litmark);
}

.xn-target:after {
 content: ":";
}

.xn-body {
 width: fit-content;
 line-height: 1.6;
 padding: 5px;
 margin: 5px;
 border: solid 1px grey;
}

span.oafm {
 color: darkred;
 background-color: silver;
}
span.oafm:after {
 content: "‡";
}
div.anote {
 line-height: 1.6;
 padding: 8px;
 margin: 8px;
 border: solid thin grey;
}
div.anote > p {
 padding: 8px;
 margin: 8px;
 width: 60ex;
}

[lang="zh"] {
 font-size: 1.3rem;
}
.zh-char {
 font-size: 2rem;
}

/* HHHH------------------------------ */

x-link {
 color: grey;
}

ul.x-cite {
 padding-left: 0;
}

ul.x-cite li {
 display: inline;
}

ul.x-cite:before {
 content: "《";
}

ul.x-cite:after {
 content: "》";
}

/* HHHH------------------------------ */

section.word88 {
 border: none;
 margin-top: 8px;
 line-height: 1.6;
 border: solid thin grey;
}

section.word88 div.src {
 border: dotted 2px silver;
 border-radius: 4px;
}

section.word88 div.src:before {
 font-weight: bold;
 content: "👉 Source: ";
}

section.word88 div.cmt:before {
 font-weight: bold;
 content: "📜 Notes: ";
}

section.word88 div.def {
 border: dotted 2px silver;
 margin: 4px;
}

section.word88 div.def:before {
 font-weight: bold;
 content: "🔸DEF:";
}
