mobile.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /* ZeroMe Mobile */
  2. #Trigger {
  3. display: none;
  4. }
  5. @media screen and (max-width: 750px) {
  6. html, body, p, th, td, li {
  7. font-size: medium !important;
  8. }
  9. .head-container {
  10. position: fixed;
  11. width: 100%;
  12. height: 50px;
  13. z-index: 30;
  14. }
  15. .head {
  16. width: 100%;
  17. }
  18. .head .logo {
  19. margin-left: 50px;
  20. position: absolute;
  21. z-index: 1;
  22. }
  23. .right {
  24. position: fixed;
  25. right: 0;
  26. top: 0;
  27. }
  28. #Content {
  29. width: 100%;
  30. margin-top: 60px;
  31. margin-bottom: 5px;
  32. }
  33. .col-center {
  34. width: 100%;
  35. overflow: auto;
  36. padding-left: 5px;
  37. padding-right: 5px;
  38. display: block;
  39. padding-top: 60px;
  40. margin-top: -60px;
  41. }
  42. .col-left, .col-right {
  43. position: fixed;
  44. top: 60px;
  45. left: -305px;
  46. height: 100%;
  47. background-color: #f6f7f8;
  48. margin-left: 0px;
  49. padding-top: 60px;
  50. padding-right: 15px;
  51. padding-left: 15px;
  52. margin-top: -60px;
  53. width: 300px;
  54. overflow-x: hidden;
  55. overflow-y: auto;
  56. z-index: 1;
  57. transition: 0.3s all cubic-bezier(0.77, 0, 0.175, 1);
  58. }
  59. .theme-dark .col-left, .theme-dark .col-right {
  60. background-color: #26242e;
  61. }
  62. .trigger-on .col-left, .trigger-on .col-right {
  63. left: 0px;
  64. box-shadow: 0px 0px 30px #999;
  65. }
  66. #Trigger {
  67. display: block;
  68. position: fixed;
  69. left: 5px;
  70. top: 3px;
  71. width: 40px;
  72. height: 40px;
  73. z-index: 100;
  74. border: 1px solid rgba(187, 187, 187, 0.32);
  75. border-radius: 5px;
  76. }
  77. #Trigger .icon {
  78. background-image: url(../img/nav-icon.png);
  79. display: block;
  80. border: 12px solid transparent;
  81. height: 16px;
  82. outline: none;
  83. border-radius: 5px;
  84. }
  85. .col-left.faded {
  86. opacity: 1;
  87. filter: none;
  88. }
  89. .user.card {
  90. box-shadow: none;
  91. margin-top: 10px;
  92. margin-left: -15px;
  93. }
  94. .activity-list .items {
  95. margin-bottom: 0px;
  96. }
  97. .more.small {
  98. padding: 10px;
  99. margin-bottom: 5px;
  100. border-radius: 5px;
  101. }
  102. .post-create .icon-image {
  103. margin-left: unset;
  104. right: 40px;
  105. }
  106. #Overlay .img {
  107. width: 100% !important;
  108. margin-left: 0px !important;
  109. margin-top: -40px !important;
  110. left: 0px !important;
  111. }
  112. .post .img {
  113. width: 100% !important;
  114. max-height: 300px !important;
  115. min-height: 100px;
  116. background-size: cover !important;
  117. }
  118. .post .img .fullsize {
  119. background-size: cover !important;
  120. }
  121. .post .img .details {
  122. z-index: 50;
  123. }
  124. .post blockquote {
  125. padding-left: 10px;
  126. padding-top: 10px;
  127. padding-bottom: 10px;
  128. }
  129. }
  130. @media screen and (max-width: 500px) {
  131. .post .sep, .user .address {
  132. display: none;
  133. }
  134. .post .added {
  135. margin-left: 10px;
  136. }
  137. }