/*
Theme Name: JLM7
Description: Modification of the WordPress theme that graced versions 1.2.x and prior.
Version: 11.11.1
Please tweak this and make it your own. :)
*/

[data-theme="dark"], :root {
    --bg: black;
    --fg: #0f0;
    --highc: #ddd;
    --medc: #00dd00;
    --badc: red;
    --comments: orange;
    --abare: #59d;
    --avis: #368;
    --ahov: #9a8;
    --menuc: #aaa;
    --metac: #999;
    --fbc: #ccc;
    --crbg: #353c35;
}

[data-theme="light"] {
    --bg: #ddd;
    --fg: #888;
    --highc: #060;
    /* --highc: #016620; */
    /* --highc: #016601; */
    --medc: #111;
    --badc: red;
    --comments: #853;
    --abare: #24a;
    --avis: #36b;
    --ahov: #57a;
    --menuc: #333;
    --metac: #444;
    --fbc: #585;
    --crbg: #90a090;
}

a {
    color: var(--abare);
}
a:visited {
    color: var(--avis);
}
a:hover {
    color: var(--ahov);
}

button#light {
    color: #000;
    background-color: #ddd;
}
button#dark {
    color: #ddd;
    background-color: #111;
}

tt {
    color: var(--highc);
    background-color: var(--bg);
    font-size: 100%;
}

tt.title {
    color: inherit;
}

a code {
    color: var(--highc);
    background-color: var(--bg);
    font-size: 100%;
    text-decoration: underline;
}

code {
    color: var(--highc);
    background-color: var(--bg);
    font-size: 100%;
}

code.red {
    color: red;
}
code.bad {
    color: var(--badc);
}

pre.white {
    color: white;
}
pre.highc {
    color: var(--highc);
    overflow: auto;
    overflow-wrap: break-word;
}

tt.green {
    color: #00dd00;
}
tt.medc {
    color: var(--medc);
}

code.bigcomment {
    color: var(--comments);
    font-size: 110%;
}

code.smcomment {
    color: var(--comments);
    font-size: 75%;
}

.shell {
    color: var(--comments);
}

p.small {
    font-size: 75%;
}

span.big {
    font-size: 140%;
}

div.big {
    font-size: 140%;
}

/*
Brief is sadly loth to reload stuff, so we lose stuff like
    <code class="wsinit" style="white-space: initial !important;">
and so we went ahead and switched to <pre> from using <br> and &nbsp;
*/
code.wsinit {
    white-space: initial !important;
}

img.bimg {
    border: 2pt solid;
}

a img {
    border: none;
}

acronym, abbr {
    border-bottom: 1px dashed #333;
}

acronym, abbr, span.caps {
    font-size: 90%;
    letter-spacing: .07em;
}

acronym, abbr {
    cursor: help;
}

blockquote {
    border-left: .5ex solid var(--fbc);
    margin-left: 1.5em;
    padding-left: 1ex;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Century Schoolbook L', 'Century Schoolbook', Century,
		 Georgia, 'Times New Roman', Times, Alegreya, serif;
    margin: 0;
    padding: 0;
    font-size: 110%;
}

cite {
    font-size: 90%;
    font-style: normal;
}

h2 {
    border-bottom: 1px dotted var(--fbc);
    font-size: 75%;
    letter-spacing: 0.2em;
    margin: 2ex 0 0 0;
    padding-bottom: .5ex;
}

h3 {
    border-bottom: dotted 1px #eee;
    font-family: "Times New Roman", Times, serif;
    margin-top: 0;
}

li p {
    padding: 0;
    margin: 0;
}

sup, sub {
    font-size: x-small;
}

sup.b, sub.b {
    font-size: small;
}

sup.sm, sub.sm {
    font-size: x-small;
}

sub.int {
    position: relative;
    top: .1ex;
}

sup.int {
    position: relative;
    left: -.5em;
    top: -.5ex;
}

sup.rint {
    position: relative;
    left: -.7em;
    top: -.5ex;
}

h2#comments {
    margin-top: 2em;
}

ol#comments li p {
    font-size: 100%;
}

html>body .post ul {
    margin-left: 2em;
    text-indent: 0em;
}


/* classes used by the_meta() */
ul.post-meta {
    list-style: none;
}

ul.post-meta span.post-meta-key {
    font-weight: bold;
}

.spoiler {
    color: transparent;
    background-color: var(--medc);
}

.spoiler:hover, .spoiler:focus {
    color: var(--bg);
}

code.spoiler {
    color: inherit;
}

.sqrt {
    text-decoration: overline;
}

.credit {
    background: var(--crbg);
    border-top: double 1px #aba;
    color: var(--highc);
    font-size: 75%;
    margin: .5ex 0 0 0;
    padding: .2ex;
    text-align: center;
}

.credit a:link, .credit a:hover {
    color: var(--highc);
}

.feedback {
    color: var(--fbc);
    text-align: right;
}

.meta {
    font-size: .75em;
}

.meta li, ul.post-meta li {
    display: inline;
}

.meta ul {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
}

.meta, .meta a {
    color: var(--metac);
    font-weight: normal;
    letter-spacing: 0;
}

.storytitle {
    margin: 0;
}

.storytitle a {
    text-decoration: none;
}

.right {
    float: right;
    overflow: visible;
}

.left {
    float: left;
    overflow: visible;
}

.alignright {
    float: right;
    font-size: 80%
}

.alignleft {
    float: left;
    font-size: 80%
}

.rtimg {
    float: right;
}

#commentform #author, #commentform #email, #commentform #url, #commentform textarea {
    color: #6c6;
    background: #444;
    border: 1px solid #333;
    padding: .2em;
}

#commentform textarea {
    width: 100%;
}

#commentlist li ul {
    border-left: 1px solid #ddd;
    font-size: 110%;
    list-style-type: none;
}

#content {
    margin: 0 auto 0 auto;
    background-color: var(--bg);
    color: var(--medc);
    max-width: 51em;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

#header a {
    color: var(--highc);
    background-color: var(--bg);
    text-decoration: none;
}

#header a:hover {
    text-decoration: underline;
}

#sidebar {
    float: right;
    width: 20%;
}

#menu {
    background-color: #333;
    border-left: 0.5em solid #444;
    padding: 1% 0 1% 0;
    float: right;
    right: 0;
    top: 0;
    width: 90%;
    margin-left: 0.2em;
}

#menu form {
    margin: 0 0 0 2ex;
}

#menu input#s {
    width: 90%;
    border: 1px solid #999;
}

#menu ul {
    background-color: var(--bg);
    color: var(--menuc);
    font-weight: bold;
    list-style-type: none;
    margin: 0;
    padding-left: .1ex;
    text-transform: lowercase;
}

#menu ul li {
    font: italic normal 110% 'Times New Roman', Times, serif;
    letter-spacing: 0.1em;
    margin-bottom: 0.15ex;
    padding-bottom: .2ex;
    padding-left: .3em;
}

#menu ul ul {
    font-variant: normal;
    font-weight: normal;
    line-height: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

#menu a {
    text-decoration: none;
}

#menu ul ul li {
    border: 0;
    font: normal 75% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    letter-spacing: 0;
    margin-top: 0;
    padding: 0;
    padding-left: 2ex;
    text-decoration: none;
}

#menu ul ul li a:hover {
    border-bottom: 1px solid white;
}

#menu ul ul ul.children {
    font-size: 125%;
    padding-left: .5ex;
}

#wpadminbar {
    display: none;
}

#wp-calendar {
    border: 1px solid #ddd;
    empty-cells: show;
    font-size: 14px;
    margin: 0;
    width: 90%;
}

#wp-calendar #next a {
    padding-right: 10px;
    text-align: right;
}

#wp-calendar #prev a {
    padding-left: 10px;
    text-align: left;
}

#wp-calendar a {
    display: block;
    text-decoration: none;
}

#wp-calendar a:hover {
    background: #e0e6e0;
    color: #333;
}

#wp-calendar caption {
    color: #999;
    font-size: 16px;
    text-align: left;
}

#wp-calendar td {
    color: var(--fbc);
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    letter-spacing: normal;
    padding: 2px 0;
    text-align: center;
}

#wp-calendar td.pad:hover {
    background: var(--highc);
}

#wp-calendar td:hover, #wp-calendar #today {
    background: #eee;
    color: #bbb;
}

#wp-calendar th {
    font-style: normal;
    text-transform: capitalize;
}


/* "math" styled fractions */
span.frac {
  display: inline-block;
  font-size: 75%;
  text-align: center;
}
span.frac > sup {
  display: block;
  border-bottom: 1px solid;
  font: inherit;
  top: 0.5em;
}
span.frac > span {
  display: none;
}
span.frac > sub {
  display: block;
  font: inherit;
}

