Spaces:
Running
Running
| /* 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 ; | |
| font-size: 11pt ; | |
| line-height: 1.3 ; | |
| color: #000 ; | |
| } | |
| #ats-preview h1 { | |
| font-size: 16pt ; | |
| font-weight: bold ; | |
| margin-bottom: 8pt ; | |
| } | |
| #ats-preview h2 { | |
| font-size: 12pt ; | |
| font-weight: bold ; | |
| text-transform: uppercase ; | |
| border-bottom: 1pt solid #000 ; | |
| padding-bottom: 2pt ; | |
| margin-top: 12pt ; | |
| margin-bottom: 6pt ; | |
| } | |
| #ats-preview .mb-4, #ats-preview .mb-3 { | |
| margin-bottom: 8pt ; | |
| } | |
| #ats-preview .mb-6 { | |
| margin-bottom: 12pt ; | |
| } | |
| #ats-preview .pb-4 { | |
| padding-bottom: 8pt ; | |
| } | |
| /* Ensure links are visible */ | |
| a { | |
| text-decoration: none ; | |
| color: #000 ; | |
| } | |
| /* Prevent overflow */ | |
| pre, table, figure, img, svg, blockquote { | |
| max-width: 100% ; | |
| page-break-inside: avoid ; | |
| } | |
| /* Keep sections together */ | |
| #ats-preview > div { | |
| page-break-inside: avoid ; | |
| } | |
| #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 ; | |
| } | |
| #ats-preview { | |
| padding: 1rem ; | |
| font-size: 10pt ; | |
| } | |
| #ats-preview h1 { | |
| font-size: 18pt ; | |
| } | |
| aside { | |
| width: 100% ; | |
| position: relative ; | |
| top: 0 ; | |
| } | |
| } | |
| /* 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 ; | |
| background-color: transparent ; | |
| } | |
| /* 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; | |
| } |