Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Name: Zero CSS CSS
- Purpose: Protest the site-wide removal of CSS
- Created by: /u/xereeto
- Created on: 2017-05-08
- */
- /* Remove all existing styling */
- body, div, a, span, p, ul, li, form, blockquote, strong, em, del, pre, code, sup, ol, table, tr, th, td, h1, h2, h3, h4, h5, h6 {
- color: initial !important;
- opacity: initial !important;
- background: initial !important;
- background-attachment: initial !important;
- background-blend-mode: initial !important;
- background-color: initial !important;
- background-image: initial !important;
- background-position: initial !important;
- background-repeat: initial !important;
- background-clip: initial !important;
- background-origin: initial !important;
- background-size: initial !important;
- border: initial !important;
- border-bottom: initial !important;
- border-bottom-color: initial !important;
- border-bottom-left-radius: initial !important;
- border-bottom-right-radius: initial !important;
- border-bottom-style: initial !important;
- border-bottom-width: initial !important;
- border-color: initial !important;
- border-image: initial !important;
- border-image-outset: initial !important;
- border-image-repeat: initial !important;
- border-image-slice: initial !important;
- border-image-source: initial !important;
- border-image-width: initial !important;
- border-left: initial !important;
- border-left-color: initial !important;
- border-left-style: initial !important;
- border-left-width: initial !important;
- border-radius: initial !important;
- border-right: initial !important;
- border-right-color: initial !important;
- border-right-style: initial !important;
- border-right-width: initial !important;
- border-style: initial !important;
- border-top: initial !important;
- border-top-color: initial !important;
- border-top-left-radius: initial !important;
- border-top-right-radius: initial !important;
- border-top-style: initial !important;
- border-top-width: initial !important;
- border-width: initial !important;
- box-shadow: initial !important;
- bottom: initial !important;
- clear: initial !important;
- clip: initial !important;
- display: initial !important;
- float: initial !important;
- height: initial !important;
- left: initial !important;
- margin: initial !important;
- margin-bottom: initial !important;
- margin-left: initial !important;
- margin-right: initial !important;
- margin-top: initial !important;
- max-height: initial !important;
- max-width: initial !important;
- min-height: initial !important;
- min-width: initial !important;
- overflow: initial !important;
- overflow-x: initial !important;
- overflow-y: initial !important;
- padding: initial !important;
- padding-bottom: initial !important;
- padding-left: initial !important;
- padding-right: initial !important;
- padding-top: initial !important;
- position: initial !important;
- right: initial !important;
- top: initial !important;
- visibility: initial !important;
- width: initial !important;
- vertical-align: initial !important;
- z-index: initial !important;
- align-content: initial !important;
- align-items: initial !important;
- align-self: initial !important;
- flex: initial !important;
- flex-basis: initial !important;
- flex-direction: initial !important;
- flex-flow: initial !important;
- flex-grow: initial !important;
- flex-shrink: initial !important;
- flex-wrap: initial !important;
- justify-content: initial !important;
- order: initial !important;
- hanging-punctuation: initial !important;
- hyphens: initial !important;
- letter-spacing: initial !important;
- line-break: initial !important;
- line-height: initial !important;
- overflow-wrap: initial !important;
- tab-size: initial !important;
- text-align: initial !important;
- text-align-last: initial !important;
- text-indent: initial !important;
- text-justify: initial !important;
- text-transform: initial !important;
- white-space: initial !important;
- word-break: initial !important;
- word-spacing: initial !important;
- text-decoration: initial !important;
- text-decoration-color: initial !important;
- text-decoration-line: initial !important;
- text-decoration-style: initial !important;
- text-shadow: initial !important;
- text-underline-position: initial !important;
- font: initial !important;
- font-family: initial !important;
- font-size: initial !important;
- font-style: initial !important;
- font-variant: initial !important;
- font-weight: initial !important;
- direction: initial !important;
- unicode-bidi: initial !important;
- border-collapse: initial !important;
- border-spacing: initial !important;
- caption-side: initial !important;
- empty-cells: initial !important;
- table-layout: initial !important;
- counter-increment: initial !important;
- counter-reset: initial !important;
- list-style: initial !important;
- list-style-image: initial !important;
- list-style-position: initial !important;
- list-style-type: initial !important;
- animation: initial !important;
- animation-delay: initial !important;
- animation-direction: initial !important;
- animation-duration: initial !important;
- animation-fill-mode: initial !important;
- animation-iteration-count: initial !important;
- animation-name: initial !important;
- animation-play-state: initial !important;
- animation-timing-function: initial !important;
- backface-visibility: initial !important;
- perspective: initial !important;
- perspective-origin: initial !important;
- transform: initial !important;
- transform-origin: initial !important;
- transform-style: initial !important;
- transition: initial !important;
- transition-property: initial !important;
- transition-duration: initial !important;
- transition-timing-function: initial !important;
- transition-delay: initial !important;
- transition: initial !important;
- transition-property: initial !important;
- transition-duration: initial !important;
- transition-timing-function: initial !important;
- transition-delay: initial !important;
- widows: initial !important;
- orphans: initial !important;
- page-break-after: initial !important;
- page-break-before: initial !important;
- page-break-inside: initial !important;
- quotes: initial !important;
- image-orientation: initial !important;
- image-rendering: initial !important;
- image-resolution: initial !important;
- mask: initial !important;
- }
- /* Add default styling back */
- /*
- Default HTML4 stylesheet as specified by the W3C:
- https://www.w3.org/TR/CSS21/sample.html
- */
- html, address,
- blockquote,
- body, dd, div,
- dl, dt, fieldset, form,
- frame, frameset,
- h1, h2, h3, h4,
- h5, h6, noframes,
- ol, p, ul, center,
- dir, hr, menu, pre { display: block; unicode-bidi: embed !important}
- li { display: list-item !important }
- head { display: none !important }
- table { display: table !important }
- tr { display: table-row !important }
- thead { display: table-header-group !important }
- tbody { display: table-row-group !important }
- tfoot { display: table-footer-group !important }
- col { display: table-column !important }
- colgroup { display: table-column-group !important }
- td, th { display: table-cell !important }
- caption { display: table-caption !important}
- th { font-weight: bolder; text-align: center !important }
- caption { text-align: center !important}
- body { margin: 8px !important}
- h1 { font-size: 2em; margin: .67em 0 !important}
- h2 { font-size: 1.5em; margin: .75em 0 !important}
- h3 { font-size: 1.17em; margin: .83em 0 !important}
- h4, p,
- blockquote, ul,
- fieldset, form,
- ol, dl, dir,
- menu { margin: 1.12em 0 !important}
- h5 { font-size: .83em; margin: 1.5em 0 !important}
- h6 { font-size: .75em; margin: 1.67em 0 !important}
- h1, h2, h3, h4,
- h5, h6, b,
- strong { font-weight: bolder !important}
- blockquote { margin-left: 40px; margin-right: 40px !important}
- i, cite, em,
- var, address { font-style: italic !important}
- pre, tt, code,
- kbd, samp { font-family: monospace !important}
- pre { white-space: pre !important}
- button, textarea,
- input, select { display: inline-block !important}
- big { font-size: 1.17em !important}
- small, sub, sup { font-size: .83em !important}
- sub { vertical-align: sub !important}
- sup { vertical-align: super !important}
- table { border-spacing: 2px !important}
- thead, tbody,
- tfoot { vertical-align: middle !important}
- td, th, tr { vertical-align: inherit !important}
- s, strike, del { text-decoration: line-through!important }
- hr { border: 1px inset !important}
- ol, ul, dir,
- menu, dd { margin-left: 40px !important }
- ol { list-style-type: decimal !important}
- ol ul, ul ol,
- ul ul, ol ol { margin-top: 0; margin-bottom: 0 !important}
- u, ins { text-decoration: underline !important}
- center { text-align: center !important}
- :link, :visited { text-decoration: underline !important}
- :focus { outline: thin dotted invert !important}
- /* Fix colour of hyperlinks */
- a {
- color: blue !important;
- text-decoration: underline !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement