mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
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://bsky.network">
12 <title>{%- block head_title -%}Bluesky{%- endblock -%}</title>
13
14 <!-- Hello Humans! API docs at https://atproto.com -->
15
16 <style>
17 /**
18 * Extend the react-native-web reset:
19 * https://github.com/necolas/react-native-web/blob/master/packages/react-native-web/src/exports/StyleSheet/initialRules.js
20 */
21 html,
22 body,
23 #root {
24 width: 100%;
25 /* To smooth any scrolling behavior */
26 -webkit-overflow-scrolling: touch;
27 margin: 0px;
28 padding: 0px;
29 /* Allows content to fill the viewport and go beyond the bottom */
30 min-height: 100%;
31 }
32 #root {
33 flex-shrink: 0;
34 flex-basis: auto;
35 flex-grow: 1;
36 display: flex;
37 flex: 1;
38 }
39
40 html {
41 /* Prevent text size change on orientation change https://gist.github.com/tfausak/2222823#file-ios-8-web-app-html-L138 */
42 -webkit-text-size-adjust: 100%;
43 height: calc(100% + env(safe-area-inset-top));
44 scrollbar-gutter: stable both-edges;
45 }
46 html, body {
47 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Liberation Sans", Helvetica, Arial, sans-serif;
48 }
49
50 #preload {
51 width: 100px;
52 position: fixed;
53 left: 50%;
54 top: 50%;
55 transform: translate(-50%, -50%);
56 }
57
58 /* Buttons and inputs have a font set by UA, so we'll have to reset that */
59 button, input, textarea {
60 font: inherit;
61 line-height: inherit;
62 }
63
64 /* Color theming */
65 /* Default will always be white */
66 :root {
67 --text: black;
68 --background: white;
69 --backgroundLight: hsl(211, 20%, 95%);
70 }
71 /* This gives us a black background when system is dark and we have not loaded the theme/color scheme values in JS */
72 @media (prefers-color-scheme: dark) {
73 :root {
74 --text: white;
75 --background: black;
76 --backgroundLight: hsl(211, 20%, 20%);
77 color-scheme: dark;
78 }
79 }
80
81 /* Overwrite those preferences with the selected theme */
82 html.theme--light {
83 --text: black;
84 --background: white;
85 --backgroundLight: hsl(211, 20%, 95%);
86 }
87 html.theme--dark {
88 --text: white;
89 --background: black;
90 --backgroundLight: hsl(211, 20%, 20%);
91 color-scheme: dark;
92 }
93 html.theme--dim {
94 --text: white;
95 --background: hsl(211, 20%, 4%);
96 --backgroundLight: hsl(211, 20%, 10%);
97 color-scheme: dark;
98 }
99
100 /* Remove autofill styles on Webkit */
101 input:autofill,
102 input:-webkit-autofill,
103 input:-webkit-autofill:hover,
104 input:-webkit-autofill:focus,
105 input:-webkit-autofill:active{
106 -webkit-background-clip: text;
107 -webkit-text-fill-color: var(--text);
108 transition: background-color 5000s ease-in-out 0s;
109 box-shadow: inset 0 0 20px 20px var(--background);
110 background: var(--background);
111 color: var(--text);
112 }
113 /* Force left-align date/time inputs on iOS mobile */
114 input::-webkit-date-and-time-value {
115 text-align: left;
116 }
117
118 body {
119 display: flex;
120 /* Allows you to scroll below the viewport; default value is visible */
121 overflow-y: auto;
122 overscroll-behavior-y: none;
123 text-rendering: optimizeLegibility;
124 background-color: var(--background);
125 -webkit-font-smoothing: antialiased;
126 -moz-osx-font-smoothing: grayscale;
127 -ms-overflow-style: scrollbar;
128 font-synthesis-weight: none;
129 }
130
131 /* Remove default link styling */
132 a {
133 color: inherit;
134 }
135 a[role="link"]:hover {
136 text-decoration: underline;
137 }
138 a[role="link"][data-no-underline="1"]:hover {
139 text-decoration: none;
140 }
141
142 /* Styling hacks */
143 *[data-word-wrap] {
144 word-break: break-word;
145 }
146 *[data-stable-gutters] {
147 scrollbar-gutter: stable both-edges;
148 }
149
150 /* ProseMirror */
151 .ProseMirror {
152 font: 18px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Liberation Sans", Helvetica, Arial, sans-serif;
153 min-height: 140px;
154 }
155 .ProseMirror-dark {
156 color: white;
157 }
158 .ProseMirror p {
159 margin: 0;
160 }
161 .ProseMirror p.is-editor-empty:first-child::before {
162 color: #8d8e96;
163 content: attr(data-placeholder);
164 float: left;
165 height: 0;
166 pointer-events: none;
167 }
168 .ProseMirror .mention {
169 color: #0085ff;
170 }
171 .ProseMirror a,
172 .ProseMirror .autolink {
173 color: #0085ff;
174 }
175 /* OLLIE: TODO -- this is not accessible */
176 /* Remove focus state on inputs */
177 .ProseMirror-focused {
178 outline: 0;
179 }
180 textarea:focus,
181 input:focus {
182 outline: 0;
183 }
184 .tippy-content .items {
185 width: fit-content;
186 }
187
188 /* Tooltips */
189 [data-tooltip] {
190 position: relative;
191 z-index: 10;
192 }
193 [data-tooltip]::after {
194 content: attr(data-tooltip);
195 display: none;
196 position: absolute;
197 bottom: 0;
198 left: 50%;
199 transform: translateY(100%) translateY(8px) translateX(-50%);
200 padding: 4px 10px;
201 border-radius: 10px;
202 background: var(--backgroundLight);
203 color: var(--text);
204 text-align: center;
205 white-space: nowrap;
206 font-size: 12px;
207 z-index: 10;
208 }
209 [data-tooltip]::before {
210 content: '';
211 display: none;
212 position: absolute;
213 border-bottom: 6px solid var(--backgroundLight);
214 border-left: 6px solid transparent;
215 border-right: 6px solid transparent;
216 bottom: 0;
217 left: 50%;
218 transform: translateY(100%) translateY(2px) translateX(-50%);
219 z-index: 10;
220 }
221 [data-tooltip]:hover::after,
222 [data-tooltip]:hover::before {
223 display:block;
224 }
225
226 /* NativeDropdown component */
227 .radix-dropdown-item:focus,
228 .nativeDropdown-item:focus {
229 outline: none;
230 }
231
232 /* Spinner component */
233 @keyframes rotate {
234 0% {
235 transform: rotate(0deg);
236 }
237 100% {
238 transform: rotate(360deg);
239 }
240 }
241 .rotate-500ms {
242 position: absolute;
243 inset:0;
244 animation: rotate 500ms linear infinite;
245 }
246
247 @keyframes avatarHoverFadeIn {
248 from { opacity: 0; }
249 to { opacity: 1; }
250 }
251
252 @keyframes avatarHoverFadeOut {
253 from { opacity: 1; }
254 to { opacity: 0; }
255 }
256
257 .force-no-clicks > *,
258 .force-no-clicks * {
259 pointer-events: none !important;
260 }
261 </style>
262 </style>
263 {% include "scripts.html" %}
264 <link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
265 <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
266 <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
267 <link rel="mask-icon" href="/static/safari-pinned-tab.svg" color="#1185fe">
268 <meta name="theme-color">
269 <meta name="application-name" content="Bluesky">
270 <meta name="generator" content="bskyweb">
271 <meta property="og:site_name" content="Bluesky Social" />
272 <link type="application/activity+json" href="" />
273
274 {% block html_head_extra -%}{%- endblock %}
275</head>
276<body>
277{%- block body_all %}
278 <div id="root">
279 <div id="preload">
280 <!-- Bluesky SVG -->
281 <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>
282 </div>
283 </div>
284
285 <noscript>
286 <h1 lang="en">JavaScript Required</h1>
287 <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.
288 <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>.
289 {% block noscript_extra %}{% endblock %}
290 </noscript>
291{% endblock -%}
292</body>
293</html>