Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2013
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.25 KB | None | 0 0
  1. @namespace url(http://www.w3.org/1999/xhtml);
  2.  
  3. @-moz-document domain("donmai.us") {
  4.     /* Dark mode compatible Small Modo, with some individual tweaks.
  5.      * Shamelessly stolen from kounishin.
  6.      */
  7.     header#top h1 {
  8.         display: none;
  9.     }
  10.    
  11.     header#top nav {
  12.         z-index: 20;   /* needs to be >10 to ensure it's above translation notes */
  13.         background-image: url("http://danbooru.donmai.us/favicon.ico") !important;
  14.         background-position: 5px 5px;
  15.         background-repeat: no-repeat !important;
  16.         height: 26px !important;
  17.         width: 26px !important;
  18.         overflow: hidden !important;
  19.         position: fixed !important;
  20.         top: 0px;
  21.         left: 0px;
  22.         border-right: 1px solid #49F !important;
  23.         border-bottom: 1px solid #49F !important;
  24.         border-bottom-right-radius: 5px !important;
  25.         float: left !important;
  26.         background-color: #222;
  27.     }
  28.    
  29.     header#top nav:hover {
  30.         height: auto !important;
  31.         width: auto !important;
  32.         background-color: #222 !important;
  33.         opacity: 1 !important;
  34.     }
  35.    
  36.     #news-updates {
  37.         padding-left: 35px !important;
  38.     }
  39.    
  40.     /* Rather than no margin, slight margin does help with text
  41.      * that sticks to the side of the screen and other things.
  42.      */
  43.     div#page { margin-top: 30px !important; margin-left: 15px !important; }
  44.    
  45.     /* Fully maximize width. */
  46.     #content {
  47.         float: none !important;
  48.         margin-left: 200px;
  49.         padding-left: 0px !important;
  50.         width: auto !important;
  51.     }
  52.    
  53.     /* Which messes up the pool index pages, fix that. */
  54.     #c-pools #a-show #content {
  55.         margin-left: 0px !important;
  56.     }
  57.    
  58.     div#c-posts div#a-index div#posts {
  59.         max-width: none !important;
  60.         float: none !important;
  61.     }
  62.  
  63.     /* Pool stuff. */    
  64.     section#pool-sidebar {
  65.         position: fixed !important;
  66.         top: 0 !important;
  67.         right: 0 !important;
  68.         margin: 0 !important;
  69.         padding: 3px;
  70.         z-index: 3 !important;
  71.         border: 1px solid #49F;
  72.         background: #222 !important;
  73.         border-bottom-left-radius: 5px;
  74.         border-top: 0px;
  75.         color: gray !important;   /* to account for inactive fwd/back links */
  76.     }
  77.    
  78.     section#pool-sidebar ul {
  79.         margin: 0px !important;
  80.         text-align: right !important;
  81.     }
  82.    
  83.     section#pool-sidebar li {
  84.         line-height: 1.3em !important;
  85.         padding: 0px 2px !important;
  86.         position: relative !important;
  87.     }
  88.    
  89.     /* reorder things so the main pool link is left of the «/» links   */
  90.     /* made more painful by lack of element classes, and nav links at  */
  91.     /* the start or end of a pool not even having an enclosing element */
  92.     section#pool-sidebar li a[href^="/pools/"] {
  93.         float: left !important;
  94.         padding-right: 10px !important;
  95.     }
  96.  
  97.     section#pool-sidebar li a[href^="/posts/"] {
  98.         padding-left: 6px !important;
  99.     }
  100.  
  101.     /* Change Sizes. */
  102.     aside#sidebar h1, aside#sidebar h2 {
  103.         font-weight: normal !important;
  104.         font-size: 14px !important;
  105.         margin: 0px !important;
  106.         font-family: tahoma !important;
  107.     }
  108. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement