A Pen by Nick Matantsev on CodePen.
Created
November 17, 2018 20:27
-
-
Save unframework/a531e20daaa2ea005df025b334a37674 to your computer and use it in GitHub Desktop.
Logo sketch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.logo <var>Beam</var>works |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@fgColor: #2980B9; | |
//@fgColor: #2C3E50; | |
//@fgColor: #E74C3C; | |
@bgColor: #ECF0F1; | |
html { | |
height: 100%; | |
margin: 0; | |
padding: 0; | |
} | |
body { | |
margin: 0; | |
padding: 0; | |
background: @bgColor; | |
text-align: center; | |
height: 100%; | |
&::before { | |
content: ''; | |
display: inline-block; | |
vertical-align: middle; | |
width: 0; | |
height: 95%; | |
} | |
} | |
.logo { | |
@stripe: 1px; | |
@stripeOff: 3px; | |
display: inline-block; | |
vertical-align: middle; | |
line-height: 1; | |
font-family: 'Days One', sans-serif; | |
font-size: 50px; | |
letter-spacing: -4px; | |
color: @fgColor; | |
white-space: nowrap; | |
> var { | |
font-style: normal; | |
display: inline-block; | |
position: relative; | |
&::after { | |
content: ''; | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: -1px; | |
bottom: -4px; | |
background: repeating-linear-gradient( | |
0, | |
@bgColor, | |
@bgColor @stripe, | |
rgba(255, 255, 255, 0) @stripe, | |
rgba(255, 255, 255, 0) @stripe+@stripeOff | |
); | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://fonts.googleapis.com/css?family=Days+One" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment