fix: Distinguish blockquote styles
This commit is contained in:
		
							parent
							
								
									3b5aeaed52
								
							
						
					
					
						commit
						986c91927b
					
				
					 3 changed files with 18 additions and 1 deletions
				
			
		|  | @ -67,6 +67,17 @@ h2 { | |||
|     margin-bottom: var(--vspace); | ||||
| } | ||||
| 
 | ||||
| .blockquote { | ||||
|     @apply border-left border-light italic; | ||||
|     padding-left: calc(1rem - 1px); | ||||
| } | ||||
| 
 | ||||
| /* Link Log */ | ||||
| 
 | ||||
| .link-log-body { | ||||
|     margin-left: 2rem; | ||||
| } | ||||
| 
 | ||||
| /* Code Highlighting */ | ||||
| 
 | ||||
| code { | ||||
|  |  | |||
|  | @ -64,8 +64,10 @@ defmodule PreDotHn.LinkLog do | |||
|       <%= for link <- @links do %> | ||||
|         <div style="margin-bottom: 1rem"> | ||||
|           <a class="text-ellipsis overflow-hidden inline-block" href={link["url"]}>🔗 <%= link["name"] %></a> | ||||
|           <div class="link-log-body"> | ||||
|             <%= {:safe, Markdown.render(link["summary"])} %> | ||||
|           </div> | ||||
|         </div> | ||||
|       <% end %> | ||||
|       """ | ||||
|       |> rendered_to_string() | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| - url: https://allpoetry.com/poem/14374597-The-Homework-Machine-by-Shel-Silverstein | ||||
|   name: "Shel Silverstein: The Homework Machine" | ||||
|   summary: | | ||||
|     It appears that Shel Silverstein predicted ChatGPT all the way back in 1981. | ||||
| - url: https://fromjason.xyz/p/notebook/any-technology-indistinguishable-from-magic-is-hiding-something/ | ||||
|   name: "Jason Velazquez: Any Technology Indistinguishable From Magic is Hiding Something" | ||||
|   summary: | | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Robert Prehn
						Robert Prehn