Skip to content

Instantly share code, notes, and snippets.

Created September 27, 2017 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/819ba1ef1fb06f73159ac7523ee5df50 to your computer and use it in GitHub Desktop.
Save anonymous/819ba1ef1fb06f73159ac7523ee5df50 to your computer and use it in GitHub Desktop.
.palavra-home,.titulo-principal {
transform-style: preserve-3d;
}
html, body {
height: 100%;
overflow-x: hidden;
}
body {
-webkit-perspective: 6px;
perspective: 6px;
-webkit-perspective-origin: 50% 160px;
perspective-origin: 50% 160px;
}
.palavra-home {
position: absolute;
font-family: "Shadows Into Light", cursive;
font-weight: bold;
color: #D5447E;
font-size: .5em;
}
header {
position: relative;
}
.blog .inicio-post {
position: absolute;
background-color: #F2FFFC;
color: black;
top: 4em;
left: 30%;
right: 4em;
padding: 1.5em;
height: 8em;
}
.blog {
position: relative;
}
.blog .mais-recente {
background-color: #F2FFFC;
}
.blog .mais-recente a {
color: #F26;
}
.blog li {
width: 30%;
}
.foto-home {
height: 200px;
box-shadow: 0 0 1em #000;
}
.saudacao p {
font-size: 1.5em;
color: #99A;
line-height: 1;
padding: 2em;
}
.saudacao-inicio {
font-size: 3em;
color: #889;
}
.saudacao-ultima-linha {
text-align: right;
display: block;
}
.saudacao strong {
font-size: 2em;
color: #000;
}
.saudacao em {
color: #851944;
font-size: 4em;
transform: skew(-10deg) rotate(-5deg);
display: inline-block;
}
.botao-index {
font-size: 1.25em;
background-color: #851944;
color: #FFF;
padding: .5em;
border: .2em solid black;
width: 40ch;
margin: 2em auto;
display: block;
text-align: center;
box-shadow: 0 0 1em #000, inset 0 0 .5em #FFF;
}
.secao-inicio {
padding: 2em;
}
.secao-inicio h2 {
font-size: 3em;
text-shadow: 5px 5px #000;
text-transform: uppercase;
margin-bottom: .5em;
}
.trabalhos {
background-color: #3C1D3D;
border-top: .5em solid #000;
border-bottom: .5em solid #000;
}
.trabalhos h2 {
color: #FFF;
}
.trabalhos ul {
overflow: hidden;
border: .5em solid black;
}
.trabalhos li {
float: left;
width: 33.333%;
}
.trabalhos img {
width: 100%;
display: block;
}
.blog {
background-color: #999;
color: #FFF;
border-bottom: .5em solid #851944;
position: relative;
}
.blog small {
position: relative;
top: -2em;
}
.blog li a {
color: #FCF;
padding: .5em;
display: block;
}
footer {
background-color: #000;
color: #FFF;
padding: 2em;
}
footer a {
color: #F99;
}
main {
width: 100%;
padding-bottom: 0;
float: none;
}
.eficiencia {
top: 20%;
left: 75%;
-webkit-transform: rotate(-10deg);
transform: translate(-50%, -50%) rotate(-10deg) translateZ(4px);
}
.boas-praticas {
top: 70%;
left: 20%;
-webkit-transform: translate(-50%, -50%) rotate(10deg) translateZ(1px);
transform: translate(-50%, -50%) rotate(10deg) translateZ(1px);
}
.codigo-limpo {
top: 45%;
left: 10%;
-webkit-transform: translate(-50%, -50%) rotate(-10deg) translateZ(2px);
transform: translate(-50%, -50%) rotate(-10deg) translateZ(2px);
}
.css3 {
top: 50%;
left: 30%;
-webkit-transform: translate(-50%, -50%) rotate(5deg) translateZ(2px);
transform: translate(-50%, -50%) rotate(5deg) translateZ(2px);
}
.html5 {
top: 40%;
left: 80%;
-webkit-transform: translate(-50%, -50%) rotate(10deg) translateZ(2px);
transform: translate(-50%, -50%) rotate(10deg) translateZ(2px);
}
.javascript {
top: 10%;
left: 60%;
-webkit-transform: translate(-50%, -50%) rotate(-5deg) translateZ(1px);
transform: translate(-50%, -50%) rotate(-5deg) translateZ(1px);
opacity: 0.3;
}
.acessibilidade {
top: 30%;
left: 25%;
-webkit-transform: translate(-50%, -50%) rotate(-5deg) translateZ(3px);
transform: translate(-50%, -50%) rotate(-5deg) translateZ(3px);
opacity: .8;
}
.responsivo {
top: 15%;
left: 15%;
-webkit-transform: translate(-50%, -50%) rotate(10deg) translateZ(3px);
transform: translate(-50%, -50%) rotate(10deg) translateZ(3px);
}
.otimizacoes {
top: 60%;
left: 70%;
-webkit-transform: translate(-50%, -50%) rotate(-5deg) translateZ(2px);
transform: translate(-50%, -50%) rotate(-5deg) translateZ(2px);
}
.agilidade {
top: 10%;
left: 30%;
-webkit-transform: translate(-50%, -50%) rotate(5deg) translateZ(1px);
transform: translate(-50%, -50%) rotate(5deg) translateZ(1px);
}
.design {
top: 35%;
left: 65%;
-webkit-transform: translate(-50%, -50%) rotate(10deg) translateZ(2px);
transform: translate(-50%, -50%) rotate(10deg) translateZ(2px);
}
.borda-foto {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
.banner-twitter {
width: 14em;
line-height: 1;
padding: 1em 0;
box-sizing: border-box;
text-align: center;
text-decoration: none;
background-color: #3C1D3D;
color: white;
border: .25em solid black;
font-family: 1.2em;
font-family: "Open Sans Condensed", sans-serif;
position: absolute;
top: 0;
right: 0;
transform-origin: 0 0;
transform: translate(6.5754em, -2.4749em) rotate(45deg);
}
.pespectiva-palavras {
perspective: 6px;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment