style cleanup

Changed files
+30 -6
app
assets
stylesheets
views
+13 -1
app/assets/stylesheets/application.css
··· 37 min-height: 800px; 38 max-height: 10000px; 39 margin: auto auto 1em auto; 40 padding: 1em; 41 text-align:left; 42 color: #2c3944 !important; ··· 48 49 a:link, a:link:active, a:visited, a:visited:active { 50 color: #509145; 51 - font-family: inherit; 52 } 53 54 a:hover { 55 text-decoration: none; 56 } 57 58 ::selection { ··· 172 .pbody code.inline { 173 font-family: 'Gudea', sans-serif; 174 display: inline-block; 175 } 176 177 .pbody code {
··· 37 min-height: 800px; 38 max-height: 10000px; 39 margin: auto auto 1em auto; 40 + font-family: 'Gudea', sans-serif !important; 41 padding: 1em; 42 text-align:left; 43 color: #2c3944 !important; ··· 49 50 a:link, a:link:active, a:visited, a:visited:active { 51 color: #509145; 52 } 53 54 a:hover { 55 text-decoration: none; 56 + } 57 + 58 + .pbody a:link, .pbody a:link:active, .pbody a:visited, .pbody a:visited:active, .pbody a:hover { 59 + font-family: 'Gudea', sans-serif; 60 } 61 62 ::selection { ··· 176 .pbody code.inline { 177 font-family: 'Gudea', sans-serif; 178 display: inline-block; 179 + margin-top: 0; 180 + padding-left: 0; 181 + margin-top: 0; 182 + border-left: none; 183 + } 184 + 185 + .pbody code.inline::before { 186 + content: '> '; 187 } 188 189 .pbody code {
+12
app/views/articles/index.html.erb
··· 41 42 <p><%= link_to "tags", tags_path %> | <a href="/articles.rss">rss</a> | <a href="https://github.com/xxwhirlpool/bubblegum">source</a> | <%= Article.public_count %> total articles </p> 43 44 <h4>2024</h4> 45 46 <ul>
··· 41 42 <p><%= link_to "tags", tags_path %> | <a href="/articles.rss">rss</a> | <a href="https://github.com/xxwhirlpool/bubblegum">source</a> | <%= Article.public_count %> total articles </p> 43 44 + <h4>2025</h4> 45 + 46 + <ul> 47 + <% Article.where(created_at: Date.parse("2025-01-01")..Date.parse("2025-12-31")).reverse.each do |article| %> 48 + <% unless article.archived? %> 49 + <li> 50 + <div class="article_date_text"><%= article.created_at.strftime('%Y %b %d') %></div>: <%= link_to article.title, article %> 51 + </li> 52 + <% end %> 53 + <% end %> 54 + </ul> 55 + 56 <h4>2024</h4> 57 58 <ul>
+3 -3
app/views/articles/show.html.erb
··· 7 <% end %> 8 9 <div class="article_date"> 10 - <div class="article_date_text"><%= @article.created_at.strftime('%Y %b %d') %></div> <span class="tag_link">| <%= link_to @article.tag.name, @article.tag %></span> 11 <button class="tinylytics_kudos"></button> 12 </div> 13 14 <div class="pbody"><%== markdown(@article.body) %></div> 15 16 <% if user_signed_in? %> 17 - <p> 18 <%= link_to "edit", edit_article_path(@article) %> | 19 <%= link_to "destroy", article_path(@article), data: { 20 turbo_method: :delete, ··· 26 27 <hr> 28 29 - <p> 30 <%= link_to "home", articles_path %> | <a href="/profiles/1">me</a> 31 </p> 32
··· 7 <% end %> 8 9 <div class="article_date"> 10 + <div class="article_date_text"><%= @article.created_at.strftime('%Y %b %d') %></div> <span class="tag_link">| <%= link_to @article.tag.name, @article.tag %> |</span> 11 <button class="tinylytics_kudos"></button> 12 </div> 13 14 <div class="pbody"><%== markdown(@article.body) %></div> 15 16 <% if user_signed_in? %> 17 + <p class="pbody"> 18 <%= link_to "edit", edit_article_path(@article) %> | 19 <%= link_to "destroy", article_path(@article), data: { 20 turbo_method: :delete, ··· 26 27 <hr> 28 29 + <p class="pbody"> 30 <%= link_to "home", articles_path %> | <a href="/profiles/1">me</a> 31 </p> 32
+2 -2
app/views/profiles/show.html.erb
··· 15 <div class="pbody"><%== @profile.bio %></div> 16 17 <% if user_signed_in? %> 18 - <p> 19 <%= link_to "edit", edit_profile_path(id: current_user) %></li> 20 </p> 21 <% else %> ··· 23 24 <hr> 25 26 - <p> 27 <%= link_to "home", articles_path %> 28 </p> 29
··· 15 <div class="pbody"><%== @profile.bio %></div> 16 17 <% if user_signed_in? %> 18 + <p class="pbody"> 19 <%= link_to "edit", edit_profile_path(id: current_user) %></li> 20 </p> 21 <% else %> ··· 23 24 <hr> 25 26 + <p class="pbody"> 27 <%= link_to "home", articles_path %> 28 </p> 29