💾 Archived View for emile.space › style.css captured on 2023-09-08 at 15:54:24.

View Raw

More Information

➡️ Next capture (2023-11-04)

-=-=-=-=-=-=-


  margin: 0; padding: 0; }

/* light/darktheme specific foo */
@media (prefers-color-scheme: light) {
    html { background: #ffffff; color: #000000; }
    a:hover { color: #ffffff; background: #000000 }
    a:not([href*="webring.xxiivv.com"]):hover, nav a:active { color: #ffffff; background: #000000 }
    a { color: #000000; background: #ffffff; text-decoration: none;}
    nav a:hover, a:active { color: #ffffff; background: #000000 }
    nav { margin: 1ex 0; background: #eee; }
    nav a { display:block; background: #eee; }
    h1 { margin: 3ex 0 1ex 0; width: 100%; background-color: #eee}
    h2 { margin: 2ex 0 1ex 0; width: 100%; background-color: #eee}
    h3 { margin: 1ex 0 1ex 0; width: 100%; font-size: 1em; background-color: #eee}
    h4 { margin: 1ex 0 1ex 0; width: 100%; font-size: 1em; /*background-color: #ffffff*/}
    h5 { margin: 1ex 0 1ex 0; width: 100%; font-size: 1em; /*background-color: #ffffff*/}
    .code { border-left: 1px solid #000000; margin-left: 2ex; padding-left: 1ex; }
}
@media (prefers-color-scheme: dark) {
    html { background: #000000; color: #ffffff; }
    a:hover { color: #000000; background: #ffffff }
    body nav a:not([href*="webring.xxiivv.com"]):hover, nav a:active { color: #ffffff; background: #000000 }
    a { color: #ffffff; background: #000000; text-decoration: none; }
    nav a:hover, a:active { color: #000000; background: #ffffff }
    nav { margin: 1ex 0; background: #ffffff; }
    nav a { display:block; background: #ffffff; }
    h1 { margin: 3ex 0 1ex 0; width: 100%; background-color: #ffffff}
    h2 { margin: 2ex 0 1ex 0; width: 100%; background-color: #ffffff}
    h3 { margin: 1ex 0 1ex 0; width: 100%; font-size: 1em; background-color: #ffffff}
    h4 { margin: 1ex 0 1ex 0; width: 100%; font-size: 1em; /*background-color: #ffffff*/}
    h5 { margin: 1ex 0 1ex 0; width: 100%; font-size: 1em; /*background-color: #ffffff*/}
    .code { border-left: 1px solid #ffffff; margin-left: 2ex;  padding-left: 1ex; }
    .webring { -webkit-filter: invert(100%); filter: invert(100%); }
}

/* settings for mobile devices*/
@media only screen and (max-width: 768px) {
  body { margin: 1ex; width: calc(100% - 2ex) !important; }
  img { max-width: 100% !important; max-height: 500px; }
}
img { max-width: 100ex; max-height: 500px; }

body { margin-left: auto; margin-right: auto; margin-top: 1ex; margin-bottom: 1ex; width: 100ex; }

.webring { align: right; }
a .webring { float: right; }

/* display local links using [] and external links using {} */
body pre a:not([href*="webring.xxiivv.com"]):not([class*="local"]):before { content: "["; }
body pre a:not([href*="webring.xxiivv.com"]):not([class*="local"]):after { content: "]"; }
a[href*="//"]:not([href*="emile.space"]):not([class*="icon"]):before {
  content: '{';
}
a[href*="//"]:not([href*="emile.space"]):not([class*="icon"]):after {
  content: '}';
}


ul { list-style-type: none; }

/* navigation bar magic */
nav * { color: #000000; }
nav ul { list-style: none; position: relative; display: inline-block; }
nav ul li { display:inline-block; }
nav ul ul { display: none; position: absolute; border: 1px solid #000000; background-color: #ff0; }
nav ul ul li { width: 100%; padding-right: 1ex; float:none; display:list-item; position: relative; }
nav + ul li { display: inline-block;}

/* only display the hover dropdown on non-mobile devices */
@media only screen and (min-width: 768px) {
  nav ul li:hover a + ul { display: inherit; white-space: nowrap; }
}

/* nav bar spacing char */
nav ul li > a::after { content: " /"; }
nav ul li > a:only-child::after { content: ""; }
nav ul li:last-of-type a::after { content: ""; }

h1 a, h2 a, h3 a { padding-right: 1ex; }

pre { white-space: pre-wrap; hyphens: auto; }

/* display the list of folders in the current one as a vertical list, if the
 * .vert class is present */
nav + ul.vert li { display: block; }

.w-100 { width: 100%; }