/* Vars */ :root { --text: #111; --galleryborder: #111; --separator: rgb(220, 220, 220); --content-width: 100%; --background: rgb(255, 255, 255); --main-background: clear; --accent: #2779ff; --smallfontsize: 0.8125em; } /* Colors */ @media (prefers-color-scheme: dark) { :root { --text: #ccc; --galleryborder: none; --separator: rgba(255, 255, 255, 0.2); --background: rgb(20, 20, 20); } .logo { filter: invert(89%) sepia(32%) saturate(1%) hue-rotate(46deg) brightness(94%) contrast(93%); } img { opacity: 0.9; } } /* Global stylesheet */ * { box-sizing: border-box; } html, body { padding: 0; margin: 0; color: var(--text); background-color: var(--background); font-family: -apple-system, system-ui, sans-serif; } p, li { line-height: 1.45; } a[href] { color: var(--text); } a[href]:hover { color: var(--accent); } header:after { content: ""; display: table; clear: both; } hr { border: none; border-top: 1px dashed var(--separator); } table { margin: 1em 0; } table td, table th { padding-right: 1em; } table { border-collapse: collapse; } td { border: 1px solid; padding: 0.25em; } pre, code { font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace; line-height: 1.5; } pre { font-size: 14px; line-height: 1.375; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; -moz-tab-size: 2; -o-tab-size: 2; tab-size: 2; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; padding: 1em; margin: .5em 0; background-color: #f6f6f6; } code { word-break: break-all; } blockquote { border-left: 1px solid var(--separator); padding-left: 1rem; margin: 1em; } blockquote a { text-decoration: none; } /* Page Grid */ html, body { height: 100%; } body { min-height: 100%; display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; grid-template-areas: "header" "bread" "container" "footer"; gap: 0 0; } @media (min-width: 575px) { :root { --content-width: 575px; } } /* Page Grid Cells */ header { grid-area: header; } .breadcrumb { grid-area: bread; } .container { grid-area: container; display: grid; grid-template-columns: 1fr var(--content-width) 1fr; grid-template-rows: auto; grid-template-areas: "lead-sidebar main trail-sidebar"; } footer { grid-area: footer; } main { grid-area: main; padding: 0 1em; margin: 2em 0; } main > *:first-child { margin-top: 0; } main > *:last-child { margin-bottom: 0; } .lead-sidebar { grid-area: lead-sidebar; } .lead-sidebar ul { padding: 0 1em; list-style: none; } .lead-sidebar ul a { text-decoration: none; } .trail-sidebar { grid-area: trail-sidebar; } .button { width: 130px; border: 1px solid var(--separator); padding: 0.5em 0.5em; text-align: center; text-decoration: none; display: inline-block; border-radius: 0.5em; } .button:hover { border-color: var(--accent); } /* Header */ header { display: flex; flex-direction: row; align-items: center; border-bottom: 1px dashed var(--separator); padding: 1em; } #logo { height: 2.5rem; margin-right: 2em; } /* Nav */ nav ul { padding: 0; margin: 0; list-style: none; } .nav-item { display: inline-block; margin-right: 1em; } .nav-item a[href] { text-decoration: none; } /* Breadcrumb */ .breadcrumb { padding: 1em; border-bottom: 1px dashed var(--separator); font-size: var(--smallfontsize); } .breadcrumb>ul { list-style: none; display: flex; margin: 0; padding: 0; } .breadcrumb li+li:before { margin: 0.5em; } .breadcrumb li+li:before { content: "›"; } .breadcrumb li a { text-decoration: none; } /* Release List */ .releaselist { list-style: none; padding: 0; } .releaselist h2 { margin-bottom: 0; font-size: 1rem; } .releaselist-item { } .releaselist-item>ul { padding: 0; margin: 1em 0; } .releaselist-date { font-size: 0.8125em; word-spacing: -0.5px; color: var(--text); } .releaselist-download { padding-right: .25em; text-underline-position: from-font; text-underline-offset: 0; text-decoration-thickness: 1px; } .releaselist li.sparkle-installed-version { opacity: 0.5; } .releaselist li.sparkle-installed-version ~ li { display: none; } /* Footer */ footer { padding: 1em 0 1em 0; border-top: 1px dashed var(--separator); } footer ul { padding: 0; margin: 0; list-style: none; } footer p { margin: 0; } footer a { text-decoration: none; } /* Posts list */ .postlist { list-style: none; padding: 0; } .postlist-item { display: flex; flex-wrap: wrap; align-items: baseline; line-height: 1.8; } .postlist-item i { margin-right: 0.25em; } .postlist-date, .postlist-item:before { font-size: var(--smallfontsize); /* 13px /16 */ color: var(--text); } .postlist-date { word-spacing: -0.5px; } .postlist-link { font-weight: bold; padding-right: .25em; text-underline-position: from-font; text-underline-offset: 0; text-decoration-thickness: 1px; } .postlist-item-active .postlist-link { font-weight: bold; } .tmpl-post img { width: 100%; } /* Newsletter */ #subscribeform { font-size: 1rem; } #subscribeform button { color: var(--text); background: none; font-size: 1rem; margin-right: 0.5rem; } #subscribeform p { margin: 0; padding: 0; font-size: var(--smallfontsize); } #subscribeform input[type=email] { width: 100%; padding: 0.5em 0.5em; margin: 0.5em 0; box-sizing: border-box; border: 1px solid var(--separator); font-size: 1rem; background: none; } /* Apps */ .app-card { margin: 2em 0; } .app-card h2 { margin-bottom: 0; } .app-card h3 { margin-top: 0.1em; font-weight: 400; } .app-header { display: grid; grid-template-columns: auto 1fr; gap: 0px 1em; margin-top: 0em; } .app-header>img { grid-column: 1; width: 96px; } .app-header>div h1 { font-size: 2em; margin-top: 15px; margin-bottom: 0; } .app-header>div h2 { margin-top: 0.1em; font-weight: 400; } .app-buttons .button { margin-right: 0.5em; } .learn-more img { vertical-align: text-top; padding-bottom: 0.5em; } .terms { font-size: smallfontsize; } #bikePromoMovie iframe { //border: 1px solid var(--separator); border-radius: 0.5em; } img.jesse { border: 1px solid var(--galleryborder); max-width: 100%; object-fit: cover; width: 40%; height: 40%; } .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); grid-auto-rows: 100px; grid-gap: 0.5em; align-items: stretch; } .gallery picture > img { border: 1px solid var(--galleryborder); max-width: 100%; object-fit: cover; width: 100%; height: 100%; } .halfGallery { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: 125px; grid-gap: 0.5em; //align-items: stretch; } .halfGallery picture > img { border: 1px solid var(--galleryborder); width: 100%; height: auto; //max-width: 100%; //width: 100%; //height: 100%; } .screensgallery { display: grid; grid-template-columns: 1fr; grid-gap: 1em; } .screensgallery picture>img { border: 1px solid var(--galleryborder); width: 100%; height: auto; }