mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-04 10:22:44 +01:00 
			
		
		
		
	Add custom css for tests
This commit is contained in:
		
							
								
								
									
										38
									
								
								assets/css/extended/custom.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								assets/css/extended/custom.css
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
				
			|||||||
 | 
					/* Custom styles added to demo */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.twitter-tweet {
 | 
				
			||||||
 | 
					    margin: auto;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					iframe {
 | 
				
			||||||
 | 
					    border-radius: var(--radius) !important;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.home-info ul {
 | 
				
			||||||
 | 
					    padding-inline-start: 20px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.entry-cover img {
 | 
				
			||||||
 | 
					    border: 1px solid var(--border);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* line highlight fix start */
 | 
				
			||||||
 | 
					.chroma .hl {
 | 
				
			||||||
 | 
					    display: inherit;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.post-content table pre code {
 | 
				
			||||||
 | 
					    padding: 10px 0px 10px 0px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.chroma .lntd:first-of-type {
 | 
				
			||||||
 | 
					    padding-inline-start: 10px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.chroma .lntd:last-of-type {
 | 
				
			||||||
 | 
					    padding-inline-end: 10px;
 | 
				
			||||||
 | 
					    width: 100%;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* line highlight fix end */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user