Guest User

unstyled.css / dredmorbius

a guest
Aug 28th, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.72 KB | None | 0 0
  1. #stylebot-page-editor, #stylebot-page-editor * {
  2.     font-family: courier, monospace;
  3.     font-size: 10pt;
  4.     line-height: 1.2;
  5. }
  6.  
  7. :active {
  8.     color: inherit;
  9. }
  10.  
  11. span, div, p {
  12.     font-size: inherit !important;
  13.     font-family: inherit !important;
  14.     color: inherit !important;
  15.     background-color: inherit !important;
  16.     background-image: none !important;
  17.     text-align: left !important;
  18. }
  19.  
  20. html {
  21.     font-size: medium !important;
  22.     line-height: 1.4 !important;
  23.     font-family: verdana, arial, sans-serif !important;
  24.     font-family: georgia, times, serif !important;
  25. }
  26.  
  27. body {
  28.     background-color: #fffff6 !important;
  29.     background-image: none !important;
  30.     color: #330 !important;
  31.     margin: 2rem auto !important;
  32.     padding: 0 2em !important;
  33.     max-width: 40em !important;
  34.     width: auto !important;
  35. }
  36.  
  37. a[href] {
  38.     color: #427fed;
  39.     color: #1e6b8c;
  40.     text-decoration: none;
  41.     transition-property: color, background-color;
  42.     transition-duration: 0.3s;
  43.     transition-timing-function: linear;
  44.     transition-delay: 0.1s;
  45.     font-size: inherit;
  46. }
  47.  
  48. a[href]:visited {
  49.     color: #6f32ad;
  50.  
  51. }
  52.  
  53. a[href]:hover {
  54.     text-decoration: underline;
  55.     background: #f0f0ff;
  56. }
  57.  
  58. a[href]:active {
  59.     background-color: #427fed;
  60.     color: #fffff6;
  61. }
  62.  
  63. h1, h2, h3, h4, h5, h6 {
  64.     color: #703820;
  65.     line-height: 1.2;
  66.     margin-top: 2em;    /* Yes, ems */
  67.     margin-bottom: 1em; /* Yes, ems */
  68.     font-weight: bold;
  69. }
  70.  
  71.  
  72.  
  73. /* Header sizes, yes, ems & styling */
  74. h1 {
  75.     font-size: 2em;
  76.     text-align: center;
  77.     counter-reset: sec2;
  78. }
  79.  
  80. h2, h3, h4, h5, h6 {
  81.     text-align: left;
  82. }
  83.  
  84. h2 {
  85.     font-size: 1.6em;
  86.     padding-bottom: 0.5em;
  87.     border-bottom: solid 0.2rem #703820;
  88.     counter-reset: sec3;
  89. }
  90.  
  91. h3 {
  92.     font-size: 1.4em;
  93.     counter-reset: sec4;
  94. }
  95.  
  96. h4 {
  97.     font-size: 1.3em;
  98.     text-decoration: underline;
  99.     counter-reset: sec5;
  100. }
  101.  
  102. h5 {
  103.     font-size: 1.2em;
  104.     font-style: italic;
  105.     counter-reset: sec6;
  106. }
  107.  
  108. h6 {
  109.     font-size: 1.1em;
  110.     margin-bottom: 0.25em;
  111. }
  112.  
  113.  
  114.  
  115. /* Additional emphasis */
  116. article > p:first-child:first-line,
  117. h1 + p:first-line,
  118. h2 + p:first-line,
  119. h3 + p:first-line {
  120.     font-weight: bold;
  121. }
  122.  
  123. /* p:first-child:first-letter, */
  124. h1 + p:first-letter,
  125. h2 + p:first-letter,
  126. article > p:first-child:first-letter,
  127. div > p:first-child:first-letter,
  128. section > p:first-child:first-letter {
  129.     color: #c33;
  130.     color: #a22;
  131.     float: left;
  132.     font-family: georgia;
  133.     font-size: 5.0em;
  134.     font-weight: bold;
  135.     line-height: 0.67;
  136.     padding-right: 0.6rem;      /* Yes, rem here */
  137.     padding-top: 0.1em;
  138.     text-shadow: 1px 1px 0px #fff, 4px 4px 0 #ddd;
  139.     transition-property: all;
  140.     transition-duration: 4s;
  141.     transition-delay: 0.1s;
  142.     transition-timing-function: linear;
  143. }
  144.  
  145. p:first-child,
  146. h1 + p,
  147. h2 + p,
  148. article > p:first-child,
  149. div > p:first-child:first-letter,
  150. section > p:first-child,
  151. .entry-content > p:first-child,
  152. .entry-content h1 + p,
  153. .entry-content h2 + p,
  154. .entry-content section > p:first-child {
  155.     min-height: 5em;
  156. }
  157.  
  158.  
  159. p, blockquote, span {
  160.     font-size: 1rem;    /* Yes, em -- relative to parent */
  161.     line-height: 1.4;
  162. }
  163.  
  164. li, dd, dt, td, th {    /* Not sure of the table elements... */
  165.     font-size: 1em; /* Yes, em -- relative to parent */
  166.     line-height: 1.4;
  167. }
  168.  
  169. pre, code, xmp {
  170.     font-family: courier, monospace;
  171.     font-size: 0.8rem;
  172.     line-height: 1.4;
  173.     white-space: pre-wrap;
  174. }
  175.  
  176. article img,
  177. #main img,
  178. .main img {
  179.     float: right;
  180.     clear: right;
  181.     padding: 10px;
  182.     margin: 20px;
  183.     border: solid 1px #888;
  184.     /* Grey */
  185.     box-shadow: 6px 10px 8px rgba(0, 0, 0, 0.7);
  186.     /* Sepia */
  187.     box-shadow: 6px 10px 8px rgba(128, 128, 96, 0.7);
  188. }
  189.  
  190. /* Disable any and all font abuse */
  191. font {
  192.     size: inherit;
  193.     color: inherit;
  194.     background: inherit;
  195.     background-color: inherit;
  196.     font-family: inherit;
  197.     font-weight: inherit;
  198. }
  199.  
  200. /* Header numbering -- only h2 - h6 */
  201.  
  202. html,
  203. main, .main, #main,
  204. content, .content, #content,
  205. header, .header, #header,
  206. footer, .footer, #footer,
  207. article, aside {
  208.     counter-reset: sec1, sec2, sec3, sec4, sec5, sec6
  209. }
  210.  
  211. h2::before { counter-increment: sec2; content: counter(sec2) ". "; }
  212. h3::before { counter-increment: sec3; content: counter(sec2) "." counter(sec3) ". "; }
  213. h4::before { counter-increment: sec4; content: counter(sec2) "." counter(sec3) "." counter(sec4) ". "; }
  214. h5::before { counter-increment: sec5; content: counter(sec2) "." counter(sec3) "." counter(sec4) "." counter(sec5) ". "; }
  215. h6::before { counter-increment: sec6; content: counter(sec2) "." counter(sec3) "." counter(sec4) "." counter(sec5) "." counter(sec6) ". "; }
Advertisement
Add Comment
Please, Sign In to add comment