User:Zeal/Sandbox/Templates/book.css

From Warcraft Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
 /* common.css */
 /* - Book Styling */
 div.book {
  margin: 0.5em;
 }
 div.book > div {
  border-width: 1px;
  border-style: solid;
 }
 div.book > div > h4  {
  margin: 0;
  padding: 0.2em;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  font-family: Georgia, serif;
  font-size: 1.1em;
  font-weight: bold;
 }
 div.book > div > h4 span.editsection {
  font-family: sans-serif;
  font-size: 0.91em;
 }
 div.book > div > div > div {
  margin: 0.5em;
  margin-top: 0;
  font-family: Georgia, serif;
  font-size: 0.85em;
  position: relative;
 }
 /* For IE7 because it doesn't support double-colon selectors and there's a strict mode bug with inline elements */
 div.book p:first-child:first-letter {
  line-height: 1;
  text-transform: uppercase;
  font-size: 2em;
 }
 div.book p:first-child::first-letter {
  line-height: 1;
  text-transform: uppercase;
  font-size: 2em;
  border-width: 1px;
  border-style: solid;
  padding: 1px;
 }

 /* wowwiki.css */
 /* - Book Styling */
 div.book > div {
  background-color: #2A2A2A;
  border-color: #222;
  border-right-color: #444;
  border-bottom-color: #444;
 }
 div.book > div > h4 {
  color: #FB2;
  background-color: #262626;
  border-bottom-color: #333;
 }
 div.book > div > h4 span.editsection {
  color: #EEE;
 }
 /* For IE7 because it doesn't support double-colon selectors and there's a strict mode bug with inline elements */
 div.book p:first-child:first-letter {
  color: #FB2;
 }
 div.book p:first-child::first-letter {
  color: #FB2;
  border-color: #FB2;
  background-color: #320;
 }