Skip to content

Instantly share code, notes, and snippets.

@Fanreza
Last active September 30, 2022 01:31
Show Gist options
  • Save Fanreza/7d9695aea0a2812ed3507ffd3c44afe7 to your computer and use it in GitHub Desktop.
Save Fanreza/7d9695aea0a2812ed3507ffd3c44afe7 to your computer and use it in GitHub Desktop.
Override tailwind reset ( when using WYSIWYG tool )
/* Tailwind Override */
h1 {
display: block;
font-size: 2em;
margin-top: 0.67em;
margin-bottom: 0.67em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
}
h2 {
display: block;
font-size: 1.5em;
margin-top: 0.83em;
margin-bottom: 0.83em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
}
h3 {
display: block;
font-size: 1.17em;
margin-top: 1.33em;
margin-bottom: 1.33em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
}
h4 {
display: block;
font-size: 1em;
margin-top: 1.67em;
margin-bottom: 1.67em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
}
h5 {
display: block;
font-size: 0.83em;
margin-top: 2.33em;
margin-bottom: 2.33em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
}
h6 {
display: block;
font-size: 0.67em;
margin-top: 2.67em;
margin-bottom: 2.67em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
}
a:not(.no-underline) {
text-decoration: underline;
}
a:visited {
color: green;
}
ul {
list-style-type: disc;
padding-left: 1rem;
}
ol {
list-style-type: decimal;
padding-left: 1rem;
}
pre {
display: inline-block;
width: 100%;
vertical-align: top;
font-family: monospace;
font-size: 1.5em;
padding: 0.5em;
white-space: pre;
background-color: #eee;
overflow-x: auto;
}
blockquote {
border: 0 solid #ccc;
border-left-width: 0px;
border-left-width: 0.3em;
margin-left: 0.3em;
padding-left: 0.6em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment