Shieldxx

r/Hattrick test 0.0.1

Jun 1st, 2016
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.08 KB | None | 0 0
  1. /*HEADER BACKGROUND*/
  2.  
  3. #header {
  4.     height: 220px;
  5.     background: url(%%background%%);
  6.     background-size: cover;
  7.     border: none;
  8. }
  9. /*HEADER*/
  10.  
  11. #header .pagename {
  12.     width: 100%;
  13.     display: block;
  14.     position: absolute;
  15.     top: -278px;
  16.     z-index: -1;
  17. }
  18. #header .pagename {
  19.     font-size: 0;
  20. }
  21. <style>…</style> .redditname,
  22. .score .number {
  23.     font-family: Roboto !important;
  24.     font-weight: bold !important;
  25. }
  26. .pagename {
  27.     font-weight: bold;
  28.     margin-right: 1ex;
  29.     font-variant: small-caps;
  30.     font-size: 1.3em;
  31.     vertical-align: bottom;
  32. }
  33. *,
  34. :before,
  35. :after {
  36.     -webkit-box-sizing: border-box;
  37.     -moz-box-sizing: border-box;
  38.     box-sizing: border-box;
  39. }
  40. /*REDDIT IKONA*/
  41.  
  42. #header-img.default-header,
  43. #header-img {
  44.     z-index: 99;
  45.     width: 48px;
  46.     padding-left: 48px;
  47.     height: 54px;
  48.     background-image: url(%%redditlogoht%%);
  49.     background-size: cover;
  50.     background-position: center;
  51.     position: relative;
  52. }
  53. #header-img {
  54.     margin-top: 140px;
  55.     margin-left: 20px;
  56. }
  57. /*SUBREDITS LISTA*/
  58.  
  59. #sr-header-area {
  60.     background-color: rgba(0, 0, 0, 0.05);
  61.     border: 0 solid;
  62.     transition: all .15s ease;
  63.     height: 24px;
  64.     line-height: 23px;
  65.     text-transform: uppercase;
  66. }
  67. #sr-header-area .sr-list {
  68.     margin-right: 48px;
  69. }
  70. #sr-header-area .width-clip {
  71.     right: 300px;
  72. }
  73. #sr-more-link {
  74.     background-color: transparent
  75. }
  76. /*RIGHT SIDEBAR*/
  77.  
  78. .side {
  79.     float: right;
  80.     background-color: white;
  81.     margin: 0px 5px 0 5px;
  82.     width: 300px;
  83.     position: relative;
  84.     top: 0px;
  85. }
  86. body > .content {
  87.     margin: 15px 5px 0;
  88. }
  89. /*LOGOUT BAR*/
  90.  
  91. #header-bottom-right {
  92.     position: absolute;
  93.     top: 0;
  94.     right: 0;
  95.     width: auto;
  96.     max-width: 300px;
  97.     height: 24px;
  98.     background-color: transparent;
  99.     font-size: 11px;
  100.     color: rgba(255, 255, 255, 0.45);
  101.     padding: 5px 8px 4px 2px;
  102. }
  103. a {
  104.     text-decoration: none;
  105.     color: black;
  106. }
  107. .separator {
  108.     color: transparent;
  109. }
  110. .user {
  111.     color: black;
  112. }
  113. /*MENU*/
  114. /*MENU TABS DELETE*/
  115.  
  116. #header-bottom-left .tabmenu #viewImagesButton,
  117. #header-bottom-left .tabmenu li a[href$="/controversial/"],
  118. #header-bottom-left .tabmenu li a[href$="/rising/"],
  119. #header-bottom-left .tabmenu li a[href$="/top/"],
  120. #header-bottom-left .tabmenu li a[href$="/gilded/"],
  121. #header-bottom-left ul.tabmenu li a[href="https://www.reddit.com/r/shieldxxtest/ads/"] {
  122.     display: none;
  123. }
  124. #header .tabmenu li {
  125.     margin: 0;
  126. }
  127. #header .tabmenu a {
  128.     margin: 0 3px;
  129. }
  130. /*END MENU TABS DELETE*/
  131. /*MENU BG*/
  132.  
  133. #header .tabmenu:before {
  134.     content: "";
  135.     display: block;
  136.     position: absolute;
  137.     top: 170px;
  138.     left: 0px;
  139.     right: 0px;
  140.     background-color: rgba(0, 0, 0, 0.24);
  141.     height: 42px;
  142.     z-index: -1;
  143. }
  144. /*END MENU BG*/
  145.  
  146. #header .tabmenu li a {
  147.     color: white;
  148.     background-color: transparent;
  149.     border: none;
  150. }
  151. #header .tabmenu .selected a {
  152.     color: white;
  153.     background-color: transparent;
  154.     border: none;
  155.     background: url(%%tabsimg%%);
  156.     padding: 12px;
  157. }
  158. .tabmenu li {
  159.     margin: 0px 30px;
  160.     position: relative;
  161.     display: inline-block;
  162.     top: -25px;
  163. }
  164. #header .tabmenu li a:hover,
  165. .pagename a:hover {
  166.     background-color: rgba(0, 0, 0, 0.12);
  167.     padding: 14px;
  168. }
  169. #header .tabmenu li a:hover {
  170.     color: rgba(255, 255, 255, 1);
  171.     background-color: rgba(0, 0, 0, 0.08);
  172. }
  173. /*GAVIN19 MENU MINIMIZED FIX*/
  174.  
  175. #header .tabmenu {
  176.     position: absolute;
  177.     bottom: 8px;
  178.     left: 0;
  179.     right: 0;
  180.     line-height: 42px;
  181.     margin: -6px;
  182.     max-height: 42px;
  183.     overflow: hidden;
  184.     padding-left: 70px;
  185.     white-space: normal;
  186. }
  187. #header .tabmenu:before {
  188.     bottom: 0;
  189.     top: auto;
  190. }
  191. #header .tabmenu li {
  192.     margin: 0;
  193.     padding: 2px 2%;
  194.     /*menu offset*/
  195.    
  196.     top: 0;
  197. }
  198. /*END GAVIN19 MENU MINIMIZED FIX*/
  199. /*END MENU*/
  200. /* PRETTY SUBMIT LINKS by /u/RainbowCrash*/
  201.  
  202. .morelink {
  203.     font-weight: normal;
  204.     letter-spacing: 0;
  205.     background: #08B36D;
  206.     border: none;
  207.     -moz-border-radius: 2px;
  208.     -webkit-border-radius: 2px;
  209.     -o-border-radius: 2px;
  210.     -ms-border-radius: 2px;
  211.     -khtml-border-radius: 2px;
  212.     border-radius: 2px;
  213.     height: 30px;
  214.     line-height: 30px;
  215.     overflow: hidden;
  216.     color: white;
  217. }
  218. .morelink:hover {
  219.     background: #078853;
  220.     background-color: #078853;
  221.     border-color: #078853;
  222. }
  223. .morelink .nub {
  224.     display: none;
  225. }
  226. .morelink {
  227.     color: #FFF;
  228.     font-family: Verdana, Arial, sans-serif;
  229.     font-size: 16px;
  230.     width: 145px;
  231. }
  232. .morelink a,
  233. .morelink a:hover {
  234.     color: white;
  235. }
  236. .sidebox.submit-link .morelink::before {
  237.     display: block;
  238.     clear: none;
  239.     content: "Submit a Link";
  240.     font-size: 95%;
  241. }
  242. .sidebox.submit-text .morelink::before {
  243.     display: block;
  244.     clear: none;
  245.     content: "Submit a Self Post";
  246.     font-size: 90%;
  247. }
  248. .sidebox.submit .morelink a {
  249.     position: absolute;
  250.     top: 0;
  251.     padding-left: 1000px;
  252.     font-size: 0px;
  253.     text-align: right;
  254.     color: #56a6f7;
  255. }
  256. .sidebox.submit.submit-link {
  257.     width: 150px;
  258. }
  259. .sidebox.submit.submit-text {
  260.     margin-top: -42px;
  261.     /*Edit this is the buttons aren't parallel*/
  262.    
  263.     margin-left: 153px;
  264. }
  265. .sidebox.create {
  266.     display: none;
  267. }
  268. .sidebox.submit.disabled {
  269.     display: none;
  270. }
  271. /* NIGHTMODE FIXES */
  272.  
  273. .res-nightmode .sidebox.submit.submit-text {
  274.     background: none !important;
  275.     margin-top: -45px;
  276.     margin-left: 153px;
  277. }
  278. .res-nightmode .sidebox {
  279.     padding-left: 0px !important;
  280.     border: 2px solid #151515 !important;
  281. }
  282. .res-nightmode .morelink {
  283.     height: 29px !important;
  284. }
  285. .res-nightmode .morelink {
  286.     background: rgb(39, 63, 87) !important;
  287. }
  288. .res-nightmode .morelink:hover {
  289.     background: #449ef8 !important;
  290.     background-color: #9edbf8 !important;
  291.     border-color: #9edbf8 !important;
  292. }
  293. /* END NIGHTMODE FIX */
  294. /* END PRETTY SUBMIT LINKS */
  295. /*MISC*/
  296.  
  297. body > .content {
  298.     margin: 15px 5px 0;
  299. }
  300. /*SIDEBAR*/
  301.  
  302. a[href="/sidebar"]:after {
  303.     content: url(%%sidebarpic%%)
  304. }
  305. /*END SIDEBAR*/
  306. /*END MISC*/
Add Comment
Please, Sign In to add comment