Display brand text and message stack
by tomarriola
HTML
<div class="crimescene-responsive-banner">
<!-- Left Panel: Brand Text -->
<div class="brand-panel">
<span>CRIME SCENE</span>
</div>
<!-- Yellow Divider -->
<div class="divider"></div>
<!-- Right Panel: Message Stack -->
<div class="message-panel">
<div class="message-title">
Crimescene.com is getting a major update soon.
</div>
<div class="message-sub">
Learn what’s changing and how to prepare.
</div>
</div>
</div>
<style>
.crimescene-responsive-banner {
background-color: #191919;
color: #ffffff;
border-left: 4px solid #ffff00;
font-family: 'IBM Plex Sans Condensed', 'DejaVu Sans', 'Liberation Sans', sans-serif;
width: 100%;
max-width: 800px;
box-sizing: border-box;
display: flex;
flex-direction: row;
align-items: center;
padding: 4px 0;
min-height: 100px;
}
.brand-panel {
width: 190px;
flex-shrink: 0;
padding-left: 24px;
display: flex;
align-items: center;
box-sizing: border-box;
}
.brand-panel span {
font-weight: 800;
font-size: 21px;
letter-spacing: 0.05em;
color: #ffffff;
white-space: nowrap;
}
.divider {
width: 1px;
height: 80px;
background-color: #ffff00;
flex-shrink: 0;
}
.message-panel {
flex-grow: 1;
padding: 0 24px;
display: flex;
flex-direction: column;
justify-content: center;
box-sizing: border-box;
}
.message-title {
color: #ffff00;
font-weight: 700;
font-size: 18px;
line-height: 1.35;
margin-bottom: 6px;
}
.message-sub {
color: #ffffff;
font-size: 14px;
font-weight: 400;
line-height: 1.35;
}
/* Responsive styling for smaller viewports */
@media (max-width: 640px) {
.crimescene-responsive-banner {
flex-direction: column;
align-items: flex-start;
padding: 20px;
min-height: auto;
...