Bluesky app fork with some witchin' additions 馃挮
at feat/tealfm 166 lines 5.7 kB view raw
1<!DOCTYPE html> 2<html> 3<head> 4 <meta charset="UTF-8"> 5 <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, viewport-fit=cover"> 6 <meta name="referrer" content="origin-when-cross-origin"> 7 <!-- 8 Preconnect to essential domains 9 --> 10 <link rel="preconnect" href="https://bsky.social"> 11 <link rel="preconnect" href="https://go.bsky.app"> 12 <title>{%- block head_title -%}Bluesky{%- endblock -%}</title> 13 14 <!-- Hello Humans! API docs at https://atproto.com --> 15 16 <link rel="preload" as="font" type="font/woff2" href="{{ staticCDNHost }}/static/media/InterVariable.c504db5c06caaf7cdfba.woff2" crossorigin> 17 18 <style> 19 /** 20 * Minimum styles required to render splash. 21 * 22 * ALL OTHER STYLES BELONG IN `src/style.css` 23 * 24 * THIS NEEDS TO BE DUPLICATED IN `bskyweb/templates/base.html` 25 */ 26 @font-face { 27 font-family: 'InterVariable'; 28 src: url("{{ staticCDNHost }}/static/media/InterVariable.c504db5c06caaf7cdfba.woff2") format('woff2'); 29 font-weight: 300 1000; 30 font-style: normal; 31 font-display: swap; 32 } 33 @font-face { 34 font-family: 'InterVariableItalic'; 35 src: url("{{ staticCDNHost }}/static/media/InterVariable-Italic.01dcbad1bac635f9c9cd.woff2") format('woff2'); 36 font-weight: 300 1000; 37 font-style: italic; 38 font-display: swap; 39 } 40 html, 41 body { 42 margin: 0px; 43 padding: 0px; 44 font-family: InterVariable, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Liberation Sans', Helvetica, Arial, sans-serif; 45 text-rendering: optimizeLegibility; 46 /* Platform-specific reset */ 47 -webkit-overflow-scrolling: touch; 48 -webkit-text-size-adjust: 100%; 49 -webkit-font-smoothing: antialiased; 50 -moz-osx-font-smoothing: grayscale; 51 -ms-overflow-style: scrollbar; 52 font-synthesis-weight: none; 53 } 54 :root { 55 --text: black; 56 --background: white; 57 --backgroundLight: #e2e7ee; 58 } 59 @media (prefers-color-scheme: dark) { 60 :root { 61 color-scheme: dark; 62 --text: white; 63 --background: black; 64 --backgroundLight: #222020; 65 } 66 } 67 html, 68 body, 69 #root { 70 display: flex; 71 flex: 1 0 auto; 72 min-height: 100%; 73 width: 100%; 74 } 75 html.theme--light, 76 html.theme--light body, 77 html.theme--light #root { 78 background-color: white; 79 --text: black; 80 --background: white; 81 --backgroundLight: #DCE2EA; 82 } 83 html.theme--dark, 84 html.theme--dark body, 85 html.theme--dark #root { 86 color-scheme: dark; 87 background-color: black; 88 --text: white; 89 --background: black; 90 --backgroundLight: #222020; 91 } 92 html.theme--dim, 93 html.theme--dim body, 94 html.theme--dim #root { 95 color-scheme: dark; 96 background-color: #222020; 97 --text: white; 98 --background: #222020; 99 --backgroundLight: #2C3A4E; 100 } 101 #splash { 102 display: flex; 103 position: fixed; 104 top: 0; 105 bottom: 0; 106 left: 0; 107 right: 0; 108 align-items: center; 109 justify-content: center; 110 } 111 #splash svg { 112 position: relative; 113 top: -50px; 114 width: 100px; 115 } 116 /** 117 * We need these styles to prevent shifting due to scrollbar show/hide on 118 * OSs that have them enabled by default. This also handles cases where the 119 * screen wouldn't otherwise scroll, and therefore hide the scrollbar and 120 * shift the content, by forcing the page to show a scrollbar. 121 */ 122 body { 123 width: 100%; 124 overflow-y: scroll; 125 } 126 </style> 127 <script> 128 const theme = localStorage.getItem('ALF_THEME') 129 if (theme) { 130 document.documentElement.classList.add(`theme--${theme}`) 131 } 132 </script> 133 134 {% include "scripts.html" %} 135 <link rel="apple-touch-icon" sizes="180x180" href="{{ staticCDNHost }}/static/apple-touch-icon.png"> 136 <link rel="icon" type="image/png" sizes="32x32" href="{{ staticCDNHost }}/static/favicon-32x32.png"> 137 <link rel="icon" type="image/png" sizes="16x16" href="{{ staticCDNHost }}/static/favicon-16x16.png"> 138 <link rel="mask-icon" href="{{ staticCDNHost }}/static/safari-pinned-tab.svg" color="#ED5345"> 139 <meta name="theme-color"> 140 <meta name="application-name" content="Witchsky"> 141 <meta name="generator" content="bskyweb"> 142 <meta property="og:site_name" content="Witchsky Social"> 143 <meta property="og:logo" content="{{ favicon }}"> 144 <meta name="twitter:site" content="@bluesky" /> 145 <link type="application/activity+json" href="" /> 146 147 {% block html_head_extra -%}{%- endblock %} 148</head> 149<body> 150{%- block body_all %} 151 <div id="root"> 152 <div id="splash"> 153 <!-- Bluesky SVG --> 154 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 320"><path fill="#0085ff" d="M180 142c-16.3-31.7-60.7-90.8-102-120C38.5-5.9 23.4-1 13.5 3.4 2.1 8.6 0 26.2 0 36.5c0 10.4 5.7 84.8 9.4 97.2 12.2 41 55.7 55 95.7 50.5-58.7 8.6-110.8 30-42.4 106.1 75.1 77.9 103-16.7 117.3-64.6 14.3 48 30.8 139 116 64.6 64-64.6 17.6-97.5-41.1-106.1 40 4.4 83.5-9.5 95.7-50.5 3.7-12.4 9.4-86.8 9.4-97.2 0-10.3-2-27.9-13.5-33C336.5-1 321.5-6 282 22c-41.3 29.2-85.7 88.3-102 120Z"/></svg><!-- TODO: Xan: Replace with Witchsky logo --> 155 </div> 156 </div> 157 158 <noscript> 159 <h1 lang="en">JavaScript Required</h1> 160 <p lang="en">This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is. 161 <p lang="en">Learn more about Bluesky at <a href="https://bsky.social">bsky.social</a> and <a href="https://atproto.com">atproto.com</a>. 162 {% block noscript_extra %}{% endblock %} 163 </noscript> 164{% endblock -%} 165</body> 166</html>