Add the {{r}} shortcode that renders a subreddit as a subtle (color only on hover) link, in monospace with no background
This commit is contained in:
		
							parent
							
								
									87e60d53f6
								
							
						
					
					
						commit
						4ca71181c7
					
				
					 2 changed files with 22 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -117,7 +117,17 @@ a:hover {
 | 
			
		|||
    text-decoration: underline;
 | 
			
		||||
    text-underline-offset: 0.12em;
 | 
			
		||||
}
 | 
			
		||||
a:visited { color: none; }
 | 
			
		||||
a:visited { color: rgb(var(--mid-blue)); }
 | 
			
		||||
 | 
			
		||||
a.hover-only {
 | 
			
		||||
    color: var(--html-color);
 | 
			
		||||
    transition: color 0.2s;
 | 
			
		||||
}
 | 
			
		||||
a.hover-only:hover {
 | 
			
		||||
    color: rgb(var(--mid-blue));
 | 
			
		||||
    text-decoration: underline;
 | 
			
		||||
    transition: color 0.2s;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
blockquote {
 | 
			
		||||
    border-inline-start: 4px solid var(--separator-color);
 | 
			
		||||
| 
						 | 
				
			
			@ -138,6 +148,14 @@ code {
 | 
			
		|||
    padding-inline: 0.6rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
code.nobg {
 | 
			
		||||
    background: none;
 | 
			
		||||
    border-radius: 0;
 | 
			
		||||
    display: inline-block;
 | 
			
		||||
    margin: 0;
 | 
			
		||||
    padding: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
figcaption {
 | 
			
		||||
    font-size: 75%;
 | 
			
		||||
    line-height: var(--body-line-height);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue