Advertisement
xereeto

No CSS CSS by /u/xereeto

May 7th, 2017
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.     Name:        Zero CSS CSS
  3.     Purpose:     Protest the site-wide removal of CSS
  4.     Created by:  /u/xereeto
  5.     Created on:  2017-05-08
  6. */  
  7. /* Remove all existing styling */
  8. 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 {
  9.     color: initial !important;
  10.     opacity: initial !important;
  11.     background: initial !important;
  12.     background-attachment: initial !important;
  13.     background-blend-mode: initial !important;
  14.     background-color: initial !important;
  15.     background-image: initial !important;
  16.     background-position: initial !important;
  17.     background-repeat: initial !important;
  18.     background-clip: initial !important;
  19.     background-origin: initial !important;
  20.     background-size: initial !important;
  21.     border: initial !important;
  22.     border-bottom: initial !important;
  23.     border-bottom-color: initial !important;
  24.     border-bottom-left-radius: initial !important;
  25.     border-bottom-right-radius: initial !important;
  26.     border-bottom-style: initial !important;
  27.     border-bottom-width: initial !important;
  28.     border-color: initial !important;
  29.     border-image: initial !important;
  30.     border-image-outset: initial !important;
  31.     border-image-repeat: initial !important;
  32.     border-image-slice: initial !important;
  33.     border-image-source: initial !important;
  34.     border-image-width: initial !important;
  35.     border-left: initial !important;
  36.     border-left-color: initial !important;
  37.     border-left-style: initial !important;
  38.     border-left-width: initial !important;
  39.     border-radius: initial !important;
  40.     border-right: initial !important;
  41.     border-right-color: initial !important;
  42.     border-right-style: initial !important;
  43.     border-right-width: initial !important;
  44.     border-style: initial !important;
  45.     border-top: initial !important;
  46.     border-top-color: initial !important;
  47.     border-top-left-radius: initial !important;
  48.     border-top-right-radius: initial !important;
  49.     border-top-style: initial !important;
  50.     border-top-width: initial !important;
  51.     border-width: initial !important;
  52.     box-shadow: initial !important;
  53.     bottom: initial !important;
  54.     clear: initial !important;
  55.     clip: initial !important;
  56.     display: initial !important;
  57.     float: initial !important;
  58.     height: initial !important;
  59.     left: initial !important;
  60.     margin: initial !important;
  61.     margin-bottom: initial !important;
  62.     margin-left: initial !important;
  63.     margin-right: initial !important;
  64.     margin-top: initial !important;
  65.     max-height: initial !important;
  66.     max-width: initial !important;
  67.     min-height: initial !important;
  68.     min-width: initial !important;
  69.     overflow: initial !important;
  70.     overflow-x: initial !important;
  71.     overflow-y: initial !important;
  72.     padding: initial !important;
  73.     padding-bottom: initial !important;
  74.     padding-left: initial !important;
  75.     padding-right: initial !important;
  76.     padding-top: initial !important;
  77.     position: initial !important;
  78.     right: initial !important;
  79.     top: initial !important;
  80.     visibility: initial !important;
  81.     width: initial !important;
  82.     vertical-align: initial !important;
  83.     z-index: initial !important;
  84.     align-content: initial !important;
  85.     align-items: initial !important;
  86.     align-self: initial !important;
  87.     flex: initial !important;
  88.     flex-basis: initial !important;
  89.     flex-direction: initial !important;
  90.     flex-flow: initial !important;
  91.     flex-grow: initial !important;
  92.     flex-shrink: initial !important;
  93.     flex-wrap: initial !important;
  94.     justify-content: initial !important;
  95.     order: initial !important;
  96.     hanging-punctuation: initial !important;
  97.     hyphens: initial !important;
  98.     letter-spacing: initial !important;
  99.     line-break: initial !important;
  100.     line-height: initial !important;
  101.     overflow-wrap: initial !important;
  102.     tab-size: initial !important;
  103.     text-align: initial !important;
  104.     text-align-last: initial !important;
  105.     text-indent: initial !important;
  106.     text-justify: initial !important;
  107.     text-transform: initial !important;
  108.     white-space: initial !important;
  109.     word-break: initial !important;
  110.     word-spacing: initial !important;
  111.     text-decoration: initial !important;
  112.     text-decoration-color: initial !important;
  113.     text-decoration-line: initial !important;
  114.     text-decoration-style: initial !important;
  115.     text-shadow: initial !important;
  116.     text-underline-position: initial !important;
  117.     font: initial !important;
  118.     font-family: initial !important;
  119.     font-size: initial !important;
  120.     font-style: initial !important;
  121.     font-variant: initial !important;
  122.     font-weight: initial !important;
  123.     direction: initial !important;
  124.     unicode-bidi: initial !important;
  125.     border-collapse: initial !important;
  126.     border-spacing: initial !important;
  127.     caption-side: initial !important;
  128.     empty-cells: initial !important;
  129.     table-layout: initial !important;
  130.     counter-increment: initial !important;
  131.     counter-reset: initial !important;
  132.     list-style: initial !important;
  133.     list-style-image: initial !important;
  134.     list-style-position: initial !important;
  135.     list-style-type: initial !important;
  136.     animation: initial !important;
  137.     animation-delay: initial !important;
  138.     animation-direction: initial !important;
  139.     animation-duration: initial !important;
  140.     animation-fill-mode: initial !important;
  141.     animation-iteration-count: initial !important;
  142.     animation-name: initial !important;
  143.     animation-play-state: initial !important;
  144.     animation-timing-function: initial !important;
  145.     backface-visibility: initial !important;
  146.     perspective: initial !important;
  147.     perspective-origin: initial !important;
  148.     transform: initial !important;
  149.     transform-origin: initial !important;
  150.     transform-style: initial !important;
  151.     transition: initial !important;
  152.     transition-property: initial !important;
  153.     transition-duration: initial !important;
  154.     transition-timing-function: initial !important;
  155.     transition-delay: initial !important;
  156.     transition: initial !important;
  157.     transition-property: initial !important;
  158.     transition-duration: initial !important;
  159.     transition-timing-function: initial !important;
  160.     transition-delay: initial !important;
  161.     widows: initial !important;
  162.     orphans: initial !important;
  163.     page-break-after: initial !important;
  164.     page-break-before: initial !important;
  165.     page-break-inside: initial !important;
  166.     quotes: initial !important;
  167.     image-orientation: initial !important;
  168.     image-rendering: initial !important;
  169.     image-resolution: initial !important;
  170.     mask: initial !important;
  171. }
  172. /* Add default styling back */
  173. /*
  174.    Default HTML4 stylesheet as specified by the W3C:
  175.    https://www.w3.org/TR/CSS21/sample.html
  176. */
  177. html, address,
  178. blockquote,
  179. body, dd, div,
  180. dl, dt, fieldset, form,
  181. frame, frameset,
  182. h1, h2, h3, h4,
  183. h5, h6, noframes,
  184. ol, p, ul, center,
  185. dir, hr, menu, pre   { display: block; unicode-bidi: embed !important}
  186. li              { display: list-item !important }
  187. head            { display: none !important }
  188. table           { display: table !important }
  189. tr              { display: table-row  !important }
  190. thead           { display: table-header-group !important }
  191. tbody           { display: table-row-group !important }
  192. tfoot           { display: table-footer-group !important }
  193. col             { display: table-column !important }
  194. colgroup        { display: table-column-group !important }
  195. td, th          { display: table-cell !important }
  196. caption         { display: table-caption !important}
  197. th              { font-weight: bolder; text-align: center !important }
  198. caption         { text-align: center !important}
  199. body            { margin: 8px !important}
  200. h1              { font-size: 2em; margin: .67em 0 !important}
  201. h2              { font-size: 1.5em; margin: .75em 0 !important}
  202. h3              { font-size: 1.17em; margin: .83em 0 !important}
  203. h4, p,
  204. blockquote, ul,
  205. fieldset, form,
  206. ol, dl, dir,
  207. menu            { margin: 1.12em 0 !important}
  208. h5              { font-size: .83em; margin: 1.5em 0 !important}
  209. h6              { font-size: .75em; margin: 1.67em 0 !important}
  210. h1, h2, h3, h4,
  211. h5, h6, b,
  212. strong          { font-weight: bolder !important}
  213. blockquote      { margin-left: 40px; margin-right: 40px !important}
  214. i, cite, em,
  215. var, address    { font-style: italic !important}
  216. pre, tt, code,
  217. kbd, samp       { font-family: monospace !important}
  218. pre             { white-space: pre !important}
  219. button, textarea,
  220. input, select   { display: inline-block !important}
  221. big             { font-size: 1.17em !important}
  222. small, sub, sup { font-size: .83em !important}
  223. sub             { vertical-align: sub !important}
  224. sup             { vertical-align: super !important}
  225. table           { border-spacing: 2px !important}
  226. thead, tbody,
  227. tfoot           { vertical-align: middle !important}
  228. td, th, tr      { vertical-align: inherit !important}
  229. s, strike, del  { text-decoration: line-through!important }
  230. hr              { border: 1px inset !important}
  231. ol, ul, dir,
  232. menu, dd        { margin-left: 40px !important }
  233. ol              { list-style-type: decimal !important}
  234. ol ul, ul ol,
  235. ul ul, ol ol    { margin-top: 0; margin-bottom: 0 !important}
  236. u, ins          { text-decoration: underline !important}
  237. center          { text-align: center !important}
  238. :link, :visited { text-decoration: underline !important}
  239. :focus          { outline: thin dotted invert !important}
  240. /* Fix colour of hyperlinks */
  241. a {
  242.     color: blue !important;
  243.     text-decoration: underline !important;
  244. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement