Logged In NSC
by Richard Hunter
HTML
<div class="container">
<img src="" />
<div class="content">
<div class="row1">
<h1 class="desktop">
Sign up to Simon Calder’s free travel email for
weekly expert advice and money-saving discounts
</h1>
<h1 class="mobile">
Get Simon Calder’s
Travel email
</h1>
<svg id="Layer_1" width="30" height="30" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 991.43 991.43">
<defs>
</defs>
<title>Independent</title>
<path fill="#e30d24" class="cls-1" d="M500,4.28C226.23,4.28,4.28,226.23,4.28,500S226.23,995.71,500,995.71,995.71,773.78,995.71,500,773.78,4.28,500,4.28" transform="translate(-4.28 -4.28)"></path>
<path fill="#fff" class="cls-2"...
CSS
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
@font-face {
font-family: "Independent Serif";
src: url("https://assets.independent.co.uk/fonts/Independent-Serif-Bold.woff2") format("woff2"),
url("https://assets.independent.co.uk/fonts/Independent-Serif-Bold.woff") format("woff");
font-weight: bold;
font-style: normal;
}
/* Independent Sans */
@font-face {
font-family: "Independent Sans Regular";
src: url("https://assets.independent.co.uk/fonts/Independent-Sans-Regular.woff2") format("woff2"),
url("https://assets.independent.co.uk/fonts/Independent-Sans-Regular.woff") format("woff");
font-weight: 400;
font-style: normal;
}
.container {
border: solid 1px #d3d3d3;
background-color: #fff;
display: flex;
flex-direction: row;
}
.content {
font-family: Independent Sans Regular;
}
h1 {
color: #222;
font-family: "Independent Serif";
margin: 0;
}
.row1,
.row2 {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
}
.row1 {
align-items: flex-start;
}
.row1,
.row2 {
gap: 16px;
}
svg {
flex-shrink: 0;
display: block;
}
/* what is correct font family? */
button {
flex-shrink: 0;
background: #ec1a2e;
font-family: "Independent Sans", sans-serif;
width: 100%;
height: 38px;
color: #fff;
background: #ec1a2e;
border-radius: 6px;
font-weight: bold;
border: none;
appearance: none;
cursor: pointer;
text-transform: uppercase;
font-size: 13px;
line-height: 20px;
}
button:hover {
background: #a51220;
}
.offer {
color: #4e4e4e;
display: flex;
align-items: center;
}
input[type=checkbox] {
position: absolute;
left: -9999px;
opacity: 0;
visibility: hidden;
}
.checkbox-selected,
.checkbox-unselected {
cursor: pointer;
border: 1px solid #bcbcbb;
position: absolute;
left: 0;
top: 0;
}
.checkbox {
position: relative;
flex-shrink: 0;
}
a,
a:visited,
a:hover {
color: inherit;
text-decoration: underline;
}
@media screen and...