+@charset "UTF-8";
+
+$text-color: #222;
+$link-color: #386ede;
+$visited-link-color: #551a8b;
+
+html {
+ --text-color: #222;
+ --text-background: #fafaff;
+ --light-text-color: lighten(#222, 20%);
+ --lighter-text-color: lighten(#222, 30%);
+ --header-background: #eaeaff;
+ --header-box-shadow-color: #b2987f;
+ --link-color: #386ede;
+ --visited-link-color: #551a8b;
+ --border-color: #555;
+ --note-background: #fbf7c1;
+ --blockquote-background: #eeeefd;
+ --toc-background: rgba(255, 255, 255, 0.8);
+ --toc-background-mobile: #eee;
+ --search-hit-hover-background: #eee;
+}
+
+@media (prefers-color-scheme: dark) {
+ html {
+ --text-background: #100;
+ --text-color: #eef;
+ --light-text-color: lighten(#eef, 20%);
+ --lighter-text-color: lighten(#eef, 30%);
+ --header-background: #080000;
+ --header-box-shadow-color: #211;
+ --link-color: #aaf;
+ --visited-link-color: #b767ff;
+ --border-color: #555;
+ --note-background: #331;
+ --blockquote-background: #111;
+ --toc-background: rgba(15, 15, 25, 0.8);
+ --toc-background-mobile: rgba(25, 15, 15);
+ --search-hit-hover-background: #002;
+ }
+}
+
+@import "../../../phyll/static/css/_opensans.scss";
+
+.sr-only {
+ position: absolute !important;
+ width: 1px !important;
+ height: 1px !important;
+ padding: 0 !important;
+ margin: -1px !important;
+ overflow: hidden !important;
+ clip: rect(0, 0, 0, 0) !important;
+ white-space: nowrap !important;
+ border: 0 !important;
+ background: white;
+ color: black;
+}
+
+#login {
+ input {
+ display: block;
+ width: 30em;
+ max-width: 100%;
+ }
+}
+
+body {
+ font-family: "Open Sans", sans-serif;
+ background: url(6138240034_68f81350a2_o-x.jpg) top center no-repeat fixed;
+ @media (prefers-color-scheme: dark) {
+ background-image: url(6138240034_68f81350a2_o-x-dark.jpg);
+ }
+ background-size: cover;
+ color: var(--text-color);
+ font-size: 100%;
+}
+
+a {
+ color: var(--link-color);
+ text-decoration: none;
+ border-bottom: 1px dotted var(--link-color);
+ &:visited {
+ color: var(--visited-link-color);
+ border-color: var(--visited-link-color);
+ }
+ &:hover {
+ border-bottom-style: solid;
+ }
+}
+
+header {
+ display: block;
+ margin: 0 auto;
+ padding: 0 0 0em 0;
+ max-width: 45em;
+ position: relative;
+ z-index: 10;
+ span {
+ font-weight: normal;
+ font-size: 2em;
+ text-transform: uppercase;
+ margin: 0 0 0 1em;
+ padding: 0 0.5em;
+ color: var(--light-text-color);
+ background: var(--header-background);
+ display: inline-block;
+ box-shadow: 0 0 3px 1px var(--header-box-shadow-color);
+ a {
+ border: none;
+ }
+ }
+ transform: rotate(-1deg);
+}
+
+main, footer {
+ position: relative;
+ z-index: 0;
+ margin: 0 auto;
+ padding: 1em;
+ max-width: 45em;
+ @media screen and (max-width: 50em) {
+ margin: 0;
+ }
+}
+
+main {
+ position: relative;
+ background: var(--text-background);
+ min-height: 80vh;
+ border: 1px solid var(--border-color);
+}
+
+footer {
+ border: 1px solid var(--border-color);
+ margin-top: 1em;
+ background: var(--text-background);
+ display: flex;
+ justify-content: space-between;
+ p {
+ margin: 0;
+ }
+}
+
+article {
+ h1 {
+ font-size: 1.5em;
+ }
+ h2 {
+ font-size: 1.2em;
+ margin-left: -0.9em;
+ border-left: 0.3em solid #555;
+ padding-left: 0.5em;
+ }
+ a {
+ box-shadow: inset 0 -8px 0 0 rgba(34, 27, 242, 0.1);
+ transition: box-shadow ease 0.2s;;
+ &:hover {
+ box-shadow: inset 0 -21px 0 0 rgba(34, 27, 242, 0.3);
+ }
+ }
+
+ [contenteditable=true] div.figure {
+ cursor: pointer;
+ }
+ div.figure {
+ text-align: center;
+ line-height: initial;
+ span.empty::before {
+ min-height: 50px;
+ margin: 0 auto;
+ display: block;
+ width: 90%;
+ background: #eee;
+ padding: 1rem;
+ font-size: 150px;
+ content: "(image)";
+ color: #aaa;
+ }
+ img {
+ max-width: 90%;
+ }
+ }
+ p {
+ line-height: 160%;
+ }
+ code,
+ pre.screen {
+ background: #111;
+ color: white;
+ padding: 2px;
+ overflow: scroll;
+ }
+ div.meta {
+ margin-top: 3em;
+ color: var(----lighter-text-color);
+ }
+ div.note {
+ background: var(--note-background) url(yelp-note.png) 5px 10px no-repeat;
+ clear: both;
+ margin-bottom: 0.5em;
+ position: relative;
+ top: -4em;
+ padding: 0.2em 0.5em 0.2em 2em;
+ float: right;
+ width: 15em;
+ margin-right: -19.5em;
+ p {
+ margin: 0.5em 0;
+ }
+ }
+ blockquote {
+ background: var(--blockquote-background);
+ padding: 0.1em 1em;
+ clip-path: polygon(0px 0px, 94.27% 2px, 99.63% 2.65%, 98.39% 97.48%, 10% 100%, 0% 100%, 0px 0px);
+ }
+}
+
+.latest-changes {
+ border-top: 1px solid var(--border-color);
+ padding-top: 0;
+ h3 {
+ font-weight: normal;
+ }
+ &--date {
+ font-size: 80%;
+ color: var(--light-text-color);
+ }
+}
+
+.inline-style-popup,
+.block-style-popup {
+ background: white;
+ box-shadow: 0 0 5px #666;
+ input {
+ display: none;
+ padding: 3px;
+ border: 1px inset #ccc;
+ background: white;
+ width: 0px;
+ transition: width ease 2s;
+ &.shown {
+ display: inline-block;
+ width: 400px;
+ }
+ }
+ button {
+ padding: 0 0.5em;
+ height: 2em;
+ text-align: center;
+ background: #eee;
+ border: 0px;
+ &:hover {
+ background: #ccc;
+ }
+ &[data-action=createLink] {
+ color: blue;
+ text-decoration: underline;
+ }
+ &.on {
+ background: #444;
+ color: white;
+ }
+ }
+ &.inline-style-popup button {
+ width: 2em;
+ padding: 0;
+ }
+ &.block-style-popup {
+ &.selected button {
+ display: none;
+ &.on {
+ display: block;
+ }
+ }
+ }
+}
+
+input#image-upload, input#document-upload {
+ display: none;
+}
+
+#quickedit {
+ position: sticky;
+ bottom: 10px;
+ display: flex;
+ justify-content: flex-end;
+ label {
+ display: inline-block;
+ margin-left: 6px;
+ cursor: pointer;
+ }
+ input {
+ display: none;
+ }
+
+ button,
+ span {
+ display: inline-block;
+ font-weight: normal;
+ background: white;
+ border: 1px solid #386ede;
+ box-shadow: 0 0 0 5px white;
+ padding: 1ex;
+ border-radius: 3px;
+ color: #386ede;
+ font-size: inherit;
+ letter-spacing: inherit;
+ line-height: inherit;
+ }
+ button {
+ &:hover {
+ color: white;
+ background: #386ede;
+ }
+ }
+ button.error {
+ background: red;
+ color: white;
+ &:hover {
+ background: darken(red, 10%);
+ }
+ }
+
+ input:checked + span {
+ background: #386ede;
+ color: white;
+ }
+}
+
+#search {
+ label {
+ position: absolute;
+ right: 1em;
+ }
+ #search-enable, .search-results {
+ display: none;
+ }
+ #search-enable + label::after {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ background: #eee;
+ border: 1px solid #aaa;
+ width: 2em;
+ height: 28px;
+ content: "🔍";
+ border-radius: 5px;
+ }
+ #search-enable:checked {
+ + label {
+ &::after {
+ color: black;
+ content: "×";
+ }
+ }
+ ~ .search-field {
+ height: 30px;
+ }
+ ~ .search-results {
+ display: block;
+ }
+ }
+ .search-field {
+ height: 0;
+ transition: all ease 0.2s;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+ margin-right: 50px;
+ input {
+ height: 30px;
+ }
+ }
+ .search-results {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+ li {
+ margin: 0;
+ padding: 0;
+ a {
+ display: block;
+ padding: 0.5rem 1rem;
+ border: 1px solid $link-color;
+ margin-top: -1px;
+ &:hover {
+ background: var(--search-hit-hover-background);
+ }
+ }
+ }
+ }
+}
+
+.wiki-anchor {
+ display: none;
+}
+
+article h2:hover {
+ .wiki-anchor {
+ display: inline-block;
+ box-shadow: none;
+ border: none;
+ opacity: 0.8;
+ padding-left: 0.5rem;
+ &:hover {
+ opacity: 1;
+ }
+ }
+}
+
+#toc {
+ box-sizing: border-box;
+ padding: 1em 0 1em 1em;
+ float: left;
+ width: 15em;
+ background: var(--toc-background);
+ margin-left: -17em;
+ position: sticky;
+ top: 1em;
+ ul, li {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ }
+ li {
+ margin: 0em;
+ border-right: 0.3em solid transparent;
+ padding: 5px 0.5em 5px 0;
+ &.active {
+ border-right: 0.3em solid var(--border-color);
+ }
+ }
+ a {
+ box-shadow: none;
+ }
+}
+
+@media screen and (max-width: 80em) {
+ #toc {
+ background: var(--toc-background-mobile);
+ float: none;
+ margin: 0;
+ width: auto;
+ position: static;
+ }
+ article div.note {
+ position: static;
+ float: none;
+ margin: 0;
+ width: auto;
+ }
+}