about summary refs log tree commit diff
path: root/bskyembed/src/index.css
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-04-13 02:07:39 +0100
committerGitHub <noreply@github.com>2024-04-13 02:07:39 +0100
commit8e29b1f63309ef9ac2da21f62e03b66d477244e9 (patch)
treed363e6f54eb6d5effdc0d6b1e68176f8025c0361 /bskyembed/src/index.css
parent93731e6d6bd345d8f45cd560e8185a60472cdf25 (diff)
downloadvoidsky-8e29b1f63309ef9ac2da21f62e03b66d477244e9.tar.zst
[Embeds] Embed for single post (#3450)
* add bskyembed vite app

* create build script (temp until embedr is ready)

* add build output to web build

* simplify post-build step by copying everything at once

* add simple post viewer

* add butterfly logo

* add vite plugin legacy

* proper error screen

* add image embed

* add url embed

* record embed + embedwithmedia

* add list+feed embeds

* add labeller embed (just to be safe)

* fix curatelist and modlist being the wrong way around

* Add PWI opt-out

* add favicon

* improve wording of PWI

* remove padding I used for screenshots

* add disabled state to embed

* improve PWI styles by adding an icon

* remove unused prop

* rm open proxy

* [Embeds] Add CTA and add general polish - input needed! (#3454)

* add CTA, colourful icons, and bigger logo

* make hover effect smaller + add to cta

* more responsive + preserve whitespace

* add trailing newsline to deploy script

* add repost indicator

* Make butterfly link to content

* More consistent error text wording

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'bskyembed/src/index.css')
-rw-r--r--bskyembed/src/index.css34
1 files changed, 6 insertions, 28 deletions
diff --git a/bskyembed/src/index.css b/bskyembed/src/index.css
index b8c94dfb5..23457ec28 100644
--- a/bskyembed/src/index.css
+++ b/bskyembed/src/index.css
@@ -1,29 +1,7 @@
-html, body {
-	height: 100%;
-	width: 100%;
-	padding: 0;
-	margin: 0;
-	background: #FAFAFA;
-	font-family: 'Helvetica Neue', arial, sans-serif;
-	font-weight: 400;
-	color: #444;
-	-webkit-font-smoothing: antialiased;
-	-moz-osx-font-smoothing: grayscale;
-}
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
 
-* {
-	box-sizing: border-box;
-}
-
-#app {
-  height: 100%;
-  text-align: center;
-  background-color: #673ab8;
-  color: #fff;
-  font-size: 1.5em;
-  padding-top: 100px;
-}
-
-.link {
-  color: #fff;
-}
+.break-word {
+  word-break: break-word;
+}
\ No newline at end of file