Skip to content

Instantly share code, notes, and snippets.

@johanmendezb
Created June 7, 2016 00:31
Show Gist options
  • Save johanmendezb/25216bcb13d72279159474315b74e749 to your computer and use it in GitHub Desktop.
Save johanmendezb/25216bcb13d72279159474315b74e749 to your computer and use it in GitHub Desktop.
*, *:after, *:before {
box-sizing: border-box;
}
#logo-size {
width: 200px;
margin-left: -100px;
margin-top: -20px;
left: 50%;
position: absolute;
}
input[type='range'] {
appearance: none !important;
background: #444;
height: 15px;
}
.logo {
background: #f26906;
border: 0.4rem solid #000;
border-radius: 50%;
box-shadow: 0 0 0 0.8rem #f26906;
height: 23rem;
margin: 5rem auto;
transform: rotate(-8deg);
width: 23rem;
}
.logo p {
color: #000;
font-weight: bold;
font-family: 'Doppio One', sans-serif;
font-size: 1.2rem;
font-weight: 700;
letter-spacing: 0.2rem;
margin: -0.6rem 0 0 9rem;
text-transform: uppercase;
transform: scale(1.3, 1);
transform: rotate(-7deg);
}
.title {
background: #f26906;
border-top: 0.8rem solid #f26906;
border-bottom: 0.8rem solid #f26906;
font-family: 'Yanone Kaffeesatz', sans-serif;
font-size: 6rem;
font-weight: 700;
line-height: 1;
margin-left: -5.8rem;
margin-top: 4rem;
text-align: center;
text-transform: uppercase;
transform: skew(-8deg, -8deg);
width: 33rem;
}
h1 {
border-top: 0.4rem solid #000;
border-bottom: 0.4rem solid #000;
margin: 0 -40px;
padding: 0;
transform: scale(0.8, 1);
}
.spanner {
background: #f26906;
border: 0.4rem solid #000;
height: 1rem;
margin-top: 2rem;
margin-left: 7rem;
position: absolute;
transform: rotate(-8deg);
width: 6rem;
}
.spanner:before {
background: #000;
border-radius: 50%;
content: ' ';
height: 1.8rem;
margin-left: -0.9rem;
margin-top: -0.8rem;
position: absolute;
width: 1.8rem;
}
.spanner:after {
border-radius: 50%;
background: #000;
content: ' ';
height: 1.8rem;
margin-left: 5rem;
margin-top: -0.8rem;
position: absolute;
width: 1.8rem;
}
#spanner-opening {
background: #f26906;
height: 0.8rem;
left: 6.4rem;
margin-top: 2.5rem;
position: absolute;
transform: rotate(-8deg);
width: 1.1rem;
z-index: 5;
}
#spanner-end {
background: #f26906;
height: 0.8rem;
margin-top: 1.60rem;
margin-left: 12.8rem;
position: absolute;
text-align: center;
width: 0.8rem;
z-index: 9;
}
#spanner-end:before, #spanner-end:after {
background: #f26906;
content: "";
height: 0.8rem;
left: 0;
position: absolute;
top: 0;
width: 0.8rem;
}
#spanner-end:before {
transform: rotate(30deg);
}
#spanner-end:after {
transform: rotate(60deg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment