Skip to content

Instantly share code, notes, and snippets.

@CodeMyUI

CodeMyUI/index.html

Created May 9, 2017
Embed
What would you like to do?
Polygon-style gradient pull quote
<div class="column">
<p>
Reroute all power to the energy shield. We've got to hold them till all transports are away. Prepare for ground assault. What is it, General? Lord Vader, the fleet has moved out of light-speed, and we're preparing to... Aaagh!
</p>
<q>"Two fighters against a Star Destroyer?"</q>
<p>
You have failed me for the last time, Admiral.
</p>
<p>
Captain Piett. Yes, my lord. Make ready to land our troops beyond the energy shield and deploy the fleet so that nothing gets off that system. You are in command now, Admiral Piett. Thank you, Lord Vader. All troop carriers will assemble at the north entrance. The heavy transport ships will leave as soon as they're loaded.
</p>
<p>
Only two fighter escorts per ship. The energy shield can only be opened for a short time, so you'll have to stay very close to your transports.
</p>
<p>
Two fighters against a Star Destroyer?
</p>
<p>
The ion cannon will fire several shots to make sure that any enemy ships will be out of your flight path. When you've gotten past the energy shield, proceed directly to the rendezvous point.
</p>
</div>
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
background-color: #E7E7E2
}
.column {
padding: 20px 20px;
max-width: 600px;
margin: 0 auto;
}
p {
font-family: 'Mercury SSm A', 'Mercury SSm B', Georgia, serif;
font-size: 17px;
line-height: 1.6;
}
q {
font-family: 'Gotham SSm A', 'Gotham SSm B', 'Proxima Nova', Futura, Helvetica, sans-serif;
font-weight: 400;
letter-spacing: 1.5px;
font-style: normal;
font-size: 30px;
line-height: 1.25em;
text-transform: uppercase;
color: #A32B68;
float: right;
max-width: 350px;
margin: 10px -15% 10px 20px;
background: -webkit-linear-gradient(top, #fd0b58 0px, #a32b68 100%);
background: linear-gradient(top, #fd0b58 0px, #a32b68 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
&:before { content: ''; }
&:after { content: ''; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment