A mirror of my website's source code.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

Made codeblocks pre-wrap

steve0greatness,
created on Sunday, 24 March 2024, 22:17:41 (1711318661), received on Monday, 6 May 2024, 02:55:39 (1714964139)
Author identity: Steve0Greatness <steve0greatnessiscool@gmail.com>

3769e2200d1e11b3cfdf1c21149acd86344b7232

static/src/code-blocks.css

@@ -3,7 +3,7 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            .codehilite, pre:not(.codehilite pre) code { font-size: .85rem; font-family: "mononoki", monospace; background: #272822; color: #f8f8f2; padding: 10px; display: block; }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            :any-link code:not(.codehilite code):not(pre code) { color: inherit }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            code:not(.codehilite code):not(pre code) { display: inline-block; font-family: "mononoki", monospace; background: #272822; color: #f8f8f2; padding: 5px; margin: 5px 0}
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        .codehilite pre { margin: 0; }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        .codehilite pre { margin: 0; white-space: pre-wrap }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            .codehilite .c { color: #75715e } /* Comment */
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            .codehilite .err { color: #960050; background-color: #1e0010 } /* Error */
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            .codehilite .k { color: #66d9ef } /* Keyword */