]> gitweb.mndrdr.org Git - arelpe.git/commitdiff
dark mode theme blue; some link spacing improvements; comment more legible below...
authorAidan Cornelius-Bell <[email protected]>
Sat, 16 Nov 2024 21:45:28 +0000 (08:15 +1030)
committerAidan Cornelius-Bell <[email protected]>
Sat, 16 Nov 2024 21:45:28 +0000 (08:15 +1030)
Gemfile.lock
app/assets/stylesheets/application.css
app/views/layouts/_navigation_buttons.html.erb
app/views/pubview/index.html.erb

index 0865f180174feea29e8aef7b0732d0f468f5550a..662018a0d97d714353ab9bfcf5c8d618db27fb1b 100644 (file)
@@ -77,7 +77,7 @@ GEM
     ast (2.4.2)
     base64 (0.2.0)
     bcrypt (3.1.20)
-    benchmark (0.3.0)
+    benchmark (0.4.0)
     bigdecimal (3.1.8)
     bindex (0.8.1)
     bootsnap (1.18.4)
@@ -112,10 +112,10 @@ GEM
       railties (>= 4.1.0)
       responders
       warden (~> 1.2.3)
-    devise-two-factor (6.0.0)
-      activesupport (~> 7.0)
+    devise-two-factor (6.1.0)
+      activesupport (>= 7.0, < 8.1)
       devise (~> 4.0)
-      railties (~> 7.0)
+      railties (>= 7.0, < 8.1)
       rotp (~> 6.0)
     dotenv (3.1.4)
     drb (2.2.1)
@@ -134,7 +134,7 @@ GEM
     irb (1.14.1)
       rdoc (>= 4.0.0)
       reline (>= 0.4.2)
-    json (2.7.5)
+    json (2.8.2)
     jsonapi-serializer (2.2.0)
       activesupport (>= 4.2)
     kaminari (1.2.2)
@@ -168,11 +168,11 @@ GEM
     matrix (0.4.2)
     mini_mime (1.1.5)
     minitest (5.25.1)
-    msgpack (1.7.3)
+    msgpack (1.7.5)
     multi_xml (0.7.1)
       bigdecimal (~> 3.1)
     mysql2 (0.5.6)
-    net-imap (0.5.0)
+    net-imap (0.5.1)
       date
       net-protocol
     net-pop (0.1.2)
@@ -196,10 +196,10 @@ GEM
       racc (~> 1.4)
     orm_adapter (0.5.0)
     parallel (1.26.3)
-    parser (3.3.5.1)
+    parser (3.3.6.0)
       ast (~> 2.4.1)
       racc
-    psych (5.1.2)
+    psych (5.2.0)
       stringio
     public_suffix (6.0.1)
     puma (6.4.3)
@@ -210,9 +210,8 @@ GEM
       rack (>= 3.0.0)
     rack-test (2.1.0)
       rack (>= 1.3)
-    rackup (2.1.0)
+    rackup (2.2.1)
       rack (>= 3)
-      webrick (~> 1.8)
     rails (7.2.2)
       actioncable (= 7.2.2)
       actionmailbox (= 7.2.2)
@@ -248,14 +247,14 @@ GEM
       psych (>= 4.0.0)
     redcarpet (3.6.0)
     regexp_parser (2.9.2)
-    reline (0.5.10)
+    reline (0.5.11)
       io-console (~> 0.5)
     responders (3.1.1)
       actionpack (>= 5.2)
       railties (>= 5.2)
     rexml (3.3.9)
     rotp (6.3.0)
-    rouge (4.4.0)
+    rouge (4.5.1)
     rqrcode (2.2.0)
       chunky_png (~> 1.0)
       rqrcode_core (~> 1.0)
@@ -270,12 +269,12 @@ GEM
       rubocop-ast (>= 1.32.2, < 2.0)
       ruby-progressbar (~> 1.7)
       unicode-display_width (>= 2.4.0, < 3.0)
-    rubocop-ast (1.33.0)
+    rubocop-ast (1.36.1)
       parser (>= 3.3.1.0)
     rubocop-minitest (0.36.0)
       rubocop (>= 1.61, < 2.0)
       rubocop-ast (>= 1.31.1, < 2.0)
-    rubocop-performance (1.22.1)
+    rubocop-performance (1.23.0)
       rubocop (>= 1.48.1, < 2.0)
       rubocop-ast (>= 1.31.1, < 2.0)
     rubocop-rails (2.27.0)
@@ -290,7 +289,7 @@ GEM
       rubocop-rails
     ruby-progressbar (1.13.0)
     rubyzip (2.3.2)
-    securerandom (0.3.1)
+    securerandom (0.3.2)
     selenium-webdriver (4.26.0)
       base64 (~> 0.2)
       logger (~> 1.4)
@@ -304,10 +303,10 @@ GEM
       actionpack (>= 6.1)
       activesupport (>= 6.1)
       sprockets (>= 3.0.0)
-    stringio (3.1.1)
-    stripe (13.1.0)
+    stringio (3.1.2)
+    stripe (13.1.2)
     thor (1.3.2)
-    timeout (0.4.1)
+    timeout (0.4.2)
     tzinfo (2.0.6)
       concurrent-ruby (~> 1.0)
     unicode-display_width (2.6.0)
@@ -319,7 +318,6 @@ GEM
       activemodel (>= 6.0.0)
       bindex (>= 0.4.0)
       railties (>= 6.0.0)
-    webrick (1.9.0)
     websocket (1.2.11)
     websocket-driver (0.7.6)
       websocket-extensions (>= 0.1.0)
index 34353511a9e6df78c7c69e0c856ef4ec5fa3f66d..e1982d3e9a64e839de5c2d6b5b59fdf989b99002 100644 (file)
@@ -76,6 +76,7 @@
 
 /* Root variables (Dark mode) */
 :root {
+    /* Original browny-dark mode
     --post-bg: #2c1e1a;
     --body-bg: #3d2a24;
     --quote-bg: #5a3d33;
     --body-text: #e8d1c0;
     --dark-text: #faf0e6;
     --light-text: #c9ae9c;
-    --code-text: #f2a76c;
+    --code-text: #f2a76c; , below new and not really improved Palmy-dark mode: */
+
+    --post-bg: #1a1f2c; /* Deep blue-grey for content areas */
+    --body-bg: #242936; /* Slightly lighter blue-grey for main background */
+    --quote-bg: #2d3340; /* Medium blue-grey for quoted content */
+    --link-color: #66aaff; /* Bright blue for links */
+    --accent-a: #3388dd; /* Primary blue */
+    --accent-b: #4499ee; /* Secondary blue */
+    --accent-c: #55aaff; /* Tertiary blue */
+    --body-text: #c5d1e6; /* Soft blue-white for main text */
+    --dark-text: #ffffff; /* Pure white for headers */
+    --light-text: #8899bb; /* Muted blue for secondary text */
+    --code-text: #77ccff; /* Bright blue for code/special text */
 }
 
 /* Light mode */
@@ -409,6 +422,10 @@ ul .pinned::before {
     color: var(--light-text);
 }
 
+.comment-separator {
+    margin-left: -1.5em;
+}
+
 .bookmark-comment {
     font-style: italic;
     color: var(--accent-b);
@@ -416,7 +433,11 @@ ul .pinned::before {
 }
 
 .bookmark-item {
-    padding-bottom: 10px;
+    padding-bottom: 15px;
+}
+
+.dispatch-item {
+    padding-bottom: 5px;
 }
 
 table {
index 2d97d25aa7307e6d4d67efda4bacd9c421c5d6a3..61956dc097d99a636764af95e93b44d50d262c18 100644 (file)
@@ -1,9 +1,9 @@
 <div class="filter-buttons">
-  <%= link_to "All", root_path(filter: 'all'), class: "button #{@filter == 'all' ? 'active' : ''}" %>
+  <%= link_to "Everything", root_path(filter: 'all'), class: "button #{@filter == 'all' ? 'active' : ''}" %>
   <%= link_to "Dispatches", root_path(filter: 'posts'), class: "button #{@filter == 'posts' ? 'active' : ''}" %>
   <%= link_to "Bookmarks", root_path(filter: 'bookmarks'), class: "button #{@filter == 'bookmarks' ? 'active' : ''}" %>
   <%= link_to "About", public_page_path("about"), class: "button #{@page.is_a?(Page) && @page.slug == 'about' ? 'active' : ''}" %>
-  
+
   <% if !current_user %>
   <%= link_to "Join mind reader", join_path, class: "button" %>
   <% else %>
@@ -11,7 +11,7 @@
   <%= link_to "My emails", mailing_lists_path, class: "button #{controller_name == 'mailing_lists' ? 'active' : ''}" %>
   <%= link_to "My profile", edit_user_registration_path, class: "button #{controller_name == 'registrations' ? 'active' : ''}" %>
   <% end %>
-  
+
   <% if current_user&.admin? %>
   <br>
   <%= link_to "Manage posts", posts_path, class: "button" %>
@@ -19,4 +19,4 @@
   <%= link_to "Manage API keys", api_keys_path, class: "button" %>
   <%= link_to "Manage users", user_manager_index_path, class: "button" %>
   <% end %>
-</div>
\ No newline at end of file
+</div>
index 8758f1034a849f04b869e136872517b9f2d896a4..f7c516746a414f88a5dbb76bf5d3ca5b7bc260a5 100644 (file)
@@ -3,7 +3,7 @@
        <%= image_tag "icon-512.png", class: "logo", alt: "mind reader logo" %>
   <% end %>
   <h1 class="header">mind reader</h1>
-  <p class="subheading"><small>Aidan’s anti-capitalist posting and sharing project</small></p> 
+  <p class="subheading"><small>An anti-capitalist blog of dispatches and links from Aidan Cornelius-Bell</small></p>
 </div>
 
 <%= render partial: "layouts/navigation_buttons" %>
@@ -29,7 +29,7 @@
                <% else %>
                  <span class="post-link">
                        <%= link_to item.title, item.url, target: "_blank" %>
-                       <abbr title="external link">&nearr;&#xFE0E;</abbr> « <span class="bookmark-comment"><%= item.content %></span> 
+                       <abbr title="external link">&nearr;&#xFE0E;</abbr> <br><span class="comment-separator">&rdsh;</span> <span class="bookmark-comment"><%= item.content %></span>
                  </span>
                  <span class="dash">&mdash;</span>
                  <span class="meta">added <%= item.created_at.strftime('%l:%M%P on %d/%m/%y') if item.created_at.present? %></span>