Security hardening + new tools deployment
- Hide Apache version (ServerTokens Prod) - Add Permissions-Policy header - Remove deprecated X-XSS-Protection - Consolidate security headers to .htaccess only (remove duplicates from PHP) - Deploy free tools: robots-analyzer, data-converter - Deploy tools announcement blog post - Update sitemap with new tools and blog post
This commit is contained in:
226
assets/css/cro-enhancements.css
Normal file
226
assets/css/cro-enhancements.css
Normal file
@@ -0,0 +1,226 @@
|
||||
/* Mid-Article CTA Box */
|
||||
.inline-cta {
|
||||
background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
|
||||
padding: 24px 28px;
|
||||
border-left: 4px solid #0066cc;
|
||||
margin: 40px 0;
|
||||
border-radius: 0 8px 8px 0;
|
||||
box-shadow: 0 2px 8px rgba(0,102,204,0.1);
|
||||
}
|
||||
.inline-cta h4 {
|
||||
margin: 0 0 12px 0;
|
||||
color: #0066cc;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.inline-cta p {
|
||||
margin: 0 0 16px 0;
|
||||
color: #333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.inline-cta .cta-link {
|
||||
display: inline-block;
|
||||
background: #0066cc;
|
||||
color: #fff !important;
|
||||
padding: 12px 24px;
|
||||
border-radius: 6px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.inline-cta .cta-link:hover {
|
||||
background: #0052a3;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(0,102,204,0.3);
|
||||
}
|
||||
|
||||
/* Sticky CTA Bar */
|
||||
.sticky-cta-bar {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
|
||||
padding: 12px 20px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
z-index: 9999;
|
||||
box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
|
||||
transform: translateY(100%);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
.sticky-cta-bar.visible {
|
||||
transform: translateY(0);
|
||||
}
|
||||
.sticky-cta-bar p {
|
||||
margin: 0;
|
||||
color: #fff;
|
||||
font-size: 0.95em;
|
||||
}
|
||||
.sticky-cta-bar .btn {
|
||||
background: #00cc66;
|
||||
color: #fff;
|
||||
padding: 10px 24px;
|
||||
border-radius: 6px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.sticky-cta-bar .btn:hover {
|
||||
background: #00b359;
|
||||
}
|
||||
.sticky-cta-bar .close-bar {
|
||||
color: #888;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
/* Exit Intent Popup */
|
||||
.exit-popup-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0,0,0,0.7);
|
||||
z-index: 10000;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.exit-popup-overlay.active {
|
||||
display: flex;
|
||||
}
|
||||
.exit-popup {
|
||||
background: #fff;
|
||||
padding: 40px;
|
||||
border-radius: 12px;
|
||||
max-width: 500px;
|
||||
width: 90%;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
animation: popIn 0.3s ease;
|
||||
}
|
||||
@keyframes popIn {
|
||||
from { transform: scale(0.8); opacity: 0; }
|
||||
to { transform: scale(1); opacity: 1; }
|
||||
}
|
||||
.exit-popup .close-popup {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 20px;
|
||||
font-size: 1.5em;
|
||||
cursor: pointer;
|
||||
color: #999;
|
||||
}
|
||||
.exit-popup h3 {
|
||||
margin: 0 0 15px 0;
|
||||
color: #1a1a2e;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
.exit-popup p {
|
||||
color: #666;
|
||||
margin-bottom: 25px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.exit-popup .lead-magnet {
|
||||
background: #f8f9fa;
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.exit-popup .lead-magnet img {
|
||||
width: 60px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.exit-popup input[type="email"] {
|
||||
width: 100%;
|
||||
padding: 14px;
|
||||
border: 2px solid #e0e0e0;
|
||||
border-radius: 6px;
|
||||
font-size: 1em;
|
||||
margin-bottom: 15px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.exit-popup input[type="email"]:focus {
|
||||
border-color: #0066cc;
|
||||
outline: none;
|
||||
}
|
||||
.exit-popup .btn-primary {
|
||||
width: 100%;
|
||||
background: #0066cc;
|
||||
color: #fff;
|
||||
padding: 14px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
font-size: 1em;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
.exit-popup .btn-primary:hover {
|
||||
background: #0052a3;
|
||||
}
|
||||
.exit-popup .no-thanks {
|
||||
display: block;
|
||||
margin-top: 15px;
|
||||
color: #999;
|
||||
font-size: 0.9em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Case Study Callout */
|
||||
.case-study-inline {
|
||||
background: #fff;
|
||||
border: 1px solid #e0e0e0;
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
margin: 30px 0;
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
}
|
||||
.case-study-inline .metric {
|
||||
background: #00cc66;
|
||||
color: #fff;
|
||||
padding: 15px 20px;
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
min-width: 80px;
|
||||
}
|
||||
.case-study-inline .metric .number {
|
||||
font-size: 1.8em;
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
}
|
||||
.case-study-inline .metric .label {
|
||||
font-size: 0.75em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.case-study-inline .content {
|
||||
flex: 1;
|
||||
}
|
||||
.case-study-inline .content p {
|
||||
margin: 0 0 10px 0;
|
||||
color: #333;
|
||||
}
|
||||
.case-study-inline .content a {
|
||||
color: #0066cc;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.sticky-cta-bar {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding: 15px;
|
||||
}
|
||||
.case-study-inline {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
.exit-popup {
|
||||
padding: 25px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user