Advertisement
Greywyne

Dotabooru V1.6

Oct 12th, 2016
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 12.68 KB | None | 0 0
  1. @-moz-document domain("danbooru.donmai.us") {
  2.  
  3. /*Show banned users with strikethrough*/
  4. .user-banned {
  5.     text-decoration: line-through !important;
  6. }
  7.  
  8. /*Disable the Blacklist Notification Box*/
  9. #blacklist-box {
  10.     display: none !important;
  11. }
  12.  
  13. /*Remove the black line from paginator*/
  14. #posts > hr {
  15.     display: none !important;
  16. }
  17.  
  18. /*Remove the page number menu from paginator*/
  19. div.paginator li a,div.paginator:nth-child(1) > menu:nth-child(1) {
  20.     border:none;
  21.  
  22.     }
  23. /*Disable Save Search Button*/
  24. #save-search {
  25.     display: none !important;
  26. }
  27.  
  28. /*
  29.  * - Restyle all buttons and edit boxes into something a bit nicer looking than
  30.  *   the browser default.
  31.  * - Redesign the Edit form on posts to take up less vertical space and to make
  32.  *   the source & tag edit boxes wide enough to see what we're doing.
  33.  */
  34.     /* Restyle buttons and edit boxes into something a bit nicer than the
  35.      * browser default. This is designed to match the buttons used in
  36.      * Danbooru's various jQuery dialogs. */
  37.     button, input, select, textarea {
  38.         border:  1px solid #D3D3D3;
  39.         color:   #555;
  40.         padding: 4px;
  41.  
  42.         /*
  43.          * Keep the increased padding from increasing the overall width/height
  44.          * of the element and throwing off the layout.
  45.          */
  46.         box-sizing: border-box;
  47.     }
  48.  
  49.     button:hover, input[type="submit"]:hover {
  50.         border:     1px solid #999;
  51.         background: #dadada;
  52.         color:      #212121
  53.     }
  54.  
  55.     select {
  56.         background: white;
  57.     }
  58.  
  59.     /* /users page. */
  60.  
  61.     /* Make tag blacklist and custom CSS boxes bigger. */
  62.     #c-users textarea {
  63.         width:  100% !important;
  64.         height: 15em;
  65.     }
  66.  
  67.     /* /posts/1234 page. */
  68.  
  69.     /* Add margins above & below the Comments / Edit / Share links. */
  70.     #c-posts #a-show menu#post-sections {
  71.         margin: 1em 0 !important;
  72.     }
  73.  
  74.     /* Optional: Hide the Fetch Source Info box. It can be useful, but it tends to get in the way. */
  75.     #c-posts #a-show #source-info {
  76.         display: none;
  77.     }
  78.  
  79.     /* Move form labels to the left of input elements instead of above them. */
  80.     #c-posts #a-show #edit #form .input > label,      /* Rating / Lock / Parent / Source labels */
  81.     #c-posts #a-show #edit #form .input > div > label /* Tags label */ {
  82.         display:   inline-block;
  83.         min-width: 10%;
  84.     }
  85.  
  86.     /* Make the Parent ID / Tags input boxes wider. */
  87.     #c-posts #a-show #edit #form #post_parent_id,
  88.     #c-posts #a-show #edit #form textarea#post_tag_string {
  89.         width: 89%;
  90.     }
  91.  
  92.     /* Size the Source input box to accomodate the Similar & Artist buttons. */
  93.     #c-posts #a-show #edit #form #post_source {
  94.         width: 73%;
  95.     }
  96.  
  97.     #c-posts #a-show #edit #form #similar-button,
  98.     #c-posts #a-show #edit #form #find-artist-button {
  99.         width: 7.5%;
  100.     }
  101.  
  102.     /* Put a margin between the tag edit box and the related tags buttons. */
  103.     #c-posts #a-show #post_tag_string {
  104.         margin-bottom: 1em;
  105.         height: 12em !important;
  106.         resize: vertical;
  107.     }
  108.  
  109.     /* Left align the related tags buttons beneath the tag edit form. */
  110.     #c-posts #a-show #related-tags-button,
  111.     #c-posts #a-show #related-artists-button,
  112.     #c-posts #a-show #related-characters-button,
  113.     #c-posts #a-show #related-copyrights-button,
  114.     #c-posts #a-show #edit #form input[type="submit"] {
  115.         position: relative;
  116.         left:     10%;
  117.         margin:   0 5px;
  118.     }
  119.  
  120.     /* Move the link to the tag edit dialog to the top right of the tag edit form. */
  121.     #c-posts #a-show #open-edit-dialog {
  122.         position: absolute;
  123.  
  124.         /* 6px = 4px of textarea padding + 1px of textarea border + 1px of button border.  */
  125.         right:  6px;
  126.         top:    0px;
  127.         margin: 0;
  128.     }
  129.  
  130.     /* Anchor the tag edit box container div so we can reposition the tag edit dialog link as per above. */
  131.     #c-posts #a-show div.input:nth-child(13) {
  132.         position: relative;
  133.     }
  134.  
  135.     /* Make the tag edit box resizeable in the popout edit box. */
  136.     #edit-dialog #post_tag_string { resize: vertical !important; }
  137.  
  138.     /* Left align Find Similar thumbnails with the rest of the form. */
  139.     #c-posts #a-show #iqdb-similar article {
  140.         position: relative;
  141.         left:     10%;
  142.     }
  143.  
  144.     /* Anchor the Find Similar thumbnail container div so we can reposition the thumbnails as per above. */
  145.     #c-posts #a-show #iqdb-similar {
  146.         position: relative;
  147.     }
  148.  
  149.     /* Improve padding for when the artist column wraps around beneath a related tags column. */
  150.     #c-posts #a-show #related-tags             { padding: 0; }
  151.     #c-posts #a-show #related-tags-container   { padding: 0; }
  152.     #c-posts #a-show #related-tags .tag-column { margin:  1em; }
  153.  
  154.     /* Optional. Make the related tags box scrollable when it's too tall. */
  155.     /*
  156.     #c-posts #a-show #related-tags {
  157.         max-height: 20em;
  158.         overflow-y: auto;
  159.     }
  160.     */
  161.  
  162.  
  163. /* Do a search & replace to the colors however you like. Use transparent to hide a border type. */
  164.  
  165. .post-preview.post-status-flagged      img { border-color: red       !important; }
  166. .post-preview.post-status-pending      img { border-color: #6267AF   !important; }
  167. .post-preview.post-status-deleted      img { border-color: black     !important; }
  168. .post-preview.post-status-has-children img { border-color: limegreen !important; }
  169. .post-preview.post-status-has-parent   img { border-color: orange    !important; }
  170.  
  171. .post-preview.post-status-has-children.post-status-deleted img { border-color: limegreen black black limegreen !important; }
  172. .post-preview.post-status-has-parent.post-status-deleted   img { border-color: orange    black black orange    !important; }
  173.  
  174. .post-preview.post-status-has-children.post-status-pending img { border-color: limegreen #6267AF #6267AF limegreen !important; }
  175. .post-preview.post-status-has-parent.post-status-pending   img { border-color: orange    #6267AF #6267AF orange    !important; }
  176.  
  177. .post-preview.post-status-has-children.post-status-flagged img { border-color: limegreen red red limegreen !important; }
  178. .post-preview.post-status-has-parent.post-status-flagged   img { border-color: orange    red red orange    !important; }
  179.  
  180. .post-preview.post-status-has-children.post-status-has-parent img { border-color: limegreen orange limegreen orange !important; }
  181.  
  182. .post-preview.post-status-has-children.post-status-has-parent.post-status-deleted img { border-color: limegreen black black orange !important; }
  183. .post-preview.post-status-has-children.post-status-has-parent.post-status-pending img { border-color: limegreen #6267AF #6267AF  orange !important; }
  184. .post-preview.post-status-has-children.post-status-has-parent.post-status-flagged img { border-color: limegreen red   red   orange !important; }
  185.  
  186.    
  187.  
  188.    
  189. /*MY SHIT*//*MY SHIT*//*MY SHIT*//*MY SHIT*//*MY SHIT*//*MY SHIT*/
  190.  
  191.  
  192. /*makes the image previews more uniform*/
  193.  
  194. /*article.post-preview{
  195.     width: 120px !important;
  196.     height: 120px !important; */
  197.  
  198. /*Background shit*/
  199. footer#page-footer {
  200.     clear: both;
  201.     width: 100%;
  202.     margin-top: 1em;
  203.     text-align: center;
  204.     padding: 1em 0 1em;
  205.     border:none;
  206.     color:white;
  207. }
  208.  
  209. body,#page,#page-footer,div.prose pre {
  210.     background-color:#1D252E !important;
  211.     color:white;
  212. }
  213.  
  214. /*Sidebar Hijinks*/
  215. #sidebar h1 {
  216.     color: white !important;
  217.     text-shadow: 2px 2px 4px #000 !important;
  218. }
  219.  
  220. #show-posts-link {
  221.     color: white !important;
  222.     text-decoration: none !important;
  223.     text-shadow: 2px 2px 4px #000 !important;
  224. }
  225.  
  226. h2 {
  227.     color: white !important;
  228.     text-decoration: none !important;
  229.     text-shadow: 1px 1px 2px #000 !important;
  230. }
  231. /*Various White Text*/
  232. #post-information, p, a:link,.search-name,div#c-users div#a-show table.user-statistics td,h4,div.prose li,div#c-static div#a-site-map section h1,label,li,strong,time,span.info,h6{
  233.   color:white
  234. }
  235. /*White with a Shadow*/
  236.     h1,div#c-users div#a-show table.user-statistics th{
  237.         color:white;
  238.         text-shadow: 2px 2px 4px #000
  239.     }
  240. /*Green Text/Links*/
  241. a:link,#comments > h2:nth-child(1) > a:nth-child(1),#related-list > li:nth-child(1) > a:nth-child(1),div#c-users div#a-edit .active{
  242.     color:#A9CF3C;
  243.    
  244. }
  245.     a:visited{
  246.         color:#608600;
  247.     }
  248.    
  249. /*Notice Box Styles*/
  250. div#c-posts div.notice.notice-child,div#c-posts div.notice.notice-parent, div#c-posts div#a-show #artist-commentary,div#c-posts div.notice.notice-pending,div#c-posts div.notice.notice-resized,div#c-posts div.nav-notice,blockquote,div.expandable-content,div.expandable-header,a.other-name,textarea,div.related-tags,div#c-posts div.notice.notice-deleted{
  251.     background-color:#242F39!important;
  252.     border:white solid 1px!important;
  253.     position: relative!important;
  254.     box-shadow: 2px 2px 5px black!important;
  255.     color:white!important;  
  256. }    
  257.     /* Banned Posts Notice*/
  258. div#c-posts div.notice.notice-deleted{
  259.     background-color: #AF2020!important;
  260.     }
  261.    
  262.     /*Resize Notice*/
  263.     div#c-posts div.notice.notice-resized{
  264.         background-color:#6D3E8F!important;
  265.     }
  266.    
  267.     /*Pending notice*/
  268.     div#c-posts div.notice.notice-pending{
  269.         background-color:#50518F!important;
  270.     }
  271.    
  272. /*Copyright Tag*/
  273. .category-3 a,a.tag-type-3,.ui-state-focus a.tag-type-3 {
  274.     color: #E840FF !important;
  275. }
  276.  
  277. .category-3 a:hover,a.tag-type-3:hover,.ui-state-focus a.tag-type-3:hover {
  278.     color: #ED7FFF !important;
  279. }
  280.  
  281. /*Character Tag*/
  282. .category-4 a,a.tag-type-4,.ui-state-focus a.tag-type-4 {
  283.     color: #9FFF40 !important;
  284. }
  285.  
  286. .category-4 a:hover,a.tag-type-4:hover,.ui-state-focus a.tag-type-4:hover {
  287.     color: #BFFF7F !important;
  288. }
  289.  
  290. /*General Tag*/
  291. .category-0 a,a.tag-type-0,.ui-state-focus a.tag-type-0 {
  292.     color: #B4CCCC !important;
  293. }
  294.  
  295. .category-0 a:hover,a.tag-type-0:hover,.ui-state-focus a.tag-type-0:hover {
  296.     color: #D1EFEF !important;
  297. }
  298.  
  299. /*Artist Tag*/
  300. .category-1 a, a.tag-type-1, .ui-state-focus a.tag-type-1 {
  301.     color: #FC3F3F!important;
  302. }
  303.  
  304. .category-1 a:hover, a.tag-type-1:hover, .ui-state-focus a.tag-type-1:hover {
  305.     color: #FF7F7F!important;
  306. }
  307.  
  308. /*Sorting Tag*/
  309. .ui-menu .ui-menu-item a{
  310.     color: #3FB4FC;
  311. }
  312.  
  313. .ui-menu .ui-menu-item a:hover{
  314.     color: #7FCFFF!important;
  315. }
  316.    
  317. /*Menu at the top stylin'*/
  318. #sticky-header,header#top menu.main,#top{
  319.     background-color:#1D252E!important;
  320. }
  321. header#top menu,header#top menu.main li.current a{
  322.     background-color:#2E3740!important;
  323. }
  324. header#top menu li a{
  325.     color:white;
  326. }
  327. #site-map-link{
  328.     color:orange !important;
  329. }
  330. .main > li:nth-child(1) > a:nth-child(1){
  331.     color:#39CCCC !important;
  332. }
  333. /*Danbooru Header*/
  334. #sticky-header > h1:nth-child(1) > a:nth-child(1),#top > h1:nth-child(1) > a:nth-child(1){
  335.     color:#ED3B1C!important;
  336.     text-transform:uppercase!important;
  337.        
  338. }
  339.    
  340.     /*User Level Colours*/
  341.     a.user-gold.with-style{
  342.         color:Gold;
  343.     }
  344.     a.user-admin.with-style{
  345.         color:#ED3B1C;
  346.     }
  347.     a.user-builder.with-style{
  348.         color:violet;
  349.     }
  350.     a.user-platinum.with-style{
  351.         color:whitesmoke;
  352.     }
  353.     a.user-member.with-style{
  354.         color:grey;
  355.     }
  356.     a.user-janitor.with-style{
  357.         color:lightgreen;        
  358.     }
  359.    
  360.    
  361. /*Forum and Table Stuff*/    
  362.         table.striped tr:nth-child(even) {
  363.         background-color:#1D252E!important;
  364.     }
  365.         table.striped tr:nth-child(odd){
  366.         background-color:#27333F!important;
  367.     }
  368.         table.striped th{
  369.         color:white!important;
  370.         background-color:#1D252E;
  371.     }
  372.     td{
  373.         color:white;
  374.     }
  375.     /*Fixes the size of the user page rows*/
  376. .user-statistics {
  377. width:50% !important;
  378. }
  379.     div#c-users div#a-show table.user-statistics th {
  380. width:50% !important;
  381. }
  382.  
  383.     div#c-forum-topics span.new{
  384.         color:#ED3B1C;
  385.     }
  386.    
  387. tr:nth-child(even) td {
  388. background:#1D252E !important;
  389. }
  390. tr:nth-child(odd) td {
  391. background:#27333F !important;
  392. }
  393. /*some shit to make the column colours work on the tags page.This is probably bloated as fuck*/
  394.     .search > tbody:nth-child(1) > tr:nth-child(odd) > td:nth-child(2) > div:nth-child(1), .search > tbody:nth-child(1) > tr:nth-child(even) > td:nth-child(2) > div:nth-child(1),.search > tbody:nth-child(1) > tr:nth-child(9) > td:nth-child(2),.search > tbody:nth-child(1) > tr:nth-child(9) > td:nth-child(1){
  395.         background-color:#1D252E!important;
  396.     }
  397.    
  398. /*Searchbox Changes*/    
  399.     #sidebar > section:nth-child(1) > form:nth-child(2) > input:nth-child(2),.ui-widget-content,input,select{
  400.         background-color:#36424F!important;
  401.         background:none;
  402.         color:white;
  403.         border-color:#2B353F;
  404.         border-width:1px;
  405.     }
  406.     .ui-menu .ui-menu-item{
  407.         background-color:transparent;
  408.         background:none;
  409.         border-color:transparent;
  410.     }
  411. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement