Advertisement
Leafzelindor

Untitled

Dec 15th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.29 KB | None | 0 0
  1. /* Define Variables */
  2. :root {
  3. --corner-curve: 10px;
  4. /* Use 0px for square corners */
  5. --bg-image-blend: overlay;
  6. /* normal|multiply|screen|overlay|darken|lighten|color-dodge|saturation|color|luminosity */
  7. --grad-size: farthest-side;
  8. /* closest-corner|farthest-corner|closest-side|farthest-side */
  9. --grad-center-x: 15%;
  10. --grad-center-y: 25%;
  11. --bg-grad-midpoint: 45%;
  12. --bg-grad-color1: #243;
  13. --bg-grad-color2: #443;
  14. --bg-grad-color3: #467;
  15. --modal-bg-color: rgba(0, 0, 0, .85);
  16. --side-bg-color: #222;
  17. --side-text-color: #eee;
  18. --avatar-border-color: #58c;
  19. --comm-label-color: #cc9944;
  20. --header-bg-color: #335511;
  21. --header-border-color: #611a04;
  22. --header-link-color: #DD9944;
  23. --comment-parent-color: #557733;
  24. --blockquote-bg: #bcd0e6;
  25. --followers-color: #ccaa22;
  26. --following-color: #66BB33;
  27. --mutuals-color: #22aacc;
  28. --link-color: #DD9944;
  29. --link-hover-color: #00FF00;
  30. }
  31.  
  32.  
  33. /* Bigger post text */
  34. .post .citation,
  35. .post .content,
  36. .post .tags,
  37. .fr-view,
  38. .comment-subheader,
  39. span[ng-bind-html='c.body'] {
  40. font-size: 1.15em !important;
  41. }
  42.  
  43. /* Space out lines of text in comments */
  44. span[ng-bind-html='c.body'] {
  45. line-height: 1.25em !important;
  46. }
  47.  
  48. /* Header Navbar */
  49. .navbar-inverse {
  50. background-color: var(--header-bg-color);
  51. border-color: var(--header-border-color);
  52. }
  53.  
  54. .nav-highlight a,
  55. .nav-logout a {
  56. color: var(--header-link-color);
  57. }
  58.  
  59. .navbar {
  60. height: 54px;
  61. }
  62. /* Removes slight gap between header and sidebar */
  63. /* Modal stuff */
  64. .modal-backdrop {
  65. background-color: var(--modal-bg-color);
  66. }
  67.  
  68. /* Feed Area and Sidebar */
  69. /* Posted to Community label */
  70. span[ng-if$="null"] a[href^="/community"]::after {
  71. content: " community";
  72. font-weight: bolder;
  73. letter-spacing: 1px;
  74. color: var(--comm-label-color);
  75. }
  76.  
  77. /* Link color */
  78. a {
  79. color: var(--link-color);
  80. }
  81. a:hover {
  82. color: var(--link-hover-color);
  83. }
  84.  
  85. /* rounded corners and borders */
  86. .main,
  87. .avatar img,
  88. .side-info .timestamp {
  89. border: 1px solid var(--avatar-border-color);
  90. border-radius: var(--corner-curve);
  91. }
  92.  
  93. /* Round just the top of the poster header */
  94. .post .header {
  95. border: 1px solid var(--avatar-border-color);
  96. border-top-left-radius: var(--corner-curve);
  97. border-top-right-radius: var(--corner-curve);
  98. border-bottom-right-radius: 0px !important;
  99. border-bottom-left-radius: 0px !important;
  100. }
  101.  
  102. /* Reset the permalink icon color so it shows up on the header */
  103. .post .post-perma-link a {
  104. color: var(--side-text-color);
  105. }
  106.  
  107. /* Round the bottom tabs to fit the main post body */
  108. .post .post-nav .post-nav-right .tab-leftmost {
  109. border-bottom-right-radius: var(--corner-curve);
  110. border-bottom: transparent;
  111. }
  112.  
  113. /* Remove bottom tab link hover color */
  114. .post-nav a:hover {
  115. background: transparent !important;
  116. }
  117.  
  118. /* Round the blockquote box */
  119. blockquote {
  120. background-color: var(--blockquote-bg);
  121. border-radius: var(--corner-curve);
  122. }
  123.  
  124. /* Post header and sidebars match */
  125. .post .header,
  126. .side-info .timestamp,
  127. .sidebar,
  128. .sidebar-boxes .sidebar-box,
  129. .sidebar .sidebar-row,
  130. .sidebar-header,
  131. .sidebar-toggle-indicator,
  132. .sidebar-boxes .sidebar-box:hover,
  133. .sidebar-icon {
  134. background-color: var(--side-bg-color);
  135. border-color: var(--side-bg-color);
  136. border-radius: var(--corner-curve);
  137. }
  138.  
  139. /* Remove rounded corner on sidebar */
  140. .sidebar {
  141. border-radius: 0px !important;
  142. }
  143.  
  144. /* Post heaader and sidebar text */
  145. .side-info .timestamp,
  146. .post .header,
  147. .sidebar,
  148. .sidebar a,
  149. .post-nav,
  150. .post-nav a {
  151. color: var(--side-text-color);
  152. }
  153.  
  154. /* Make the right edge of the sidebar sharper against the background */
  155. .sidebar {
  156. border-right: 1px solid var(--avatar-border-color);
  157. }
  158.  
  159. /* Set colors of the sidebar info tiles */
  160. .sidebar-boxes .sidebar-box.followers {
  161. color: var(--followers-color);
  162. }
  163.  
  164. .sidebar-boxes .sidebar-box.following {
  165. color: var(--following-color);
  166. }
  167.  
  168. .sidebar-boxes .sidebar-box.mutuals {
  169. color: var(--mutuals-color);
  170. }
  171.  
  172. /* Recolor that button on the messages page */
  173. .btn-primary {
  174. background-color: var(--side-bg-color);
  175. border-color: var(--avatar-border-color);
  176. color: var(--side-text-color);
  177. }
  178.  
  179. /* Comment styling */
  180. /* Comments Reblogs Likes tabs */
  181. #single-post-nav-tabs li > a {
  182. background-color: var(--header-bg-color);
  183. border-radius: var(--corner-curve);
  184. }
  185. /* Remove the bar under the tabs */
  186. #single-post-nav-tabs .nav-tabs {
  187. border-bottom: transparent;
  188. }
  189.  
  190. .thread {
  191. margin-bottom: 15px;
  192. }
  193. /* Separate parent comments with a bit more space */
  194. .child-comment {
  195. margin-top: 5px;
  196. }
  197. /* Separate child comments just a bit more */
  198. /* Child comment headers */
  199. .thread .main .header {
  200. background-color: var(--side-bg-color);
  201. border-top-left-radius: var(--corner-curve);
  202. border-top-right-radius: var(--corner-curve);
  203. border-bottom-right-radius: 0px;
  204. border-bottom-left-radius: 0px;color:#DDA;
  205. }
  206.  
  207. /* Parent comment headers */
  208. .thread > .main .header {
  209. background-color: var(--comment-parent-color);
  210. border-top-left-radius: var(--corner-curve);
  211. border-top-right-radius: var(--corner-curve);
  212. border-bottom-right-radius: 0px;
  213. border-bottom-left-radius: 0px;
  214. }
  215.  
  216. /* Hide the border around the tiny avatars in comment headers */
  217. .comment .header .avatar-container {
  218. border-color: transparent;
  219. }
  220.  
  221. /* Round the corners of the comment header avatar */
  222. .comment .header .avatar-container .avatar {
  223. border-radius: var(--corner-curve);
  224. }
  225.  
  226. /* Comment header buttons */
  227. .comment .header .comment-buttons button,
  228. .comment .header .comment-buttons .fa {
  229. color: var(--sidebar-text-color);
  230. }
  231.  
  232. /* Push the comment reply form down slightly */
  233. .main[style='padding:10px; margin-left:10px;'] {
  234. margin-top: 5px;
  235. }
  236.  
  237.  
  238. /* Community pages */
  239. /* Move the description bar to meet the collapsed sidebar */
  240. .community {
  241. margin-left: 59px;
  242. }
  243.  
  244. .community .nav,
  245. .community .nav .info .description,
  246. .community .forum .header {
  247. background-color: var(--comment-parent-color);
  248. color: var(--blockquote-bg) !important;
  249. }
  250.  
  251. /* Remove the community name from the info box */
  252. .community .nav .info .title {
  253. display: none;
  254. }
  255.  
  256. /* Make the descriotion bigger since removing the name leaves room for it */
  257. .community .nav .info .description {
  258. font-size: 14px;
  259. }
  260.  
  261. .community .comm-button {
  262. background-color: var(--side-bg-color);
  263. border-radius: var(--corner-curve);
  264. }
  265.  
  266. /* Only show scrollbars if they are needed */
  267. .community #comm-discs,
  268. .community #comm-posts {
  269. overflow: auto;
  270. }
  271.  
  272.  
  273. /* Embedded Background Image Overlay and Gradient (last section) */
  274. body {
  275. background-attachment: fixed !important;
  276. background-blend-mode: var(--bg-image-blend);
  277. background: url(http://getwallpapers.com/wallpaper/full/1/0/a/995915-sam-winchester-wallpaper-1920x1200-1080p.jpg), radial-gradient(var(--grad-size) at var(--grad-center-x) var(--grad-center-y), var(--bg-grad-color1) 0%, var(--bg-grad-color2) var(--bg-grad-midpoint), var(--bg-grad-color3) 100%);
  278. background-size: cover;
  279. background-repeat: no-repeat;
  280. background-position: top center;
  281. }
  282.  
  283. /* Base code created by Tephra */
  284. /* SPN layout created by Minerva*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement