Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!-- inspired by https://codepen.io/leaverou/pen/ZxqXGy -->

<h1>Factors that influence readability</h1>

	<input type="checkbox" name="hide-sidebar" id="hide-sidebar" value="true" style="display: none;" />
	<label class="radio app__control-button" for="hide-sidebar" id="hide-sidebar-control">
		 <a class="button"></a>
	</label>
	
	<input type="checkbox" name="hide-css-output" id="hide-css-output" value="true" style="display: none;" />
	<label class="radio app__control-button" for="hide-css-output" id="hide-css-output-control">
		 <a class="button"></a>
	</label>

<div mv-app="readability" mv-bar="none" class="app">

<div id="sidebar" role="navigation" class="app__settings sidebar">
		<div id="css-output" class="app__css-output">
				<style contenteditable="true">

.app__content p {
	font-family: [fontFamily];
	font-weight: [fontWeight];
	font-style: [fontStyle];
	font-variant: [fontVariant];
	font-synthesis: [fontSynthesis];
	font-size: [fontSize]em;
	line-height: [lineHeight]; 
	[if(letterSpacing > 0, 'letter-spacing: ' & letterSpacing & 'em' & ';')][if(letterSpacing < 0, 'letter-spacing: ' & letterSpacing & 'em' & ';')][if(letterSpacing = 0, 'letter-spacing: normal;')]
	[if(wordSpacing > 0, 'word-spacing: ' & wordSpacing & 'em' & ';')][if(wordSpacing < 0, 'word-spacing: ' & wordSpacing & 'em' & ';')][if(wordSpacing = 0, 'word-spacing: normal;')]
	margin: 0 0 [marginBottom]em 0;
	[if(columns = 1, 'max-width: ' & lineLength & lineLengthUnit & ';')][if(columns > 1, 'max-width: 100vw;\n\t')][if(columns > 1, 'columns: ' & columns & ';')]
	text-align: [align]; [if(hyphenate, '\n\t' & 'hyphens: auto;')]	
	
	font-variation-settings: [fontVariationSettings];
	font-feature-settings: [fontFeatureSettings];
}
					
.app__content {
	[if(colorTheme = 'black-on-white', '--app-color: black;' & '\n\t' & '--app-background-color: white; ')][if(colorTheme = 'white-on-black', '--app-color: white;' & '\n\t' & '--app-background-color: black; ')][if(colorTheme = 'black-on-blue', '--app-color: black;' & '\n\t' & '--app-background-color: #9ab8fc; ')][if(colorTheme = 'black-on-yellow', '--app-color: black;' & '\n\t' & '--app-background-color: #ffde00; ')][if(colorTheme = 'light-theme', '--app-color: #222222;' & '\n\t' & '--app-background-color: #f1f1f1; ')][if(colorTheme = 'dark-theme', '--app-color: #f1f1f1;' & '\n\t' & '--app-background-color: #222222; ')]
	color: var(--app-color);
	background: var(--app-background-color);
}
				</style>
		</div>
		<ul class="app__controls controls">
			
			<!-- Font family -->
			<li class="controls__item">
				<label class="controls__container">
					<span class="controls__label">
						<span>Font family</span> <code>font-family</code>
					</span>
					<select class="controls__input" name="font-family" property="fontFamily" id="font-family">
						 <option disabled="disabled">---- system fonts ----</option>
						 <option value="serif" selected="selected"><span style="font-family: serif; color: red;">serif</span></option>
						 <option value="sans-serif" style="font-family: sans-serif;">sans-serif</option>
						 <option value="monospace" style="font-family: monospace;">monospace</option>
						 <option value="cursive" style="font-family: cursive;">cursive</option>
						 <option value="fantasy" style="font-family: fantasy;">fantasy</option>
						 <option disabled="disabled">---- UI system fonts ----</option>
						 <option value="system-ui" style="font-family: var(--ui-system-fonts-stack);">UI system font</option>	
						 <option disabled="disabled">---- variable fonts ----</option>
						 <option value="'Roboto Flex', sans-serif">Roboto Flex</option>
						 <option value="'Roboto Serif', serif">Roboto Serif</option>
						 <option value="Inconsolata, monospace">Inconsolata</option>
						 <option value="'Dancing Script', cursive">Dancing Script</option>
						 <option value="'Readex Pro', sans-serif">Readex Pro</option>
						 <option disabled="disabled">---- no small caps ----</option>
						 <option value="'Merriweather', sans-serif">Merriweather</option>

						
					</select>
					
				</label>
			</li>			
		
			<!-- Font weight -->		
			<li class="controls__item">
				<label class="controls__container">
					<span class="controls__label">
						<span>Font weight</span> <code>font-weight</code>
					</span>
					<input class="controls__input" type="range" property="fontWeight" min="100" max="900" step="1" value="300" oninput="this.nextElementSibling.value = this.value">
					<output class="controls__output"></output>
				</label>
			</li>

			<!-- Font style -->		
			<li class="controls__item">
				<div class="controls__container">
					<span class="controls__label">
						<span>Font style</span> <code>font-style</code>
					</span>
					<div class="flex__spread controls__input">
						<label><input type="radio" value="normal" name="font-style" property="fontStyle" checked /> <span class="block">normal</span></label>
						<label><input type="radio" value="italic" name="font-style" /> <span class="block">italic</span></label>
					</div>
				</div>
			</li>			

			<!-- Font variant -->	
			<li class="controls__item">
				<label class="controls__container">
					<span class="controls__label">
						<span>Font variant</span> <code>font-variant</code>
					</span>
					
					<select class="controls__input" name="font-variant" property="fontVariant" id="font-variant">
						 <option value="normal" selected="selected">normal</option>
						 <option value="small-caps">small-caps</option>
					</select>
				</label>
			</li>	

			<!-- Font synthesis -->
			<li class="controls__item">
				<label class="controls__container">
					<span class="controls__label">
						<span>Font synthesis</span> <code>font-synthesis</code>
					</span>
					
					<select class="controls__input" name="font-synthesis" property="fontSynthesis" id="font-synthesis">
						 <option value="weight style small-caps" selected="selected">weight style small-caps</option>
						 <option value="none">none</option>
						 <option value="weight">weight</option>
						 <option value="style">style</option>
						 <option value="small-caps">small-caps</option>
					</select>
				</label>
			</li>		
			
			<hr>

			<!-- Font size -->
			<li class="controls__item">
				<label class="controls__container">
					<span class="controls__label">
						<span>Font size</span> <code>font-size</code>
					</span>
					<input class="controls__input" type="range" property="fontSize" min=".6" max="4" value="1" step=".1" oninput="this.nextElementSibling.value = this.value">
					<output class="controls__output"></output>
				</label>
			</li>
			
			<!-- Line height -->
			<li class="controls__item">
				<label class="controls__container">
					<span class="controls__label">
						<span>Line height</span> <code>line-height</code>
					</span>
					<input class="controls__input" type="range" property="lineHeight" min="1" max="2" step=".1"oninput="this.nextElementSibling.value = this.value">
					<output class="controls__output"></output>					
				</label>
			</li>

			<!-- Line height unit-->
			<li class="controls__item">
				<div class="controls__container">
					<span class="controls__label">
						<span>Line length unit</span>
					</span>
					<div class="flex__spread controls__input">
						<label><input type="radio" value="ch" name="line-length-unit" property="lineLengthUnit" checked /> <span class="block">ch</span></label>
						<label><input type="radio" value="em" name="line-length-unit" /> <span class="block">em</span></label>
						<label><input type="radio" value="rem" name="line-length-unit" /> <span class="block">rem</span></label>
						<label><input type="radio" value="%" name="line-length-unit" /> <span class="block">%</span></label>
					</div>
				</div>
			</li>

			<!-- Line length -->
			<li class="controls__item">
				<label class="controls__container">
					<span class="controls__label">
						<span>Line length</span> <code>max-width</code>
					</span>
					<input class="controls__input" type="range" property="lineLength" min="0" max="100" oninput="this.nextElementSibling.value = this.value">
					<output class="controls__output"></output>	
				</label>		
			</li>
			
			<hr>
			
			<!-- Letter spacing -->			
			<li class="controls__item">
				<label class="controls__container">
					<span class="controls__label">
						<span>Letter spacing</span> <code>letter-spacing</code>
					</span>
					<input class="controls__input" type="range" property="letterSpacing" min="-0.1" max="1" value="0" step=".05" oninput="this.nextElementSibling.value = this.value">
					<output class="controls__output"></output>					
				</label>
			</li>			
	
			<!-- Word spacing -->				
			<li class="controls__item">
				<label class="controls__container">
					<span class="controls__label">
						<span>Word spacing</span> <code>word-spacing</code>
					</span>
					<input class="controls__input" type="range" property="wordSpacing" min="-0.5" max="2.5" value="0" step=".1" oninput="this.nextElementSibling.value = this.value">
					<output class="controls__output"></output>	
				</label>
			</li>	
			
			<hr>

			<!-- Margin bottom -->	
			<li class="controls__item">
				<label class="controls__container">
					<span class="controls__label">
						<span>Margin bottom</span> <code>margin-bottom</code>
					</span>
					<input class="controls__input" type="range" property="marginBottom" min="0" max="2.5" value="0" step=".1" oninput="this.nextElementSibling.value = this.value">
					<output class="controls__output"></output>	
				</label>
			</li>			

			<!-- Columns -->	
			<li class="controls__item">
				<label class="controls__container controls__container--one-input">
					<span class="controls__label">
						<span>No. of columns</span> <code>columns</code>
					</span>
					<input class="controls__input" type="number" property="columns" value="1" min="1" max="3">	
				</label>
			</li>

			<!-- Text align -->				
			<li class="controls__item">
				<div class="controls__container">
					<span class="controls__label">
						<span>Alignment</span> <code>text-align</code>
					</span>
					<div class="flex__spread controls__input">
						<label><input type="radio" property="align" name="align" value="left" checked /> <span class="block">Left</span></label>
						<label><input type="radio" value="center" name="align" /> <span class="block">Center</span></label>
						<label><input type="radio" value="right" name="align" /> <span class="block">Right</span></label>
						<label><input type="radio" value="justify" name="align" /> <span class="block">Justify</span></label>
					</div>
				</div>
			</li>

			<!-- Hyphens -->		
			<li class="controls__item">
				<label class="controls__container controls__container--one-input">
						<span class="controls__label">
							<span>Hyphenate?</span> <code>hyphens</code>
					   </span>
						<input class="controls__input" type="checkbox" property="hyphenate" />
				</label>
			</li>
			
			<hr>
			
			<!-- theme -->		
			<li class="controls__item">
				<div class="controls__container">
					<span class="controls__label">
						<span>Colours</span> <code>background & color</code>
					</span>
					<div class="flex__spread controls__input">
						<label class="black-on-white theme-button "><input type="radio" value="black-on-white" name="color-theme" property="colorTheme" checked /> <span class="block">black-on-white</span></label>
						<label class="white-on-black theme-button "><input type="radio" value="white-on-black" name="color-theme" /> <span class="block">white-on-black</span></label>
						<label class="black-on-blue theme-button "><input type="radio" value="black-on-blue" name="color-theme" /> <span class="block">black-on-blue</span></label>
						<label class="black-on-yellow theme-button "><input type="radio" value="black-on-yellow" name="color-theme" /> <span class="block">black-on-yellow</span></label>
						<label class="light-theme theme-button "><input type="radio" value="light-theme" name="color-theme" /> <span class="block">light-theme</span></label>
						<label class="dark-theme theme-button "><input type="radio" value="dark-theme" name="color-theme" /> <span class="block">dark-theme</span></label>
					</div>
				</div>
			</li>		
			
			<hr>
			
			<!-- Font variation settings -->	
			<li class="controls__item">
				<label class="controls__container controls__container--one-input">
					<span class="controls__label">
						<span>Font variation settings</span> <code>font-variation-settings</code>
					</span>
					<input class="controls__input" type="text" property="fontVariationSettings" value="'GRAD' 0">	
				</label>
			</li>

			<hr>
			
			<!-- Font feature settings -->	
			<li class="controls__item">
				<label class="controls__container controls__container--one-input">
					<span class="controls__label">
						<span>Font feature settings</span> <code>font-feature-settings</code>
					</span>
					<input class="controls__input" type="text" property="fontFeatureSettings" value="'liga' 1, 'rlig' 1, 'dlig' 1">	
				</label>
			</li>
			
			
	   </ul>
			
	</div>

	
	<div class="app__content">
		
		<!-- example leagatures and letter-spacing
		
		<section>
			<p lang="en">If you use <code>letter-spacing different from 0, disable the ligatures font-feature-settings: 'liga' 0;</p>
			<p lang="en">Define - </p>
			<p lang="it">Affinità - </p>	
		</section>
		
		<hr>
		-->
		
		<!-- testing different glyphs width
		<section lang="en" style="overflow-x: hidden; display: none;">
		<p lang="en">000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</p>
			<p lang="en">1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890</p>
			
			<p lang="en">MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM</p>

		</section>	
 		-->		
		
		<section lang="en">
			<p lang="en" contenteditable >No one shall be subjected to arbitrary arrest, detention or exile. Everyone is entitled in full equality to a fair and public hearing by an independent and impartial tribunal, in the determination of his rights and obligations and of any criminal charge against him. No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honour and reputation. Everyone has the right to the protection of the law against such interference or attacks.</p>
			<p lang="en">Everyone has the right to freedom of thought, conscience and religion; this right includes freedom to change his religion or belief, and freedom, either alone or in community with others and in public or private, to manifest his religion or belief in teaching, practice, worship and observance. Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers. Everyone has the right to rest and leisure, including reasonable limitation of working hours and periodic holidays with pay.</p>
			</section>
		
		<hr>

		<section lang="it">
			<p lang="it" contenteditable >Ogni individuo ha diritto ad un ordine sociale e internazionale nel quale i diritti e le libertà enunciati in questa Dichiarazione possano essere pienamente realizzati. Nulla nella presente Dichiarazione può essere interpretato nel senso di implicare un diritto di un qualsiasi Stato, gruppo o persona di esercitare un'attività o di compiere un atto mirante alla distruzione di alcuno dei diritti e delle libertà in essa enunciati.</p>
			<p lang="it">Considerato che il riconoscimento della dignità inerente a tutti i membri della famiglia umana e dei loro diritti, uguali ed inalienabili, costituisce il fondamento della libertà, della giustizia e della pace nel mondo; Considerato che il disconoscimento e il disprezzo dei diritti umani hanno portato ad atti di barbarie che offendono la coscienza dell'umanità, e che l'avvento di un mondo in cui gli esseri umani godano della libertà di parola e di credo e della libertà dal timore e dal bisogno è stato proclamato come la più alta aspirazione dell'uomo; Considerato che è indispensabile promuovere lo sviluppo di rapporti amichevoli tra le Nazioni;</p>
			</section>

		<hr>

		<section lang="gr">
		<p lang="gr" contenteditable >Όλοι οι άνθρωποι γεννιούνται ελεύθεροι και ίσοι στην αξιοπρέπεια και τα δικαιώματα. Είναι προικισμένοι με λογική και συνείδηση, και οφείλουν να συμπεριφέρονται μεταξύ τους με πνεύμα αδελφοσύνης. Όλοι οι άνθρωποι γεννιούνται ελεύθεροι και ίσοι στην αξιοπρέπεια και τα δικαιώματα. Είναι προικισμένοι με λογική και συνείδηση, και οφείλουν να συμπεριφέρονται μεταξύ τους με πνεύμα αδελφοσύνης.</p>
		<p lang="gr">Όλοι οι άνθρωποι γεννιούνται ελεύθεροι και ίσοι στην αξιοπρέπεια και τα δικαιώματα. Είναι προικισμένοι με λογική και συνείδηση, και οφείλουν να συμπεριφέρονται μεταξύ τους με πνεύμα αδελφοσύνης. Όλοι οι άνθρωποι γεννιούνται ελεύθεροι και ίσοι στην αξιοπρέπεια και τα δικαιώματα. Είναι προικισμένοι με λογική και συνείδηση, και οφείλουν να συμπεριφέρονται μεταξύ τους με πνεύμα αδελφοσύνης. Όλοι οι άνθρωποι γεννιούνται ελεύθεροι και ίσοι στην αξιοπρέπεια και τα δικαιώματα. Είναι προικισμένοι με λογική και συνείδηση, και οφείλουν να συμπεριφέρονται μεταξύ τους με πνεύμα αδελφοσύνης.</p>
		</section>
		<hr>


		
	</div>
</div>

<footer>Exercise for Workshop at WordCamp Europe 2023 – <a href="https://europe.wordcamp.org/2023/session/typographic-readability-in-theme-design-development/">Typographic readability in theme design &amp; development</a> by Giulia Laco</footer>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,slnt,wdth,wght,GRAD,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC@8..144,-10..0,25..151,100..1000,-200..150,323..603,25..135,649..854,-305..-98,560..788,416..570,528..760&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:ital,opsz,wdth,wght,GRAD@0,8..144,50..150,100..900,-50..100;1,8..144,50..150,100..900,-50..100&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wdth,wght@50..200,200..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght,HEXP@160..700,0..100&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');



html {
	box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

:root {
	
	--app-color: black;
	--app-background-color: white;

	
	--gap: 1rem;
	
	--ui-system-fonts-stack: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
               Roboto, Oxygen-Sans, Ubuntu, Cantarell,
               "Helvetica Neue", sans-serif;
}

body {
	margin: 0;
	padding: var(--gap);
}

/*
#sidebar {
	width: 100%;
}
*/

/*hide-sidebar*/

#hide-sidebar:checked ~ .app #sidebar {
	width: 0;
	display: none;
}

#hide-sidebar-control > a::before {
	content: "Hide controls";
}

#hide-sidebar:checked ~ #hide-sidebar-control > a::before {
	content: "Show controls";
}

/*hide-css-output*/

#hide-css-output:checked ~ .app #css-output {
	width: 0;
	display: none;
}

#hide-css-output-control > a::before {
	content: "Hide CSS only";
}

#hide-css-output:checked ~ #hide-css-output-control > a::before {
	content: "Show CSS";
}



.button {
	background: lightblue;
	color: black;
	width: 12em;
	text-align: center;
	display: inline-block;
	padding: .5em .75em;
	font-family: sans-serif;
	border-radius: .5em;
	margin: .5rem .5rem 0 0;
}

.button:hover {
	background: black;
	color: lightblue;
}



/* readability*/

.app {
	display: flex;
	flex-direction: row;
	gap: var(--gap);
	/*background: yellow;*/
}

.app__control-button {
}

.app__controls {
	/*background: orange;*/
	/*display: block;*/
}

/*controls {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: calc(var(--gap) * 2 );
	background: lightblue;	
	font-family: sans-serif;
	display: flex;
	flex-direction: column;
	gap: var(--gap);
}
*/
.app__content {
	flex: 2 1 100%;
	margin: 0;
	padding: 0;
	border: 3px solid lightgrey;
	padding: calc(var(--gap) * 2 );
	margin-top: calc(var(--gap) * 3 );
}


/* sub flex*/

.app__settings {
	flex:  1 0 33%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	align-content: flex-start;
	gap: var(--gap);
	flex: wrap;
	width: 100%;
	
	height: 100vh;
	overflow-y: auto;
	padding-right: 1rem;
	padding-left: 1rem;
	border-bottom: 2px dotted grey;
}

.app__css-output {
	display: inline-block;
	margin: 0;	
	max-width:  100%;
	padding-top: calc(var(--gap) * 3 );
}

style {
	display: inline-block;
	font: 80%/1.5 Consolas, Monaco, monospace;
	background: #f1f1f1;
	padding: .5em 1em;	
	white-space: pre;
	tab-size: 4;
	width: 100%;
	overflow-x: auto;
}


.controls{
	/*background: pink;*/
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--gap);			
	padding: 0;
	margin: calc( var(--gap) * 3 ) 0 0 0;
	list-style-type: none;	
	font-size: 1rem;
	font-family: sans-serif;
}

.controls__item{
	flex: 0 0 auto;
	/*display: block:*/
}


.controls__container {
	display: flex;
	flex-direction: row;
	gap: var(--gap);
	/*background: orange;*/
	align-items: center;
	justify-content: space-between;
	align-content: center;
	flex-wrap: nowrap;
}

.controls__container--one-input {
	justify-content: flex-start;
}


.controls__label {
	flex: 0 0 7rem;
	/*background: aqua;*/
}
.controls__label span{
	display: block;
	font-size: 1rem;
	font-family: sans-serif;
	color: black;	
}
.controls__label code{
	display: block;
	font-size: .8rem;
	color: lightgrey;
	font-family: monospace;
	display: none;
}

.controls__input {
	/*display: inline-block;*/
	flex: 1 1 auto;
	/*background:green;*/
}

.block{
	display: block;
}


.controls__input[type='radio'] {
}

.controls__input[type='range'] {
}

.controls__input[type='number'] {
	margin: 0;
	padding: 0;
	width: 3em;
	flex: 0 0 auto;
}

.controls__input[type='checkbox'] {
	margin: 0;
	padding: 0;
	width: 2em;
	flex: 0 0 auto;
}

.controls__output  {
	color: grey;
	flex: 0 0 2em;
	/*background: yellow;*/
	font-family: monospace;
}


.flex__spread {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	align-content: flex-start;
	flex-wrap: wrap;
	gap: 3px;
}

.flex__spread label{
	flex: 1 1 20%;
	text-align: center;
	/*background: blue;*/
	border: 1px solid lightgrey;
	padding: .25em;
	border-radius: .25em;
}
.flex__spread label:hover{
	/*color: black;
	background: #f1f1f1;*/
	border-color: blue;
}


/* color themes */

.theme-button {
	color: var(--app-color);
	background: var(--app-background-color);
}

.black-on-white {	
	--app-color: black;
	--app-background-color: white;
}

.white-on-black {
	--app-color: white;
	--app-background-color: black;
}

.black-on-blue {
	--app-color: black;
	--app-background-color: #9ab8fc;
}

.black-on-yellow {
	--app-color: black;
	--app-background-color: #ffde00;
}

.light-theme {
	--app-color: #222222;
	--app-background-color: #f1f1f1;
}

.dark-theme {
	--app-color: #f1f1f1;
	--app-background-color: #222222;
}






p {
	margin: 0;
	padding: 0;
}


/* this pen only */

footer {
	margin: 4rem 0;
	font-style: italic;
	color: grey;
	text-align: center;
	font-size: .9rem;
}
              
            
!

JS

              
                
              
            
!
999px

Console