From 707e9fc64137d016524ff189a7ce858600493751 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Sat, 21 Sep 2024 10:09:12 -0500 Subject: [PATCH] Replace Twitter feed with Mastodon See jruby/jruby#8313 --- _layouts/home.html | 26 +++++++++++++++++++------- images/mastodon-logo-purple.svg | 10 ++++++++++ stylesheets/main.css | 8 ++++---- 3 files changed, 33 insertions(+), 11 deletions(-) create mode 100644 images/mastodon-logo-purple.svg diff --git a/_layouts/home.html b/_layouts/home.html index 72afec89..d8497263 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -4,6 +4,7 @@ {% include head.html %} + {% include menu.html %} @@ -36,16 +37,27 @@

InfoWorld 2010 Bossie Awards: Best of Open Source Software

-
+
- Follow us on Twitter -

Recent Tweets

-
-

- - +

Recent Toots

+ +
+
+
+
+ + +
diff --git a/images/mastodon-logo-purple.svg b/images/mastodon-logo-purple.svg new file mode 100644 index 00000000..0f8baebf --- /dev/null +++ b/images/mastodon-logo-purple.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/stylesheets/main.css b/stylesheets/main.css index 1a3952fe..337ed17b 100755 --- a/stylesheets/main.css +++ b/stylesheets/main.css @@ -326,19 +326,19 @@ a:hover, a:active { #latest h3 + p { margin-top: 0; } -#twitter ul { +#mastodon ul { list-style: none; padding: 0; } -#twitter li { +#mastodon li { margin-bottom: 1.25em; } -#twitter #twitter-link { +#mastodon #mastodon-link { margin-top: 6px; font-size: 12px; text-transform: uppercase; } -#twitter span { +#mastodon span { display: block; } #white {