gmo61520

Ponyach.ru - Custom CSS

Apr 9th, 2015
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 9.52 KB | None | 0 0
  1. /* v8 */
  2. /* turn on photon at first */
  3. /* scroll down for customization */
  4. /* roboto: https://drive.google.com/uc?export=download&id=0B6GfX1zRa8pOaURhZE5ES1ZST2M */
  5.  
  6. /* global */
  7. body { background: #eee; font-size: 12px }
  8. * { font-family: Roboto !important }
  9. a { text-decoration: none }
  10.  
  11. /* fancy buttons */
  12. input[type="button"], input[type="submit"], button, input[type="file"]::-webkit-file-upload-button {
  13.   border-radius: 0 !important;
  14.   background-color: #f5f5f5 !important;
  15.   background-image: linear-gradient(top,#f5f5f5,#f1f1f1) !important;
  16.   box-shadow: none !important;
  17.   border: 1px solid rgba(0,0,0,.18) !important;
  18.   color: #444 !important;
  19.   cursor: default !important;
  20.   font-size: 12px !important;
  21.   font-weight: bold !important;
  22.   padding: 3px 10px !important;
  23. }
  24. input[type="button"]:hover, input[type="submit"]:hover, button:hover, input[type=file]:hover::-webkit-file-upload-button {
  25.   background-image: linear-gradient(top,#f8f8f8,#f1f1f1) !important;
  26.   box-shadow: 0 1px 1px rgba(0,0,0,.14) !important;
  27.   border: 1px solid rgba(0,0,0,.22) !important;
  28.   color: #333 !important;
  29. }
  30. input[type="button"]:active, input[type="submit"]:active, button:focus, input[type=file]:active {
  31.   top: 0 !important;
  32.   box-shadow: none !important;
  33. }
  34.  
  35. /* logo */
  36. .logo { margin: 0 40px 32px !important }
  37. body > .logo + span > center, #randbanner { position: relative; display: block }
  38. body > .logo + .hidemobile > center > img, #randbanner img { display: block !important; position: absolute; top: -80px; max-height: 80px; right: 32px; border: 0; -webkit-box-reflect: below 0 -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.8, transparent), to(rgba(0,0,0,.2))) }
  39.  
  40. /* clear up */
  41. .footer, #de-main > hr, body > br, body > form[de-form] > br, body > form[de-form] > hr, .de-parea > hr { display: none }
  42.  
  43. /* threads divider */
  44. body > form > .pstnode > br { display: none }
  45. body > form > .pstnode > hr { margin: .8em 0; border: none; border-bottom: solid 1px #ccc }
  46.  
  47. /* reply button */
  48. form + .de-parea { display: none }
  49. .de-abtn.de-parea-btn-reply:after { content: " ответить " }
  50. .de-abtn.de-parea-btn-thrd:after { content: " создать тред " }
  51. .dnb + a { text-transform: lowercase }
  52. .dnb + a:before, .dnb + a:after, .dnb + a + a:before, .dnb + a + a:after { content: " " }
  53.  
  54. /* navigation */
  55. .navbar + center { display: none }
  56. .navbar, .nomagic-switcher, .backnext, body > a { text-transform: lowercase }
  57. #board_link_top_r34:after { content: " " }
  58.  
  59. /* search */
  60. input[name="search"] {
  61.   background: transparent;
  62.   border: none;
  63.   text-transform: lowercase;
  64.   font-size: 12px;
  65.   width: 60px;
  66.   margin: 0 .25em;
  67.   padding: 0;
  68. }
  69. body > form:nth-child(2) { float: right }
  70. body > form:nth-child(2):before{ content: "[ " }
  71. input[name="search"]:before { content: "[ "; text-decoration: none !important; color: black !important; border-bottom: none !important }
  72.  
  73. /* options button */
  74. #de-main a[target]:hover { text-decoration: underline !important }
  75. body > .nomagic-switcher:before, body > .nomagic-switcher:after { content: " ]"; text-decoration: none !important; color: black !important; border-bottom: none !important }
  76. body > .nomagic-switcher:first-child:before { content: " / " }
  77. body > br + .nomagic-switcher:before { content: "[ " }
  78.  
  79. /* stats */
  80. form > .navbar { float: left }
  81. .navbar + center ~ center { float: right; text-transform: lowercase; margin-bottom: 32px }
  82. .navbar + center + center + center:before { content: "[ "; margin-bottom: none !important }
  83. .navbar + center + center + center { margin-right: .25em }
  84. .navbar + center + center:before { content: " / "; margin-bottom: none !important }
  85. .navbar + center + center:after { content: " ]"; margin-bottom: none !important }
  86.  
  87. /* posts */
  88. .reply, .highlight {
  89.   background: #fff;
  90.   border: none;
  91.   border-bottom: solid 1px #ccc;
  92.   padding: 0;
  93.   margin: 0;
  94.   border-radius: 0;
  95. }
  96.  
  97. .highlight { outline: 2px solid #edaf52 }
  98. .de-new-post { box-shadow: none !important; background: #ffd }
  99. .de-selected  { box-shadow: none !important; background: #def }
  100.  
  101. /* popup */
  102. .de-pview, .de-qarea-hanging > #de-pform { border: solid 1px #ccc !important }
  103.  
  104. /* coma fix */
  105. .pstnode > .reply:not(#de-qarea), .pstnode [id^="reply"], [de-thread] { position: relative }
  106. .pstnode > .reply:not(#de-qarea), .pstnode [id^="reply"], [de-thread], .reply.de-pview { overflow: hidden; padding: 2px 10px }
  107.  
  108. /* lists of posts */
  109. div[de-thread] > table { min-width: 40% }
  110. .de-pview, #de-qarea, .de-menu, #de-alert > .reply { border-bottom: solid 1px #ccc }
  111.  
  112. /* post's stuff */
  113. .reflink, .filetitle { font-size: 1em }
  114. .reflink > a:first-child { font-size: 0 }
  115. .reflink > a:first-child:before { content: "#"; font-size: 12px }
  116. .mobile_date { color: #aaa }
  117. .omittedposts { font-weight: 700 }
  118. blockquote pre { white-space: pre-line }
  119.  
  120. /* de buttons */
  121. .de-post-counter:after { content: none !important }
  122. .reply:not(.de-pview) .reflink:after, .highlight:not(.de-pview) .reflink:after  { counter-increment: de-cnt 1; content: "/ "counter(de-cnt) }
  123. .de-post-btns > .de-post-note { display: none !important }
  124.  
  125. .de-post-btns > span[style] {
  126.   float: left;
  127.   font: inherit !important;
  128.   font-size: 12px !important;
  129.   color: inherit !important;
  130.   opacity: 1 !important;
  131.   font-weight: 700 !important;
  132.   line-height: normal !important;
  133. }
  134.  
  135. .de-post-btns > span[style]:before { content: "/ " }
  136.  
  137. .de-post-btns, .dast-hide-tr { float: right; font-size: 18px; line-height: 14px }
  138. .de-post-btns > span, .de-post-hide .de-btn-hide, .de-post-hide .de-btn-hide-user, .dast-hide-tr, .de-btn-expthr { opacity: .4; background: transparent !important; padding: 0 }
  139. .de-post-btns > span:hover, .dast-hide-tr:hover, .de-btn-expthr:hover { opacity: .6 }
  140.  
  141. .de-btn-rep { font-size: 18px; vertical-align: top }
  142. .de-btn-hide, .de-btn-hide-user { font-size: 20px; vertical-align: top }
  143. .de-btn-expthr { font-size: 15px; margin-left: -1px !important }
  144. .de-btn-fav, .de-btn-fav-sel { font-size: 13px }
  145. .de-btn-stick, .de-btn-stick-on { margin-left: -3px !important }
  146. .dast-hide-tr { color: inherit !important; margin-left: -3px !important }
  147. .dast-hide-tr:hover { color: inherit !important }
  148.  
  149. .de-btn-rep:after { content: "▶" }
  150. .de-btn-fav:after, .de-btn-fav-sel:after { content: "★" }
  151. .de-btn-fav-sel, .de-btn-stick-on { color: green }
  152. .de-btn-hide:after, .de-btn-hide-user:after { content: "×" }
  153. .de-btn-hide-user { color: red }
  154. .de-btn-expthr:after { content: "⇵" }
  155. .de-btn-stick:after, .de-btn-stick-on:after { content: "■" }
  156.  
  157. /* mods */
  158. .coma-colormark { position: absolute !important; left: -2px !important; top: -2px !important; width: 5px !important; height: auto !important; bottom: -2px !important; border: none !important; border-radius: 0 !important }
  159. [de-oppost] > label > .coma-colormark { display: none !important }
  160.  
  161. #de-panel { opacity: 0; transition: opacity .3s .6s }
  162. #de-panel:hover { opacity: 1; transition: opacity .3s .1s }
  163. .de-cfg-head { border-radius: 0 !important }
  164.  
  165. /* information.html */
  166. body > div.reply { padding: 6px 20px; margin-top: 8px }
  167. body > div.reply > center:first-child > h2 { margin-top: 0 }
  168. body > div.reply + br { display: none }
  169.  
  170. /* captcha */
  171. #haikaptcha { top: calc(50vh - 240px); left: calc(50vw - 200px); color: white; text-align: center }
  172. .overlay-bg { position: fixed !important }
  173.  
  174. /* adaptive margins */
  175. @media screen and (min-width: 900px) { body { margin: 0 60px !important } }
  176. @media screen and (min-width: 1200px) { body { margin: 0 210px 0 90px !important } }
  177. @media screen and (min-width: 1700px) { body { margin: 0 360px 0 120px !important } }
  178.  
  179. /* image left/right buttons */
  180. #de-img-btn-next, #de-img-btn-prev {
  181.   top: 0 !important;
  182.   bottom: 0;
  183.   height: auto !important;
  184.   border-radius: 0 !important;
  185.   padding: 0 8px;
  186.   opacity: .1;
  187.   transition: opacity .3s .1s;
  188. }
  189. #de-img-btn-next:hover, #de-img-btn-prev:hover {
  190.   opacity: .7;
  191.   transition: opacity .1s;
  192. }
  193. #de-img-btn-next > div, #de-img-btn-prev > div {
  194.   background-position: center;
  195.   height: 100%;
  196. }
  197.  
  198. /* custom options: remove space  in "* /" to enable */
  199. /* blue links color */
  200. a, a:hover, a:visited, .reflink > a, input[type="button"]:hover { color: #427fed !important }
  201. a:active { color: #225f9d !important }
  202. .highlight { outline: 2px solid #427fed }
  203.  
  204. /* dark * /
  205. html, body, body > .nomagic-switcher:before, body > .nomagic-switcher:after { background: #222; color: #fff !important }
  206. .reply, body > form > .pstnode > hr { background: #333 !important; border-color: #000 !important }
  207. a, a:hover, a:visited, .reflink > a, input[type="button"]:hover { color: #edaf52 !important }
  208. .highlight { outline: 2px solid #edaf52 }
  209. a:active { color: #ed7f42 !important }
  210. .spoiler { background: #444; color: #222 !important }
  211. .spoiler:hover { background: #555 !important; color: inherit !important }
  212. .filetitle { color: #afed52  }
  213. .de-new-post { background: #484833 !important }
  214.  
  215. /* fancy spoilers * /
  216. .spoiler { background: inherit !important; color: inherit !important; -webkit-filter: blur(3px); transition: -webkit-filter .3s }
  217. .spoiler:hover { background: inherit !important; color: inherit !important; -webkit-filter: blur(0px) }
  218.  
  219. /* fancy spoilers - firefox version */
  220. .spoiler { background: inherit !important; color: transparent !important; text-shadow: 0 0 10px black; transition: text-shadow .3s, color .3s }
  221. .spoiler:hover { background: inherit !important; color: inherit !important; text-shadow: 0 0 0 black }
  222.  
  223. /* fancy spoilers - firefox version - dark * /
  224. .spoiler { text-shadow: 0 0 10px white }
  225. .spoiler:hover { text-shadow: 0 0 0 white }
  226.  
  227. /* end */
Advertisement
Add Comment
Please, Sign In to add comment