Advertisement
Guest User

2ch Mobile fix

a guest
Oct 29th, 2018
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.01 KB | None | 0 0
  1. @media only screen and (max-width: 480px) and (orientation:portrait),  only screen and (max-width: 540px) and (orientation:landscape){
  2. #plashque, #mobile-plashque, .rules-area, .kupi-passcode-suka, .qr-reply .qr-vk-public, .rmenu, .logo + hr, #postform + hr, .norm-reply + hr {display: none;}
  3.  
  4. .spoiler {color: #666;}
  5. .spoiler a {color: #ff8533;}
  6.  
  7. .adminbar {margin-bottom: 35px; padding: 0;}
  8. .adminbar__boards {background: #ddd; border-color: #ddd; font-size: 14px; width: unset; left: 0; right: 100px; z-index: 982;}
  9. .adminbar__boards_sticky {display: unset; transform: none;}
  10. .menu {background: #ddd; border-bottom: 1px solid #ccc; z-index: 980;}
  11.  
  12. a.adminbar__slink:before {content: "\f015"; font: normal normal normal 20px/30px FontAwesome; padding: 0 2px;}
  13. a.adminbar__slink, #settings {font-size: 0; text-decoration: none;}
  14. #settings:before {content: "\f013"; font: normal normal normal 20px/30px FontAwesome; padding: 0 2px;}
  15.  
  16. a[onclick*="updateThread(); return false;"]{font-size: 0;}
  17. a[onclick*="updateThread(); return false;"]:before {content: "\f021";}
  18.  
  19. .thread-nav-mob:nth-of-type(4) > a.button-mob:nth-of-type(4) {display: none !important;}
  20. a[onclick*="updateThread(); return false;"]
  21. {background: #ddd !important; border-radius: 0; position: fixed; top: 0; left: 0; right: 50px; z-index: 981; padding: 0; margin: 0; text-align: right; border: none;}
  22. a[onclick*="updateThread(); return false;"]::before
  23. {font: normal normal normal 20px/30px FontAwesome;}
  24.  
  25. .mselect {width: 80px;}
  26.  
  27. .nav-arrows {background-color: #fff; border: 1px solid #ccc; box-shadow: 0 6px 16px rgba(0,0,0,.14); height: 34px; width: 34px; border-radius: 3px; z-index: 970;}
  28. .nav-arrows:hover, .nav-arrows:active {color: #f60;}
  29. .up-nav-arrow {background-image: none; top: 60px;}
  30. .up-nav-arrow:before {content: "\f106"; display: block; font: normal normal normal 22px/32px FontAwesome; text-align: center; width: 32px;}
  31. .down-nav-arrow {background-image: none; bottom: 30px;}
  32. .down-nav-arrow:before {content: "\f107"; display: block; font: normal normal normal 22px/32px FontAwesome; text-align: center; width: 32px;}
  33.  
  34. .cntnt {padding: 0;}
  35.  
  36. .reply-label {margin: 0;}
  37. .norm-reply {background: #ddd; border: 1px solid #ccc; border-radius: 0; border-top: none; border-left: none; border-right: none; top: 0; left: 0; right: 0; padding: 0 5px; position: fixed; z-index: 980;}
  38.  
  39. .mobile.reply-label-top, .mobile.reply-label-bot {background: none !important; border-radius: 0; width: 100%;}
  40. .mobile.reply-label-top {font-size: 0 !important; text-align: right; border: none;}
  41. .mobile.reply-label-top:before {content: "\f044"; font: normal normal normal 20px/30px FontAwesome;}
  42.  
  43. #postform {height: calc(100vh); overflow: auto;}
  44. #postform table {width: 100%;}
  45. #postform > hr, footer .norm-reply {display: none;}
  46.  
  47. .post .images-single + blockquote {margin: 0 1em 0.6em;}
  48. .post .images .image-link a {float: none;}
  49. .post .image {vertical-align: top;}
  50.  
  51. .oppost-options-mob {display: block !important;}
  52.  
  53. .postform, .qr {font-size: 1em;}
  54. .qr {border-radius: 0; border-top: none; border-left: none; border-right: none; left: 0 !important; top: 0 !important; padding: 5px; position: fixed; width: 100%; height: calc(100vh); overflow: auto; z-index: 983;}
  55. .qr .qr-header {background: none; border: none; font-weight: bold; padding: 4px;}
  56. .qr-reply input.qmail {width: 200px;}
  57. .qr .qr-close {color: #000; font-size: 0; margin: -4px; padding: 4px;}
  58. .qr .qr-close:before {content: "\f00d"; font: normal normal normal 14px/1 FontAwesome; color: #333;}
  59. .qr-reply .captcha-image img {width: 250px; image-rendering: unset; padding: 4px 0;}
  60. #postform td .captcha-box .captcha-image img {padding: 4px 0; width: 250px;}
  61. .markup {padding: 4px;}
  62. .form-files-box .form-files-drag-area {border-color: #999; color: #999; height: 30px; font-size: 14px; padding-top: 5px;}
  63. input[type="text"], input[type="password"], textarea, input[type="button"], input[type="submit"], select {min-height: 24px;}
  64. .mselect {min-height: unset;}
  65.  
  66. #ABU-alertbox {min-width: 160px;}
  67. footer {padding: 0 5px;}
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement