@font-face { font-family: Catamaran; src: url(/fonts/catamaran.ttf); } html { overflow-y: scroll; } body { background: white; background-size: cover; background-attachment: fixed; font-family: Catamaran, sans-serif; max-width: 50em; margin: auto; padding: 0.5rem; hyphens: auto; cursor: default; } header { text-align: center; } header .title { display: block; font-size: 2em; } header .subtitle { display: block; font-size: 1.1em; } img { width: 100%; } .big-container { display: block; padding: 1rem; } .sub-container { display: block; padding: 0.75rem; margin: 1rem; transition: color 0.2s, border-color 0.2s; border: solid 1px rgb(128, 128, 128); border-radius: 0.3rem; } .sub-container:hover { color: rgb(54, 63, 54); border-color: rgb(54, 63, 54); } .sub-container .img-container { border-radius: 0.5rem; width: 100%; height: 14rem; overflow: hidden; } .img-container .img-container-child { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.2s; } .sub-container:hover .img-container-child { transform: scale(1.1); } hr { border-width: 0 0 1px 0; } p { text-align: justify; } nav ul { list-style-type: none; margin: 0; padding: 0; } nav li { display: inline-block; padding: 0 0 0 1em; } nav a { text-decoration: none; } nav li.active a { text-decoration: underline; } ul.toc { list-style-type: none; padding: 0; } ul li { margin: 1em 0; } ul.toc > li > .sub-container { display: flex; } ul.toc > li > .sub-container > div { flex: 1; display: flex; flex-direction: column; justify-content: center; } pre { border-style: ridge; border-color: #e0e0e0; margin: 1em; padding: 0.5em; max-width: 100%; overflow-x: scroll; } footer { margin-top: 4em; font-size: 0.8em; transition: opacity 0.2s; } @media (max-width: 40rem) { nav ul { float: none; } nav li { display: block; padding: 0; margin: 0.2em 0; } ul.toc > li > .sub-container { flex-direction: column; } ul.toc > li > .sub-container > div { flex: unset; } } a { color: #108f10; transition: color 0.2s; } ::selection { color: #ffffff; background: #108f10; } @media (prefers-color-scheme: dark) { a { color: rgb(123, 224, 123); } body { background: #0d0d0d; color: #ebebeb; } ::selection { color: #0d0d0d; background: #5fe35f; } pre { border-color: #5f5f5f; } .sub-container { color: rgb(123, 224, 123); border-color: rgb(78, 78, 78); } .sub-container:hover { color: rgb(150, 255, 150); border-color: rgb(120, 180, 120); } ::selection { color: #000000; background: #107f10; } } .screenshot-grid { display:grid; grid-template-columns: auto auto auto; gap: 0.5rem; }