JSFiddle - React, Tailwind, and code Playground
HTML
<div id="passphraseBilder">
<figure>
<img src="https://actionscript.no/passphrase_icons/webcam.png" width="42" height="42">
<figcaption>webcam</figcaption>
</figure>
<figure>
<img src="https://actionscript.no/passphrase_icons/clock.png" width="42" height="42">
<figcaption>clock</figcaption>
</figure>
<figure>
<img src="https://actionscript.no/passphrase_icons/doughnut.png" width="42" height="42">
<figcaption>doughnut</figcaption>
</figure>
<figure>
<img src="https://actionscript.no/passphrase_icons/pantone.png" width="42" height="42">
<figcaption>pantone</figcaption>
</figure>
<figure>
<img src="https://actionscript.no/passphrase_icons/satellite.png" width="42" height="42">
<figcaption>satellite</figcaption>
</figure>
<figure>
<img src="https://actionscript.no/passphrase_icons/padlock.png" width="42" height="42">
<figcaption>padlock</figcaption>
</figure>
</div>
SCSS
$ourWhite: #f5fdff;
$ourGrey: #6f9894;
$ourBlue: #215988;
$ourBlack: #1e1e20;
@import url( 'https://fonts.googleapis.com/css?family=Rajdhani:300,400,500,600,700');
$ourFont: 'Rajdhani', sans-serif;
$image: url('icons/mail.png');
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body > * {
font-family: $ourFont;
font-weight: 600;
}
html {
height: 100vh;
}
h1 {
font-size: 400%;
padding: 40px;
text-align: center;
padding-top: 100px;
}
h2 {
font-size: 200%;
padding: 30px;
text-align: center;
margin-top: -68px;
padding-top: 68px;
}
h3 {
font-size: 150%;
text-align: center;
margin: 20px;
}
#breachResult {
background-color: rgba(0, 0, 0, 0.5);
border-radius: 5px;
color: $ourWhite;
padding: 15px;
display: none;
text-align: left;
a {
color: $ourWhite;
text-decoration: underline;
}
}
#mc_embed_signup {
clear: left;
width: 100%;
input.email {
font-family: $ourFont;
}
}
.content {
padding-bottom: 80px;
margin: auto;
width: 60%;
text-align: justify;
}
#indexPage {
overflow: hidden;
}
#toolsButton {
background-color: $ourBlue;
float: right;
height: 48px;
width: 80px;
color: $ourWhite;
margin-top: 10px;
margin-bottom: 10px;
margin-right: 10px;
font-weight: 600;
display: inline-block;
text-align: center;
}
header {
background-color: black;
height: 68px;
color: #f5fdff;
width: 100%;
position: fixed;
z-index: 1;
/*margin-top: 0;*/
img {
padding: 10px;
height: 100%;
width: auto;
display: block;
float: left;
}
ul {
list-style: none;
position: absolute;
bottom: 0;
float: left;
display: flex;
left: 50%;
padding-bottom: 10px;
li {
position: relative;
float: left;
display: block;
right: 50%;
}
a {
color: $ourWhite;
padding-left: 20px;
}
}
}
p {
margin: 10px;
}
.lists {
margin: auto;
width: 50%;
}
.infobox-container {
position:...