Advertisement
Viktor217

AniDub CSS

Jul 18th, 2014
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.71 KB | None | 0 0
  1. @-moz-document url("http://tr.anidub.com/"), url("http://tr.anidub.com/index.php"), url("http://tr.anidub.com/#"), url-prefix('http://tr.anidub.com/page/') {
  2. .speedbar /* Полоска AniDUB Tracker */ {display: none;}
  3.  
  4. /* Серая область за названием релиза */
  5. article.story > div:nth-child(1){
  6.     color: #fff;
  7.     padding: 5px 5px 5px;    
  8.     background-color: #EEEEEE;
  9.     -webkit-user-select: none;
  10.     -webkit-box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
  11.     box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
  12.     -webkit-border-radius: 9px;
  13.     border-radius: 9px;
  14. }
  15. /*-----------------------*/
  16.  
  17. /* Сокрытие левой информации из релизных блоков */
  18. article.story > ul:nth-child(2),
  19. article.story > div:nth-child(4),
  20. article.story > div:nth-child(1) > div:nth-child(2),
  21. /*article.story > div:nth-child(3) > div:nth-child(2),*/
  22. article.story > div:nth-child(1) > div:nth-child(1) > div:nth-child(2),
  23. article.story > div:nth-child(1) > div:nth-child(1) > ul:nth-child(3){
  24.     display: none;
  25. }
  26. /*-----------------------*/
  27.  
  28. /* Опускаем популярное за неделю */
  29. #slider_box {
  30.     position: absolute;
  31.     left: 50%;
  32.     margin-left: -583px;
  33.     top: 1730px;
  34.     z-index: 5;
  35. }
  36. #slider_box.wrap {
  37.     /*width: 83%;
  38.     min-width: 1003px;*/
  39.     max-width: 1853px;
  40. }
  41. /*-----------------------*/
  42.  
  43. /* Опускаем блок с топом аниме */
  44. div.banner:nth-child(3){margin: initial;} /* Убираем отступ скрытого блока */
  45. div.block:nth-child(2){
  46.     position: absolute;
  47.     top: 969px;
  48. }
  49. /*-----------------------*/
  50. /* Опускаем блок с последним из блока */
  51. aside.rcol > div:nth-child(4) {
  52.     position: absolute;
  53.     top: 357px;
  54.     background-color: #434855!important;
  55. }
  56. /*-----------------------*/
  57. aside.rcol > div:nth-child(5){background-color: #E0F1FF;}
  58. /* Ширина релизных блоков */
  59. .story {
  60.     display: inline-block;
  61.     float: left;
  62.     width: 20%;
  63. }
  64. @media (max-width:1600px){
  65. .story {
  66.     width: 33.33%;
  67. }
  68. footer {
  69.     margin-top: 260px;
  70. }
  71. #slider_box {
  72.     margin-left: -619px;
  73.     top: 2100px;
  74. }
  75. #slider_box.wrap {
  76.     width: 98%;
  77.     min-width: 1003px;
  78.     max-width: 1853px;
  79. }
  80. }
  81.  
  82. .story > div:nth-child(3) > div:nth-child(2){display:none;}
  83. .story:hover > div:nth-child(3) > div:nth-child(2){
  84.     margin-top: 245px;
  85.     margin-left: -220px;
  86.     display: inline;
  87.     position: absolute;
  88.     background: rgb(224, 241, 255);
  89.     border: 1px solid #E84C3D;
  90.     color: #6c6c6c;
  91.     z-index: 4;
  92.     /* Всплывалка релизовой информации */
  93. }
  94.    
  95. .story > div:nth-child(3){
  96.     max-width: 178px;
  97.     max-height: 251px;
  98. }
  99.  
  100. h2 {display: initial;}
  101.  
  102. h2 a {font-size: 12px;}
  103.  
  104. .story .story_c /* Ограничиваем высоту описания в блоках релизов */{
  105.     margin-left: 13%;
  106.     height: 245px;
  107.     color: white;
  108. }
  109. /*-----------------------*/
  110. #content section {
  111.     padding-top: 10px;
  112.     /*min-width: 688px;*/
  113. }
  114. .story_h{
  115.     max-height: 36px;
  116. }
  117. hr.stop {display: none;} /* Скрываем границу блока навигации по страницам */
  118. div.navigation:nth-child(2) {padding: initial;} /* Убираем отступы у страничного навигационого блока */
  119. }
  120.  
  121. /*
  122. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  123. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  124. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  125. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  126. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  127. */
  128.  
  129. @-moz-document domain("tr.anidub.com") {
  130. /* Фон */
  131. body {
  132.     background-size: 100%;
  133.     min-width: 1263px;
  134.     overflow-x: hidden;
  135. }
  136. .wrap {
  137.     width: 100%;
  138.     min-width: 1166px;
  139.     max-width: 1853px;
  140.     overflow: hidden;
  141. }
  142.    
  143. .footer_h,.footer_b {
  144.     width: 1043px;
  145. }
  146. /* Расширяем блок контента */
  147. #content section {
  148.     width: initial;
  149.     position: static;
  150.     /*background-color: #66BBFE;*/
  151. }
  152. #content {
  153.     position: relative;
  154.     min-height: 1606px;
  155.  
  156. }
  157.     @media (max-width:1300px){#content {top: -70px;}}
  158.     @media (min-width:1900px){#content {top: 90px;}}
  159.  
  160. /*-----------------------*/
  161.  
  162. /* Логотип и блок личного кабинета */
  163. #header_c > div:nth-child(1){
  164.     width: 93%;
  165. }
  166. ul.lcol:nth-child(4) > li:nth-child(2),
  167. ul.lcol:nth-child(4) > li:nth-child(4) {
  168.     display: none;
  169. }
  170. /*-----------------------*/
  171. #tv720 > div /* "Статистика" торрента в 2 столбца */{
  172.     width: 50%;
  173.     float: left;
  174. }
  175. @media (max-width:1600px){#tv720>div{width: inherit;float: inherit;}}
  176. /* Блок ответа */
  177. .tableform {width: 99%;}
  178. .editorcomm, .editorcomm .bb-editor {width: 100%;}
  179. .editorcomm .bb-editor textarea {resize: vertical;}
  180. /*-----------------------*/    
  181.  
  182. /* Фиксатор верхней панели */
  183. #header_h > div:nth-child(1){
  184.     background: inherit;
  185.     max-width: initial;
  186.     width: 100%;
  187.     position:fixed;
  188.     z-index: 9;
  189.     min-width: 1003px;
  190.     max-height: 60px;
  191.     overflow: visible;
  192. }
  193. /*-----------------------*/
  194. /* Скрываем левые блоки */
  195. .vk_block,
  196. div.block:nth-child(1), /* Навигация по сайту */
  197. .social,
  198. aside.rcol > div:nth-child(6) /* Баннер */,
  199. .news_extra_buttons, /* Big Warning buton */
  200. nav /* Подвальное меню */{
  201.     display: none;
  202.     margin: inherit;
  203.     padding: inherit;
  204. }
  205. /*-----------------------*/
  206.    
  207. /*.social {right: 100px;}*/
  208. div.banner:nth-child(2){margin: initial !important;} /* Убираем отступ сверху у блока случайных релизов */
  209. /*-----------------------*/
  210.  
  211. /* Отступы блоков с релизами */    
  212. #dle-content,#content > section:nth-child(3){
  213.     margin: 0 10px;
  214. }
  215.     /* Название релиза  */
  216. .story_h > div.lcol h2, .story_h > div.lcol h1 {
  217.     max-width: initial;
  218. }
  219. /*-----------------------*/
  220.  
  221. /* Убираем застарелых друзей */    
  222. .counters > span:nth-child(2) > a:nth-child(1) > img:nth-child(1),.counters > span:nth-child(4) > a:nth-child(1) > img:nth-child(1),.counters > span:nth-child(1) > a:nth-child(1) > img:nth-child(1){display: none;}
  223. /*-----------------------*/
  224. .search_post .poster img {width: 150px; height: auto;} /* Более комфортные картинки в поисковых запросах */
  225. .search_post:hover .full_link,.search_post:hover .full_link a,.search_post:hover:before{display: block;} /* Убираем странный hover у поисковых запросов */
  226. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement