Advertisement
althindor

Code for Psycho After Dark

Dec 29th, 2017
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 7.33 KB | None | 0 0
  1. /* Code by AlthIndor */
  2.  
  3. html, body {
  4.  background: url('http://www.stellarscapes.net/wp-content/uploads/2015/03/MilkyWayPano_SnowCamp_process.jpg') fixed center;
  5.  background-size: cover;
  6. }
  7.  
  8. /* Fonts */
  9.  
  10. @font-face {
  11.  font-family: 'Open Sans Condensed';
  12.  font-style: normal;
  13.  font-weight: 700;
  14.  src: local('Open Sans Condensed'), local('OpenSans-Condensed'), url(https://fonts.gstatic.com/s/opensanscondensed/v10/gk5FxslNkTTHtojXrkp-xONSK5BxN3NFS4EJkViHIqo.woff) format('woff');
  15. }
  16.  
  17. @font-face {
  18.  font-family: 'Dancing Script';
  19.  font-style: normal;
  20.  font-weight: 400;
  21.  src: local('Dancing Script Regular'), local('DancingScript-Regular'), url(http://fonts.gstatic.com/s/dancingscript/v9/DK0eTGXiZjN6yA8zAEyM2VhlQWQpSCpzb2Peu3I-Q34.woff) format('woff');
  22. }
  23.  
  24. @font-face {
  25.  font-family: 'Muli';
  26.  font-style: normal;
  27.  font-weight: 400;
  28.  src: local('Muli Regular'), local('Muli-Regular'), url(http://fonts.gstatic.com/s/muli/v10/kU4XYdV4jtS72BIidPtqyw.woff) format('woff');
  29. }
  30.  
  31. /* Header */
  32.  
  33. #gaia_header {
  34.  background: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,0)) !important;
  35.  background-origin: border-box !important;
  36.  border-bottom: 10px solid transparent;
  37. }
  38.  
  39. #gaia_header #header_left, #gaia_header #header_right {
  40.  background: none !important;
  41.  font-size: 0px !important;
  42.  padding: 0 3px 0 3px !important;
  43. }
  44. #gaia_header #header_right {float: right !important;}
  45.  
  46. #gaia_header li {padding: 0 4px 0 4px;}
  47. #gaia_header li.spacer {display: none !important;}
  48. #header_left li:nth-of-type(2) {padding: 0 3px 0 2px;}
  49.  
  50. #header_left img {
  51.  background: url('https://i.imgur.com/w0Cbo9w.png') 0px 3px no-repeat !important;
  52.  width: 0 !important;
  53.  padding: 0 37px 0 0 !important;
  54. }
  55.  
  56. #gaia_header a {
  57.  color: #FFFFFF !important;
  58.  font-family: 'Open Sans Condensed', sans-serif;
  59.  font-size: 11px !important;
  60.  letter-spacing: .03em;
  61.  text-transform: uppercase;
  62.  text-decoration: none;
  63.  transition: opacity .5s ease-in-out;
  64. }
  65. #gaia_header a:hover {opacity: .5;}
  66.  
  67. /* Scrollbars */
  68.  
  69. #columns {
  70.  scrollbar-track-color: #000000;
  71.  scrollbar-arrow-color: #808080;
  72.  scrollbar-face-color: #808080;
  73.  scrollbar-shadow-color: #000000;
  74. }
  75.  
  76. #columns ::-webkit-scrollbar {
  77.  background: #000000;
  78.  width: 10px;
  79.  border-radius: 5px;
  80. }
  81.  
  82. #columns ::-webkit-scrollbar-thumb {
  83.  background: #808080;
  84.  border-radius: 5px;
  85. }
  86.  
  87. /* Columns */
  88.  
  89. #columns, #column_1, #column_2, #column_3 {
  90.  padding: 0;
  91.  margin: 0;
  92. }
  93.  
  94. #columns {
  95.  width: 940px;
  96.  height: 320px;
  97.  left: calc((100% - 940px) / 2);
  98.  top: calc((100% - 320px) / 2 + 5px);
  99.  overflow: visible;
  100. }
  101.  
  102. #column_1, #column_2, #column_3 {width: 300px;}
  103. #column_2, #column_3 {margin-left: 20px;}
  104.  
  105. /* Username */
  106.  
  107. #columns::before {
  108.  content: 'Psycho After Dark';
  109.  width: 100%;
  110.  color: #FFFFFF;
  111.  font-family: 'Dancing Script';
  112.  font-size: 42px;
  113.  font-weight: bold;
  114.  line-height: 0;
  115.  text-align: center;
  116.  text-shadow: 0 2px 3px #000, 0 -2px 3px #000, -2px 0 3px #000, 2px 0 3px #000;
  117.  position: absolute;
  118.  top: -40px;
  119.  left: 0;
  120. }
  121.  
  122. /* Panels */
  123.  
  124. .panel {
  125.  color: rgba(255,255,255,.9);
  126.  font-family: 'Muli', sans-serif;
  127.  text-align: justify;
  128.  padding: 0;
  129.  margin: 0;
  130.  overflow: hidden;
  131. }
  132. .panel h2 {display: none;}
  133.  
  134. .panel a {
  135.  color: inherit;
  136.  font-weight: normal;
  137. }
  138.  
  139. #id_footprints, #id_journal {text-align: center;}
  140. #id_footprints .item {margin-bottom: 3px;}
  141. #id_journal #entries li:nth-last-of-type(n+2) {margin-bottom: 3px;}
  142.  
  143. /* Why yes, this border-image is an IE hack! */
  144.  
  145. .panel:not(#id_contact):not(.media_panel) {
  146.  background: none;
  147.  width: 100%;
  148.  height: 150px !important;
  149.  margin: 0 0 20px 0;
  150.  border: 10px solid transparent;
  151.  border-image: url('https://i.imgur.com/Yb209Zv.png') 10 fill;
  152.  box-sizing: border-box;
  153. }
  154.  
  155. #id_about:hover, #id_wishlist:hover, #id_interests:hover, #id_footprints:hover {
  156.  padding-right: 10px;
  157.  overflow-y: scroll;
  158. }
  159.  
  160. /* Things That Are Buttons */
  161.  
  162. #id_comments #alert_container, #id_journal h2 ~ p:nth-of-type(1), #id_contact ul:not(.buttons) li, .media_panel {
  163.  background: url('https://i.imgur.com/vcNz49l.png');
  164.  background-color: rgba(0,0,0,.8);
  165.  background-size: 34px auto;
  166.  width: 40px;
  167.  height: 40px !important;
  168.  font-size: 0px;
  169.  padding: 0;
  170.  margin: 0;
  171.  border-radius: 10px;
  172.  overflow: hidden;
  173.  transition: opacity .5s ease-in-out;
  174. }
  175. #id_comments #alert_container:hover, #id_journal h2 ~ p:nth-of-type(1):hover, #id_contact ul:not(.buttons) li:hover, .media_panel:hover {opacity: .5;}
  176.  
  177. #id_comments #alert_container, #id_journal h2 ~ p:nth-of-type(1), #id_contact, .media_panel  {
  178.  position: fixed;
  179.  top: calc((100% - 320px) / 2 + 345px);
  180. }
  181.  
  182. #id_comments #alert_container a, #id_journal h2 ~ p:nth-of-type(1) a, #id_contact ul:not(.buttons) li a {
  183.  display: block;
  184.  width: 100%;
  185.  height: 100%;
  186. }
  187.  
  188. /* Contact */
  189.  
  190. #id_contact {
  191.  background: none;
  192.  left: calc((100% - 300px) / 2);
  193. }
  194. #id_contact ul:not(.buttons) li {float: left;}
  195. #id_contact ul:not(.buttons) li:nth-of-type(n+2) {margin-left: 12px;}
  196.  
  197. #id_contact ul:not(.buttons) li:nth-of-type(1) {background-position: 3px 3px;}
  198. #id_contact ul:not(.buttons) li:nth-of-type(2) {background-position: 3px -31px;}
  199. #id_contact ul:not(.buttons) li:nth-of-type(3) {background-position: 3px -65px;}
  200.  
  201. /* Comments and Journal */
  202.  
  203. #id_journal h2 ~ p:nth-of-type(1) {
  204.  background-position: 3px -167px;
  205.  left: calc((100% - 300px) / 2 + 260px);
  206. }
  207.  
  208. #id_comments dl, #id_journal #entries {
  209.  width: 100%;
  210.  padding: 0;
  211.  margin: 0;
  212.  box-sizing: border-box;
  213.  overflow: hidden;
  214. }
  215. #id_comments dl {height: 100%;}
  216. #id_journal #entries {height: calc(100% - 26px);}
  217.  
  218. #id_comments dl:hover, #id_journal #entries:hover {
  219.  padding-right: 10px;
  220.  overflow-y: scroll;
  221. }
  222.  
  223. /* Comments */
  224.  
  225. #id_comments .dropBox {display: none;}
  226. #id_comments h2 ~ p  {display: none;}
  227. #alerts_banner {display: none;}
  228.  
  229. #id_comments #alert_container {
  230.  background-position: 3px -200px;
  231.  left: calc((100% - 300px) / 2 + 208px);
  232. }
  233.  
  234. #id_comments dt {
  235.  height: auto;
  236.  line-height: 1em;
  237.  text-align: left;
  238.  padding: 0 0 3px 0;
  239.  margin-bottom: 3px;
  240.  border-bottom: 1px solid #808080;
  241. }
  242.  
  243. #id_comments .username {float: none;}
  244. #id_comments .date {line-height: 1.7em;}
  245. #id_comments dd:nth-last-of-type(n+2) {margin-bottom: 10px;}
  246.  
  247. #id_comments .deletecomment {
  248.  background: rgba(255,255,255,.2);
  249.  text-align: right;
  250.  padding: 3px 5px 4px 5px;
  251.  margin: 3px 0 0 5px;
  252.  border-radius: 5px;
  253. }
  254.  
  255. /* Interests */
  256.  
  257. #id_interests {text-align: center;}
  258. #id_interests h3 {margin-bottom: 2px;}
  259. #id_interests h3:nth-of-type(n+2) {margin-top: 10px;}
  260. #id_interests .interest_tags li:nth-last-of-type(n+2)::after {content: ',';}
  261.  
  262. /* Wish List */
  263.  
  264. #id_wishlist {
  265.  display: flex;
  266.  flex-flow: row wrap;
  267.  justify-content: space-between;
  268.  align-content: flex-start;
  269. }
  270. #id_wishlist .premium_sparkle {display: none;}
  271. #id_wishlist .clear {display: none;}
  272.  
  273. #id_wishlist .item {
  274.  background: rgba(255,255,255,.2);
  275.  height: 30px;
  276.  padding: 4px;
  277.  margin: 0 2px 6px 2px;
  278.  position: relative;
  279.  border-radius: 5px;
  280.  transition: background .5s ease-in-out;
  281. }
  282. #id_wishlist .item:hover {background: rgba(255,255,255,.5);}
  283.  
  284. #id_wishlist .owner_checkmark {
  285.  top: -8px;
  286.  right: 5px;
  287. }
  288.  
  289. /* Media */
  290.  
  291. .media_panel {
  292.  background-position: 3px -99px;
  293.  left: calc((100% - 300px) / 2 + 156px);
  294. }
  295.  
  296. .media_panel object {
  297.  width: 200px;
  298.  height: 200px;
  299.  position: absolute;
  300.  bottom: 1px;
  301.  left: -7px;
  302.  opacity: 0;
  303. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement