Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @namespace url(http://www.w3.org/1999/xhtml);
- @-moz-document domain("donmai.us") {
- /* Dark mode compatible Small Modo, with some individual tweaks.
- * Shamelessly stolen from kounishin.
- */
- header#top h1 {
- display: none;
- }
- header#top nav {
- z-index: 20; /* needs to be >10 to ensure it's above translation notes */
- background-image: url("http://danbooru.donmai.us/favicon.ico") !important;
- background-position: 5px 5px;
- background-repeat: no-repeat !important;
- height: 26px !important;
- width: 26px !important;
- overflow: hidden !important;
- position: fixed !important;
- top: 0px;
- left: 0px;
- border-right: 1px solid #49F !important;
- border-bottom: 1px solid #49F !important;
- border-bottom-right-radius: 5px !important;
- float: left !important;
- background-color: #222;
- }
- header#top nav:hover {
- height: auto !important;
- width: auto !important;
- background-color: #222 !important;
- opacity: 1 !important;
- }
- #news-updates {
- padding-left: 35px !important;
- }
- /* Rather than no margin, slight margin does help with text
- * that sticks to the side of the screen and other things.
- */
- div#page { margin-top: 30px !important; margin-left: 15px !important; }
- /* Fully maximize width. */
- #content {
- float: none !important;
- margin-left: 200px;
- padding-left: 0px !important;
- width: auto !important;
- }
- /* Which messes up the pool index pages, fix that. */
- #c-pools #a-show #content {
- margin-left: 0px !important;
- }
- div#c-posts div#a-index div#posts {
- max-width: none !important;
- float: none !important;
- }
- /* Pool stuff. */
- section#pool-sidebar {
- position: fixed !important;
- top: 0 !important;
- right: 0 !important;
- margin: 0 !important;
- padding: 3px;
- z-index: 3 !important;
- border: 1px solid #49F;
- background: #222 !important;
- border-bottom-left-radius: 5px;
- border-top: 0px;
- color: gray !important; /* to account for inactive fwd/back links */
- }
- section#pool-sidebar ul {
- margin: 0px !important;
- text-align: right !important;
- }
- section#pool-sidebar li {
- line-height: 1.3em !important;
- padding: 0px 2px !important;
- position: relative !important;
- }
- /* reorder things so the main pool link is left of the «/» links */
- /* made more painful by lack of element classes, and nav links at */
- /* the start or end of a pool not even having an enclosing element */
- section#pool-sidebar li a[href^="/pools/"] {
- float: left !important;
- padding-right: 10px !important;
- }
- section#pool-sidebar li a[href^="/posts/"] {
- padding-left: 6px !important;
- }
- /* Change Sizes. */
- aside#sidebar h1, aside#sidebar h2 {
- font-weight: normal !important;
- font-size: 14px !important;
- margin: 0px !important;
- font-family: tahoma !important;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement