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

Added more space around inline-codeblocks, + less use of !important.

steve0greatness,
created on Tuesday, 6 February 2024, 22:03:28 (1707257008), received on Monday, 6 May 2024, 02:55:37 (1714964137)
Author identity: Steve0Greatness <steve0greatnessiscool@gmail.com>

0ac7f8e57c50e5a44266aa40bf34e897f8ee2e23

static/src/code-blocks.css

@@ -1,8 +1,8 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            @import url("/fonts/mononoki/mononoki.css");
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            .codehilite .hll { background-color: #49483e }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            .codehilite, pre:not(.codehilite pre) code { font-size: .85rem; font-family: "mononoki", monospace; background: #272822; color: #f8f8f2; padding: 10px; display: block; }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        :any-link code { color: inherit !important }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        code:not(.codehilite code):not(pre code) { font-family: "mononoki", monospace; background: #272822; color: #f8f8f2; padding: 5px }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        :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 .c { color: #75715e } /* Comment */
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            .codehilite .err { color: #960050; background-color: #1e0010 } /* Error */
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -71,4 +71,4 @@ code:not(.codehilite code):not(pre code) { font-family: "mononoki", monospace; b

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            .codehilite .vg { color: #f8f8f2 } /* Name.Variable.Global */
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            .codehilite .vi { color: #f8f8f2 } /* Name.Variable.Instance */
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            .codehilite .vm { color: #f8f8f2 } /* Name.Variable.Magic */
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        .codehilite .il { color: #ae81ff } /* Literal.Number.Integer.Long */
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        .codehilite .il { color: #ae81ff } /* Literal.Number.Integer.Long */