Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. // FIX HEAD
  2. // Change background of .head with:
  3. .head {
  4. background: #333333;
  5. }
  6.  
  7.  
  8. // ADD RSS TO FORUM
  9. // Latest post, add this html:
  10. <div class="head">Latest posts <img src="/templates/default/images/social/white/rss.svg" alt="" class="fright" width="23px"></div>
  11.  
  12.  
  13.  
  14. // UPDATE SHARE
  15. .article .share {
  16. padding: 0px 14px 7px;
  17. line-height: 47px;
  18. }
  19. // Replace .article .share span with .article .share > span
  20. .article .share > span {
  21. background: none repeat scroll 0% 0% #428BCA;
  22. color: #FFF;
  23. font-weight: 800;
  24. padding: 7px 8px 10px 8px;
  25. padding: none;
  26. width: auto;
  27. box-shadow: 0px -4px rgba(0, 0, 0, 0.1) inset;
  28. }
  29.  
  30.  
  31. // FIX OVERLAPPING COMMENT ACTIONS
  32. // Replace styles for each of the class with theses
  33. .comment .comment-meta .comment-post {
  34. float: left;
  35. margin: 0;
  36. }
  37. .comment .comment-meta .comment-actions {
  38. float: left;
  39. margin: 6px 0 0 0;
  40. width: 100%;
  41. }
  42. .comment .comment-meta .comment-actions ul {
  43. float: left;
  44. }
  45.  
  46. // Better quotes in comments
  47. .comment .comment-body blockquote {
  48. margin: 0 0 14px 0;
  49. }
  50.  
  51. // In css/reset.css find blockquote and update the padding, looks a bit silly atm
  52. blockquote {
  53. padding: 0px 14px 0px 14px;
  54. }
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. // ADD GAMING ON LIUX NEXT TO LOGO
  65. // Replace current h1 with
  66. <h1 id="logo-res">
  67. <a href="/index.php"><img alt="" src="/templates/default/images/icon.svg"><span>Gaming On Linux</span></a>
  68. </h1>
  69.  
  70. // Update css
  71. #wrapper #header #logo-res {
  72. float: left;
  73. padding: 5px 0px 0px;
  74. margin: 0px;
  75. font-size: 16px;
  76. color: #ffffff;
  77. }
  78. // Add underneath
  79. #wrapper #header #logo-res a {
  80. color: #ffffff;
  81. float: left;
  82. }
  83. #wrapper #header #logo-res img {
  84. float: left;
  85. }
  86. #wrapper #header #logo-res span {
  87. display: none;
  88. margin-top: 20px;
  89. float: left;
  90. margin-left: 7px;
  91. }
  92.  
  93. /* DESKTOP */
  94. @media only screen and (min-width: 1200px) {
  95. #wrapper #header #logo-res span {
  96. display: inherit;
  97. }
  98. }
  99. /* MOBILE LANDSCAPE */
  100. @media only screen and (max-width: 480px) {
  101. #wrapper #header #logo-res span {
  102. display: inherit;
  103. }
  104. }
  105. /* MOBILE PORTRAIT */
  106. @media only screen and (max-width: 320px) {
  107. #wrapper #header #logo-res span {
  108. display: inherit;
  109. }
  110. }
  111.  
  112.  
  113. // FIX GOTY GUTTER / EXTRA space
  114. // This may be problematic if each box is not the same (example one has an extra line in the title)
  115. // Wrap all the col-4 inside of .goty
  116. <div class="goty">
  117. <div class="col-4">...</div>
  118. <div class="col-4">...</div>
  119. <div class="col-4">...</div>
  120. <div class="col-4">...</div>
  121. <div class="col-4">...</div>
  122. <div class="col-4">...</div>
  123. <div class="col-4">...</div>
  124. </div>
  125.  
  126. // Add this css
  127. .goty .col-4 {
  128. width: 32.666666666666666666666666666667%;
  129. margin: 0;
  130. }
  131. .goty .col-4:nth-child(3n+2) {
  132. margin: 0 1%;
  133. }
  134. @media only screen and (max-width: 768px) {
  135. .goty .col-4 {
  136. width: 100%;
  137. }
  138. .goty .col-4:nth-child(3n+2) {
  139. margin: 0;
  140. }
  141. }
  142.  
  143.  
  144. // Find .dark a.button and replace with
  145. .dark input, .dark textarea, .dark select {
  146. background: #333;
  147. border: 1px solid #444;
  148. color: #ffffff;
  149. }
  150. .dark .button, .dark button, .dark input[type=submit], .dark input[type=reset], .dark input[type=button] {
  151. background: #428BCA;
  152. border: 1px solid #357CB7;
  153. color: #ffffff;
  154. }
  155. .dark .button:hover, .dark button:hover, .dark input[type=submit]:hover, .dark input[type=reset]:hover, .dark input[type=button]:hover {
  156. background: #357CB7;
  157. color: #ffffff;
  158. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement