chore: cleanup styles
This commit is contained in:
		
							parent
							
								
									ef401a357b
								
							
						
					
					
						commit
						3db9733b73
					
				@ -1,7 +1,7 @@
 | 
			
		||||
@import 'tailwindcss/base';
 | 
			
		||||
@import 'tailwindcss/components';
 | 
			
		||||
@import 'tailwindcss/utilities';
 | 
			
		||||
@import './prism.css';
 | 
			
		||||
@import './prose.postcss';
 | 
			
		||||
 | 
			
		||||
html,
 | 
			
		||||
body,
 | 
			
		||||
@ -45,7 +45,3 @@ html.dark {
 | 
			
		||||
    hover:opacity-100 hover:text-teal-600;
 | 
			
		||||
  font-size: 0.9em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.prose pre {
 | 
			
		||||
  text-align: left;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -232,8 +232,8 @@ html.dark {
 | 
			
		||||
    color: #808080;
 | 
			
		||||
  }
 | 
			
		||||
  /*********************************************************
 | 
			
		||||
* Line highlighting
 | 
			
		||||
*/
 | 
			
		||||
   * Line highlighting
 | 
			
		||||
   */
 | 
			
		||||
  pre[data-line] {
 | 
			
		||||
    position: relative;
 | 
			
		||||
  }
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
@import './prism-vscode-light.css';
 | 
			
		||||
@import './prism-vscode-dark.css';
 | 
			
		||||
@import './prism-light.postcss';
 | 
			
		||||
@import './prism-dark.postcss';
 | 
			
		||||
 | 
			
		||||
.prose {
 | 
			
		||||
  pre[class*='language-'],
 | 
			
		||||
@ -35,4 +35,12 @@
 | 
			
		||||
    padding: 0.1em 0.3em;
 | 
			
		||||
    border-radius: 0.3em;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  pre {
 | 
			
		||||
    text-align: left;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  a code {
 | 
			
		||||
    color: inherit;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@ -30,11 +30,6 @@ module.exports = {
 | 
			
		||||
      colors: {
 | 
			
		||||
        teal: colors.teal,
 | 
			
		||||
      },
 | 
			
		||||
      opacity: {
 | 
			
		||||
        10: '0.1',
 | 
			
		||||
        50: '0.5',
 | 
			
		||||
        85: '0.85',
 | 
			
		||||
      },
 | 
			
		||||
      typography: {
 | 
			
		||||
        DEFAULT: {
 | 
			
		||||
          css: {
 | 
			
		||||
@ -47,27 +42,14 @@ module.exports = {
 | 
			
		||||
                color: colors.teal[600],
 | 
			
		||||
              },
 | 
			
		||||
            },
 | 
			
		||||
            b: {
 | 
			
		||||
              color: 'inherit',
 | 
			
		||||
            },
 | 
			
		||||
            strong: {
 | 
			
		||||
              color: 'inherit',
 | 
			
		||||
            },
 | 
			
		||||
            em: {
 | 
			
		||||
              color: 'inherit',
 | 
			
		||||
            },
 | 
			
		||||
            h1: {
 | 
			
		||||
              color: 'inherit',
 | 
			
		||||
            },
 | 
			
		||||
            h2: {
 | 
			
		||||
              color: 'inherit',
 | 
			
		||||
            },
 | 
			
		||||
            h3: {
 | 
			
		||||
              color: 'inherit',
 | 
			
		||||
            },
 | 
			
		||||
            h4: {
 | 
			
		||||
              color: 'inherit',
 | 
			
		||||
            },
 | 
			
		||||
            b: { color: 'inherit' },
 | 
			
		||||
            strong: { color: 'inherit' },
 | 
			
		||||
            em: { color: 'inherit' },
 | 
			
		||||
            h1: { color: 'inherit' },
 | 
			
		||||
            h2: { color: 'inherit' },
 | 
			
		||||
            h3: { color: 'inherit' },
 | 
			
		||||
            h4: { color: 'inherit' },
 | 
			
		||||
            code: { color: 'inherit' },
 | 
			
		||||
          },
 | 
			
		||||
        },
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user