dazeimon's picture
Initial DeepSite commit
8579f38 verified
Raw
History Blame Contribute Delete
3.92 kB
/* Additional custom styles for Harvard ATS Builder */
/* Print optimization */
@media print {
@page {
margin: 0.5in;
size: letter;
}
body {
print-color-adjust: exact;
-webkit-print-color-adjust: exact;
}
#ats-preview {
font-family: 'Times New Roman', Times, serif !important;
font-size: 11pt !important;
line-height: 1.3 !important;
color: #000 !important;
}
#ats-preview h1 {
font-size: 16pt !important;
font-weight: bold !important;
margin-bottom: 8pt !important;
}
#ats-preview h2 {
font-size: 12pt !important;
font-weight: bold !important;
text-transform: uppercase !important;
border-bottom: 1pt solid #000 !important;
padding-bottom: 2pt !important;
margin-top: 12pt !important;
margin-bottom: 6pt !important;
}
#ats-preview .mb-4, #ats-preview .mb-3 {
margin-bottom: 8pt !important;
}
#ats-preview .mb-6 {
margin-bottom: 12pt !important;
}
#ats-preview .pb-4 {
padding-bottom: 8pt !important;
}
/* Ensure links are visible */
a {
text-decoration: none !important;
color: #000 !important;
}
/* Prevent overflow */
pre, table, figure, img, svg, blockquote {
max-width: 100% !important;
page-break-inside: avoid !important;
}
/* Keep sections together */
#ats-preview > div {
page-break-inside: avoid !important;
}
#ats-preview .mb-4, #ats-preview .mb-3, #ats-preview .mb-6 {
orphans: 3;
widows: 3;
}
}
/* Smooth transitions */
.transition-all {
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: #c7c7c7;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a0a0a0;
}
/* Focus states */
.input-focus:focus {
outline: none;
ring: 2px;
ring-color: #6366f1;
border-color: #4f46e5;
}
/* Mobile optimizations */
@media (max-width: 768px) {
.mobile-stack {
flex-direction: column !important;
}
#ats-preview {
padding: 1rem !important;
font-size: 10pt !important;
}
#ats-preview h1 {
font-size: 18pt !important;
}
aside {
width: 100% !important;
position: relative !important;
top: 0 !important;
}
}
/* ATS Preview specific styling to ensure parsing compatibility */
.ats-safe {
font-family: 'Times New Roman', Times, Georgia, serif;
font-size: 11pt;
line-height: 1.4;
color: #000000;
}
.ats-safe h1 {
font-family: 'Times New Roman', Times, serif;
font-weight: 700;
letter-spacing: 0.5px;
}
.ats-safe h2 {
font-family: 'Times New Roman', Times, serif;
font-weight: 700;
letter-spacing: 1px;
}
/* Ensure high contrast for ATS parsing */
.ats-safe * {
color: #000000 !important;
background-color: transparent !important;
}
/* Button hover effects */
button {
transition: all 0.2s ease;
}
button:active {
transform: scale(0.98);
}
/* Card shadows on hover */
.bg-white.rounded-xl:hover {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Responsive typography */
@media (max-width: 640px) {
html {
font-size: 14px;
}
}
/* Ensure proper spacing in print view for ATS systems */
.ats-safe ul {
margin-left: 1.2em;
padding-left: 0;
}
.ats-safe li {
margin-bottom: 0.2em;
}
.ats-safe strong {
font-weight: 700;
}
.ats-safe em, .ats-safe i {
font-style: italic;
}