𝕩𝔼𝕎-𝔼𝕄𝕆𝕩's profile picture

Published by

published
updated

Category: SpaceHey

codes I use to make layouts- (Part 1, I'll most likely make part 2 later)

Base codes- (Main background, background, etc)

You can change the "background-color" to just "background" and put the image address there. (Only .png and .gif normally work)

<style>

/* background of the page (i.e. left and right of your profile) */

body {

  background-color: #111;

}

/* your profile itself. main does not encompass the header/footer, which I prefer to leave alone */

main {

  background-color: #333;

  color: #ccc;

}

/* links within main. --green is a variable from spacehey's own CSS */

main a {

  color: var(--green);

}

/* color/style of borders around tables on the left */

.profile .contact, .profile .table-section, .profile .url-info {

  border: 1px solid #111;

}

/* colors for the table headings on the left */

.profile .contact .heading, .profile .table-section .heading, .home-actions .heading {

  background-color: #444;

  color: #bbb;

}

/* colors for table cell background (by default spacehey has a separate color for :first-child) */

.profile .table-section .details-table td {

  background-color: #333;

  color: #ccc;

}

/* headings on the right */

.profile .blurbs .heading, .profile .friends .heading {

  background-color: #444;

  color: #bbb;

}

</style>


Little buddy- You can replace with a gif or a still .png image. 

}

.person:hover {

  animation: shake 0.5s;

  animation-iteration-count: infinite;

}

.count {

  color: var(--links);

}

footer:after{

  bottom: 0;

  font-size:0;

  left: 75%;

  position:fixed;

  pointer-events: none;

  content:url(PUT YOUR URL HERE!!!);

  animation: slideIn 2s forwards;

}

@keyframes shake {

  0% { transform: translate(1px, 1px) rotate(0deg); }

  10% { transform: translate(-1px, -2px) rotate(-1deg); }

  20% { transform: translate(-3px, 0px) rotate(1deg); }

  30% { transform: translate(3px, 2px) rotate(0deg); }

  40% { transform: translate(1px, -1px) rotate(1deg); }

  50% { transform: translate(-1px, 2px) rotate(-1deg); }

  60% { transform: translate(-3px, 1px) rotate(0deg); }

  70% { transform: translate(3px, 1px) rotate(-1deg); }

  80% { transform: translate(-1px, -1px) rotate(1deg); }

  90% { transform: translate(1px, 2px) rotate(0deg); }

  100% { transform: translate(1px, -2px) rotate(-1deg); }

}

@keyframes rotation {

  from {

    transform: rotate(0deg);

  }

  to {

    transform: rotate(359deg);

  }

@keyframes slideIn {

  0% {

    transform: translateX(900px);

  }

  100% {

    transform: translateX(0);

  }

}

@media screen and (min-width: 0px) and (max-width: 720px) {

  footer:after { display: none; }

}

Raining things- You can replace the hearts with any emoji you want.

<div class="snowflakes">


  <div class="snowflake">


   ♥


  </div>


  <div class="snowflake">


  ♥


  </div>


  <div class="snowflake">


  ♥


  </div>


  <div class="snowflake">


  ♥


  </div>


  <div class="snowflake">


  ♥


  </div>


  <div class="snowflake">


  ♥


  </div>


  <div class="snowflake">


    ♥


  </div>


  <div class="snowflake">


    ♥


  </div>


  <div class="snowflake">


    ♥


  </div>


  <div class="snowflake">


    ♥


  </div>


  <div class="snowflake">


    ♥


  </div>


  <div class="snowflake">


    ♥


  </div>


</div>


<style>


/* customizable snowflake styling */


.snowflake {


  color: purple;


  font-size: 1em;


  font-family: Arial, sans-serif;


  text-shadow: 0 0 5px rgba(0,0,0,0.7);

}

@-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}.snowflake:nth-of-type(10){left:25%;-webkit-animation-delay:2s,0s;animation-delay:2s,0s}.snowflake:nth-of-type(11){left:65%;-webkit-animation-delay:4s,2.5s;animation-delay:4s,2.5s}



0 Kudos

Comments

Displaying 1 of 1 comments ( View all | Add Comment )

Liam☆

Liam☆'s profile picture

TYY


Report Comment



NPP!! Imma try to make a part two sooooon

by 𝕩𝔼𝕎-𝔼𝕄𝕆𝕩; ; Report

still kinda confused since im stupid but I think I understand

by Liam☆; ; Report

Sorry- I'm also not the best at explaining things ;v; If you need any help or have anymore questions you can feel free to message me-

by 𝕩𝔼𝕎-𝔼𝕄𝕆𝕩; ; Report