@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; color: rgb(31, 32, 31); background: rgb(241, 243, 241); padding: 0.75rem; margin: 1rem; border-radius: 0.5rem; box-shadow: rgba(0, 0, 0, 0.45) 0 0.25rem 0.2rem; transition: color 0.2s, box-shadow 0.2s; } .sub-container:hover { color: rgb(54, 63, 54); box-shadow: rgba(0, 0, 0, 0.2) 0 0.33rem 0.333rem; } .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.5s; } .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.blogtoc, ul.projecttoc { list-style-type: none; padding: 0; } ul.blogtoc li { margin: 1em 0; } .projecttoc { display: flex; flex-wrap: wrap; } ul.projecttoc li { flex: 1 0 50%; } 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.projecttoc li { flex: 1 0 100%; } } a { color: #108f10; transition: color 0.2s; } a:hover { color: #59aa59; } ::selection { color: #ffffff; background: #108f10; } @media (prefers-color-scheme: -dark) { a { color: #5fe35f; } body { background: #0d0d0d; color: #ebebeb; } ::selection { color: #0d0d0d; background: #5fe35f; } pre { border-color: #5f5f5f; } } .screenshot-grid { display:grid; grid-template-columns: auto auto auto; gap: 0.5rem; }