2023-03-14 21:00:44 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
2023-03-14 23:30:15 +01:00
|
|
|
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
2023-05-16 00:44:10 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, viewport-fit=cover">
|
2023-03-14 21:00:44 +01:00
|
|
|
<meta name="referrer" content="origin-when-cross-origin">
|
|
|
|
<title>{%- block head_title -%}Bluesky{%- endblock -%}</title>
|
2023-03-14 23:30:15 +01:00
|
|
|
|
2023-03-14 21:00:44 +01:00
|
|
|
<!-- Hello Humans! API docs at https://atproto.com -->
|
2023-03-14 23:30:15 +01:00
|
|
|
|
2023-03-14 21:00:44 +01:00
|
|
|
<style>
|
2023-03-14 23:30:15 +01:00
|
|
|
/**
|
|
|
|
* Extend the react-native-web reset:
|
|
|
|
* https://github.com/necolas/react-native-web/blob/master/packages/react-native-web/src/exports/StyleSheet/initialRules.js
|
|
|
|
*/
|
|
|
|
html,
|
|
|
|
body,
|
|
|
|
#root {
|
|
|
|
width: 100%;
|
|
|
|
/* To smooth any scrolling behavior */
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
/* Allows content to fill the viewport and go beyond the bottom */
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
#root {
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-basis: auto;
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
/* Prevent text size change on orientation change https://gist.github.com/tfausak/2222823#file-ios-8-web-app-html-L138 */
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
height: calc(100% + env(safe-area-inset-top));
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
display: flex;
|
|
|
|
/* Allows you to scroll below the viewport; default value is visible */
|
|
|
|
overflow-y: auto;
|
|
|
|
overscroll-behavior-y: none;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
-ms-overflow-style: scrollbar;
|
|
|
|
}
|
|
|
|
/* Enable for apps that support dark-theme */
|
|
|
|
/*@media (prefers-color-scheme: dark) {
|
|
|
|
body {
|
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
|
|
|
|
/* Remove default link styling */
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
a[role="link"]:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2023-05-04 07:54:22 +02:00
|
|
|
a[role="link"][data-no-underline="1"]:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2023-03-14 23:30:15 +01:00
|
|
|
|
2023-04-14 01:36:08 +02:00
|
|
|
/* Styling hacks */
|
|
|
|
*[data-word-wrap] {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
2023-03-14 23:30:15 +01:00
|
|
|
/* ProseMirror */
|
|
|
|
.ProseMirror {
|
|
|
|
font: 18px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
|
|
min-height: 140px;
|
|
|
|
}
|
2023-04-14 01:36:08 +02:00
|
|
|
.ProseMirror-dark {
|
|
|
|
color: white;
|
|
|
|
}
|
2023-03-14 23:30:15 +01:00
|
|
|
.ProseMirror p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.ProseMirror p.is-editor-empty:first-child::before {
|
|
|
|
color: #8d8e96;
|
|
|
|
content: attr(data-placeholder);
|
|
|
|
float: left;
|
|
|
|
height: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.ProseMirror .mention {
|
|
|
|
color: #0085ff;
|
|
|
|
}
|
|
|
|
.ProseMirror a {
|
|
|
|
color: #0085ff;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2023-05-08 23:09:15 +02:00
|
|
|
/* OLLIE: TODO -- this is not accessible */
|
|
|
|
/* Remove focus state on inputs */
|
|
|
|
.ProseMirror-focused {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
input:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2023-03-14 23:30:15 +01:00
|
|
|
.tippy-content .items {
|
2023-05-08 23:09:15 +02:00
|
|
|
width: fit-content;
|
2023-03-14 23:30:15 +01:00
|
|
|
}
|
2023-03-14 21:00:44 +01:00
|
|
|
</style>
|
2023-03-14 23:30:15 +01:00
|
|
|
{% include "scripts.html" %}
|
2023-03-14 21:00:44 +01:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png"/>
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png"/>
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png"/>
|
2023-05-08 22:03:03 +02:00
|
|
|
{% block html_head_extra -%}{%- endblock %}
|
|
|
|
<meta name="application-name" name="Bluesky">
|
2023-03-14 21:00:44 +01:00
|
|
|
<meta name="generator" name="bskyweb">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{%- block body_all %}
|
2023-03-14 23:30:15 +01:00
|
|
|
<div id="root"></div>
|
2023-03-14 21:00:44 +01:00
|
|
|
<noscript>
|
2023-05-30 21:46:43 +02:00
|
|
|
<h1>JavaScript Required</h1>
|
|
|
|
<p>This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
|
2023-03-14 21:00:44 +01:00
|
|
|
<p>Learn more about Bluesky at <a href="https://blueskyweb.xyz">blueskyweb.xyz</a> and <a href="https://atproto.com">atproto.com</a>.
|
2023-05-08 22:03:03 +02:00
|
|
|
{% block noscript_extra %}{% endblock %}
|
2023-03-14 21:00:44 +01:00
|
|
|
</noscript>
|
|
|
|
{% endblock -%}
|
|
|
|
</body>
|
|
|
|
</html>
|