[ad_1]
Crochet Christmas Elf Hat
Christmas in July
.article-header {display: none;}
Join Brenda K.B. Anderson on Tuesday, July 8th at 10:00 a.m. CT / 11:00 a.m. ET for a free Christmas in July event! Celebrate in style with these adorable elf hats! Crochet these hats for an office party, family gathering, Christmas card photo op, or simply when you want to keep your head warm, you can count on these quirky elf hats bring on the holiday cheer! Made with a helix-stripe technique, you will not see any color jogs or any joins in the stripe pattern of this hat- because there aren’t any! Click here to download the free pattern.
/* Custom styles for the banner */
.banner-section {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
min-height: 200px; /* Fixed height of 200px */
display: flex;
align-items: center;
justify-content: center;
position: relative;
border-radius: 0.75rem;
overflow: hidden;
width: 100%;
max-width: 80rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
margin: 0 auto; /* Center the banner on the page */
}
.banner-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(51, 51, 51, 0.7); /* Dark overlay */
z-index: 1;
border-radius: 0.75rem;
}
.banner-content {
position: relative;
z-index: 2;
text-align: center; /* Centered again */
color: #ffffff; /* White text */
padding: 1rem;
max-width: 90%;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center; /* Re-added to center items in flex container */
justify-content: center;
}
.banner-content h1 {
font-size: 1.875rem;
font-weight: bold;
margin-bottom: 0.75rem;
line-height: 1.25;
border-radius: 0.5rem;
margin-top: 0;
}
.banner-content p {
font-size: 1rem;
margin-bottom: 1.5rem;
opacity: 0.9;
line-height: 1.625;
border-radius: 0.5rem;
margin-top: 0;
color: #ffffff; /* White text */
}
.banner-content .button {
display: inline-block;
background-color: #F4F4F4; /* Button background color */
color: #333333; /* Button text color */
font-weight: 600;
padding: 0.5rem 1.5rem;
border-radius: 9999px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: all 300ms ease-in-out;
text-decoration: none;
font-size: 0.875rem;
border: none;
cursor: pointer;
}
.banner-content .button:hover {
background-color: #e0e0e0; /* Slightly darker hover color */
transform: scale(1.05);
}
.banner-content .button:focus {
outline: none;
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.5);
}
/* Responsive adjustments for larger screens */
@media (min-width: 640px) {
.banner-content h1 {
font-size: 2.25rem;
}
.banner-content p {
font-size: 1.125rem;
}
.banner-content .button {
font-size: 1rem;
}
}
@media (min-width: 768px) {
.banner-content {
max-width: 70%;
padding: 2rem;
}
.banner-section {
min-height: 200px; /* Fixed height for all screen sizes */
}
.banner-content h1 {
font-size: 3rem;
}
.banner-content p {
font-size: 1.25rem;
}
}
@media (min-width: 1024px) {
.banner-section {
min-height: 200px; /* Fixed height for all screen sizes */
}
}
Crochet Christmas Elf Hat
[ad_2]
