style cleanup

Changed files
+30 -6
app
assets
stylesheets
views
+13 -1
app/assets/stylesheets/application.css
··· 37 37 min-height: 800px; 38 38 max-height: 10000px; 39 39 margin: auto auto 1em auto; 40 + font-family: 'Gudea', sans-serif !important; 40 41 padding: 1em; 41 42 text-align:left; 42 43 color: #2c3944 !important; ··· 48 49 49 50 a:link, a:link:active, a:visited, a:visited:active { 50 51 color: #509145; 51 - font-family: inherit; 52 52 } 53 53 54 54 a:hover { 55 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; 56 60 } 57 61 58 62 ::selection { ··· 172 176 .pbody code.inline { 173 177 font-family: 'Gudea', sans-serif; 174 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: '> '; 175 187 } 176 188 177 189 .pbody code {
+12
app/views/articles/index.html.erb
··· 41 41 42 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 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 + 44 56 <h4>2024</h4> 45 57 46 58 <ul>
+3 -3
app/views/articles/show.html.erb
··· 7 7 <% end %> 8 8 9 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> 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 11 <button class="tinylytics_kudos"></button> 12 12 </div> 13 13 14 14 <div class="pbody"><%== markdown(@article.body) %></div> 15 15 16 16 <% if user_signed_in? %> 17 - <p> 17 + <p class="pbody"> 18 18 <%= link_to "edit", edit_article_path(@article) %> | 19 19 <%= link_to "destroy", article_path(@article), data: { 20 20 turbo_method: :delete, ··· 26 26 27 27 <hr> 28 28 29 - <p> 29 + <p class="pbody"> 30 30 <%= link_to "home", articles_path %> | <a href="/profiles/1">me</a> 31 31 </p> 32 32
+2 -2
app/views/profiles/show.html.erb
··· 15 15 <div class="pbody"><%== @profile.bio %></div> 16 16 17 17 <% if user_signed_in? %> 18 - <p> 18 + <p class="pbody"> 19 19 <%= link_to "edit", edit_profile_path(id: current_user) %></li> 20 20 </p> 21 21 <% else %> ··· 23 23 24 24 <hr> 25 25 26 - <p> 26 + <p class="pbody"> 27 27 <%= link_to "home", articles_path %> 28 28 </p> 29 29