User:Pax/secret.css: Difference between revisions

From From Dusk till Jawn
Jump to navigation Jump to search
(Created page with "@import url('https://fonts.googleapis.com/css?family=Raleway:200'); body { font-family: 'Raleway', sans-serif; background:#eee; } .wrapper { position: absolute; top:...")
 
No edit summary
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
@import url('https://fonts.googleapis.com/css?family=Raleway:200');
body {
  font-family: 'Raleway', sans-serif;
  background:#eee;
}
.wrapper {
  position: absolute;
  top: 10%;
  left: 40%;
  width: 300px;
  height: 500px;
  perspective: 900px;
}
.container {
.container {
   position: absolute;
   position: relative;
   top: 0%;
   display: inline-block;  
   width: 100%;
   border-radius: 2em 2em 2em 2em;
  height: 100%;
  transition: .5s all ease;
  transform: rotateX(60deg) scale(0.7);
  perspective: 900px;
  box-shadow: 0px 20px 50px #555;
  animation: entry 1s linear 1;
}
}


#c0 {
.container2 {
   position: absolute;
   position: relative;
  top: 0%;
   display: inline-block;  
  width: 100%;
   border-radius: 2em 2em 2em 2em;
   height: 100%;
  background: linear-gradient(to bottom, #eba65b 30%, #d99267 100%);
  z-index: 300;
  box-shadow: 0px 20px 100px #555;
}
 
#c1 {
  background: linear-gradient(to bottom, #59476f 30%, #7b88d1 100%);
  box-shadow: 0px 20px 100px #555;
  left: 100%;
  z-index: 0;
}
 
#c2 {
  left: -100%;
  z-index: 0;
  background: linear-gradient(to bottom, #59476f 30%, #7b88d1 100%);
  box-shadow: 0px 20px 100px #555;
}
 
.container:hover {
  cursor: pointer;
  transform: rotate(0deg) scale(1) translateY(10px);
  transition: .5s all ease;
   z-index: 400;
}
}


.image {
.image {
   position: absolute;
   display: block;
  top: 0%;
  left: 0%;
   width: 100%;
   width: 100%;
   height: 45%;
   height: auto;
   background: linear-gradient(to top, #eba65b 30%, #d99267 100%);
   border-radius: 2em 2em 2em 2em;
}
 
#i1 {
  background: linear-gradient(to bottom, #59476f 30%, #7b88d1 100%);
}
 
#i2 {
  background: linear-gradient(to bottom, #59476f 30%, #7b88d1 100%);
}
}


span {
.overlay {
   position: absolute;
   position: absolute;
  top: 0%;
   border-radius: 2em 2em 2em 2em;
  left: 55%;
   top: 0;
   border-radius: 100%;
   bottom: 0;
   background-color: #fff;
   left: 0;
   z-index: 10;
   right: 0;
}
   height: 100%;
 
.sun {
   position: absolute;
   top: 50%;
   height: 50%;
  left: 0%;
   width: 100%;
   width: 100%;
}
.sun1 {
  width: 50px;
  height: 50px;
  box-shadow: 0px 0px 10px #fff;
}
.st4 {
  fill: #f8c56f;
   opacity: 1;
   opacity: 1;
  transition: .5s ease;
  background-color: #140E0A;
}
}


.st5,
.overlay2 {
.st7 {
  fill: #fff;
}
 
#sh2 {
  opacity: 0.5;
}
 
#sh3 {
  opacity: 0.3;
}
 
.st6 {
  fill: #59476f;
}
 
.st10 {
  fill: #c5a7e5;
  stroke: #222;
}
 
.st11 {
  stroke: #212121;
  opacity: 0.5;
}
 
#sh1 {
  fill: #f8c56f;
  opacity: 0.4;
}
 
.st0 {
  fill: #a25a62;
  stroke: none;
  stroke-miterlimit: 10;
}
 
.st1 {
  fill: none;
  stroke: #a25a62;
  stroke-width: 2;
  stroke-miterlimit: 10;
}
 
.st2 {
  fill: #cd775c;
}
 
.st3 {
  fill: #fff;
  opacity: 0.3;
}
 
.story {
   position: absolute;
   position: absolute;
   top: 45%;
  border-radius: 2em 2em 2em 2em;
   left: 0%;
   top: 0;
   height: 55%;
  bottom: 0;
   left: 0;
  right: 0;
   height: 100%;
   width: 100%;
   width: 100%;
   background: linear-gradient(to bottom, #eba65b 0%, #d99267 40%);
   opacity: 0;
   z-index: 30;
   transition: .5s ease;
  background-color: #140E0A;
}
}


#s1 {
.container:hover .overlay {
   background: linear-gradient(to top, #5b62a2 0%, #7b88d1 100%);
   opacity: 0;
  border-radius:2em 2em 2em 2em;
}
}


#s2 {
.container2:hover .overlay2 {
   background: linear-gradient(to top, #5b62a2 0%, #7b88d1 120%);
   opacity: 1;
  border-radius:2em 2em 2em 2em;
}
}


.info {
.text {
  color: white;
  font-size: 12pt;
   position: absolute;
   position: absolute;
   top: 10%;
   font-family: Josefin Sans;
}
   top: 50%;
 
   left: 50%;
h3 {
   -webkit-transform: translate(-50%, -50%);
  text-align: center;
   -ms-transform: translate(-50%, -50%);
  text-shadow: 0px 0px 10px #eee;
   transform: translate(-50%, -50%);
  color: #eee;
  letter-spacing: 2px;
}
 
h4 {
  color: #111;
  position: absolute;
   top: 30%;
   left: 30%;
   letter-spacing: 2px;
}
 
h1 {
  color: #111;
  position: fixed;
  top: 0%;
  left: 30%;
   letter-spacing: 2px;
}
 
p {
  font-size: 14px;
   color: #fff;
  padding: 0px 20px 20px 20px;
  line-height: 150%;
   text-align: center;
   text-align: center;
  letter-spacing: 1px;
}
.page {
  position: absolute;
  top: 80%;
  width: 100%;
  left: 0%;
  height: 20%;
  z-index: 30;
}
li {
  position: absolute;
  top: 50%;
  list-style: none;
  color: #111;
}
li:nth-child(1) {
  left: 15%;
  animation: simple1 1s linear infinite;
}
li:nth-child(2) {
  right: 15%;
  animation: simple 1s linear infinite;
}
@keyframes simple {
  50% {
    transform: translateX(10px);
    opacity: 0.5;
  }
  100% {
    transform: translateX(10px);
    opacity: 0;
  }
}
@keyframes simple1 {
  50% {
    transform: translateX(-10px);
    opacity: 0.5;
  }
  100% {
    transform: translateX(-10px);
    opacity: 0;
  }
}
@keyframes entry {
  0% {
    top: -20%;
    opacity: 0.1;
  }
  100% {
    top: 0%;
  }
}
}

Latest revision as of 09:15, 18 January 2021

.container {
  position: relative;
  display: inline-block; 
  border-radius: 2em 2em 2em 2em;
}

.container2 {
  position: relative;
  display: inline-block; 
  border-radius: 2em 2em 2em 2em;
}

.image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2em 2em 2em 2em;
}

.overlay {
  position: absolute;
  border-radius: 2em 2em 2em 2em;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 1;
  transition: .5s ease;
  background-color: #140E0A;
}

.overlay2 {
  position: absolute;
  border-radius: 2em 2em 2em 2em;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #140E0A;
}

.container:hover .overlay {
  opacity: 0;
  border-radius:2em 2em 2em 2em;
}

.container2:hover .overlay2 {
  opacity: 1;
  border-radius:2em 2em 2em 2em;
}

.text {
  color: white;
  font-size: 12pt;
  position: absolute;
  font-family: Josefin Sans;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}