A Pen by khuongyolo on CodePen.
Created
February 20, 2022 13:16
-
-
Save khuongyolo/d9f6c1cf5b0fc394fb6df1980d784e3a to your computer and use it in GitHub Desktop.
Alternating Blockquotes
This file contains 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
<h1>Alternating <code><blockquote></code></h1> | |
<blockquote> | |
<p><q>The U.S. is fast approaching $19,000,000,000,000.00 in national debt. This is mathematically impossible to ever pay back … even if every American was taxed at 100%.</q></p> | |
<footer>Charles Goyette, The Dollar Meltdown</footer> | |
</blockquote> | |
<blockquote> | |
<p><q>79 million Baby Boomers are about to retire, pull their money out of the economy, and demand their $35 Trillion Dollars in Social Security & Medicare. Think that through…</q></p> | |
<footer>Robert Kiyosaki</footer> | |
</blockquote> | |
<blockquote> | |
<p><q>23.4% of Americans are Currently Unemployed … not the 9.1% they’d like you to believe.</q></p> | |
<footer>ShadowStats.com</footer> | |
</blockquote> | |
<blockquote> | |
<p><q>There are currently 5 job seekers for every 1 job opening in America, forcing wages down by 10%.</q></p> | |
<footer>The Wall Street Journal</footer> | |
</blockquote> | |
<blockquote> | |
<p><q>Adjusted for inflation, the average yearly earnings for an American male are lower than in 1978.</q></p> | |
<footer>The Wall Street Journal</footer> | |
</blockquote> | |
<blockquote> | |
<p><q>1 out of every 5 Americans is on government support of some sort</q></p> | |
<footer>The Wall Street Journal</footer> | |
</blockquote> | |
<blockquote> | |
<p><q>America will lose its position as the world’s superpower in less than 10 years.</q></p> | |
<footer>Goldman Sachs</footer> | |
</blockquote> | |
<blockquote> | |
<p><q>We’re actually in a depression right now. They just don’t want us to know that.</q></p> | |
<footer>Anonymous</footer> | |
</blockquote> | |
<blockquote> | |
<p><q>If we don’t do something soon … our recovery is on the verge of faltering.</q></p> | |
<footer>Ben Bernanke, The Fed</footer> | |
</blockquote> | |
<blockquote> | |
<p>“The stock bubble of 2001 and the housing bubble of 2007 were mere sideshows for what’s coming.</p> | |
<p>The main act is just around the corner …”</p> | |
<footer>Chris Martenson Ph.D., The Crash Course</footer> | |
</blockquote> |
This file contains 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
<script src="https://cdnjs.cloudflare.com/ajax/libs/eqcss/1.2.1/EQCSS.min.js"></script> |
This file contains 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
blockquote { | |
margin: 0 auto; | |
padding: 1em; | |
border-left: 5px solid #999; | |
} | |
blockquote:before { | |
display: none; | |
} | |
blockquote:not(:first-of-type) { | |
margin-top: .5em; | |
} | |
blockquote p { | |
color: #555; | |
font-size: 12pt; | |
line-height: 1.4; | |
font-family: 'PT Serif', Cambria, 'Hoefler Text', Utopia, 'Liberation Serif', 'Nimbus Roman No9 L Regular', Times, 'Times New Roman', serif; | |
} | |
blockquote footer { | |
margin-top: .5em; | |
padding: 0; | |
color: #777; | |
font-size: 12pt; | |
text-align: left; | |
font-style: italic; | |
} | |
blockquote footer:before { | |
content: '— '; | |
} | |
blockquote:nth-of-type(even) { | |
text-align: right; | |
border-left: none; | |
border-right: 5px solid #999; | |
} | |
blockquote:nth-of-type(even) footer { | |
text-align: right; | |
} | |
blockquote:nth-of-type(even) footer:before { | |
content: ''; | |
} | |
blockquote:nth-of-type(even) footer:after { | |
content: ' —'; | |
} | |
@element 'blockquote' and (min-width: 300px) { | |
blockquote { | |
padding: 1em 20% 1em 1em; | |
} | |
blockquote p { | |
font-size: 14pt; | |
} | |
blockquote:nth-of-type(even) { | |
padding: 1em 1em 1em 20%; | |
} | |
} |
This file contains 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=Fira+Sans:300,400,500,700,300italic,400italic,500italic,700italic" rel="stylesheet" /> | |
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic" rel="stylesheet" /> | |
<link href="https://s3-us-west-2.amazonaws.com/s.cdpn.io/67439/basic.css" rel="stylesheet" /> | |
<link href="https://fonts.googleapis.com/css?family=PT+Serif:400,700,400italic,700italic" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment