more tweaks

Changed files
+11 -16
app
assets
stylesheets
views
+4 -1
app/assets/stylesheets/application.css
··· 257 257 font-family: "Gudea", sans-serif !important; 258 258 border: 0 !important; 259 259 background-color: #509145 !important; 260 - font-size: 1.1rem !important;; 260 + font-size: 1.1rem !important; 261 261 margin-top: .8rem !important; 262 + border-radius: 0 !important; 263 + -moz-border-radius: 0 !important; 264 + -webkit-border-radius: 0 !important; 262 265 } 263 266 264 267 #HCB_comment_box #hcb_form .btn:active, #HCB_comment_box #HCB_comment_form_box .btn:active {
+7 -1
app/views/articles/show.himg.erb
··· 47 47 color: #509145; 48 48 font-size: .99rem; 49 49 } 50 + 51 + .himg-postbody { 52 + color: #2c3944 !important; 53 + } 50 54 </style> 51 55 </head> 52 56 ··· 56 60 57 61 <%= image_tag ActiveStorage::Blob.service.path_for(@article.icon.key) %> 58 62 59 - <p><%= @article.created_at.strftime('%Y %b %d') %>, <span class="himg-tag"><%= @article.tag.name %></span></p> 63 + <p><%= @article.created_at.strftime('%Y %b %d') %> | <span class="himg-tag"><%= @article.tag.name %></span></p> 64 + 65 + <p class="himg-postbody"><%= truncate(strip_tags(markdown(@article.body)), length: 65, separator: /\s/) %></p> 60 66 61 67 </body> 62 68
-14
app/views/articles/show.html.erb
··· 36 36 37 37 <hr> 38 38 39 - <style> 40 - #HCB_comment_box #hcb_form .home-desc, #HCB_comment_box .hcb-icon, #HCB_comment_box #hcb_msg { 41 - display: none; 42 - } 43 - 44 - #HCB_comment_box #HCB_comment_form_box { 45 - padding-bottom: 0; 46 - } 47 - 48 - #HCB_comment_box #no_comments, #HCB_comment_box h3 { 49 - margin: 0; 50 - } 51 - </style> 52 - 53 39 <div id="HCB_comment_box"><a href="http://www.htmlcommentbox.com">Comment Form</a> is loading comments...</div> 54 40 <link rel="stylesheet" type="text/css" href="https://www.htmlcommentbox.com/static/skins/bootstrap/twitter-bootstrap.css?v=0" /> 55 41 <script type="text/javascript" id="hcb"> /*<!--*/ if(!window.hcb_user){hcb_user={};} (function(){var s=document.createElement("script"), l=hcb_user.PAGE || (""+window.location).replace(/'/g,"%27"), h="https://www.htmlcommentbox.com";s.setAttribute("type","text/javascript");s.setAttribute("src", h+"/jread?page="+encodeURIComponent(l).replace("+","%2B")+"&mod=%241%24wq1rdBcg%24dwFdSm%2FyIgkbp76WCPYUu."+"&opts=16798&num=10&ts=1754231621077");if (typeof s!="undefined") document.getElementsByTagName("head")[0].appendChild(s);})(); /*-->*/ </script>