/* Include the Roboto font via Google Fonts, chosen for its readability */ @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); /* General styles */ body { font-family: 'Roboto', sans-serif; /* WCAG compliant font */ background-color: #ffffff; /* WCAG compliant background color */ color: #444444; /* WCAG compliant text color, contrast ratio > 4.5:1 */ } a { color: #005a9c; /* WCAG compliant link color, contrast ratio > 4.5:1 */ text-decoration: none; } a:hover, a:focus { color: #00335a; /* WCAG compliant hover/focus link color, contrast ratio > 4.5:1 */ text-decoration: underline; } /* Job board header */ .job-board-header { background-color: #f5f5f5; /* WCAG compliant background color */ padding: 1rem; } .job-board-title { font-size: 2rem; /* WCAG compliant large text size */ font-weight: bold; } /* Search and filters */ .search-and-filters { display: flex; justify-content: space-between; padding: 1rem; background-color: #e0e0e0; /* WCAG compliant background color */ } .search-box { width: 50%; } .filters { display: flex; } .filter { margin-left: 1rem; } /* Job listing */ .job-listing { display: flex; flex-wrap: wrap; margin-bottom: 2rem; } .job-listing .job { background-color: #f9f9f9; /* WCAG compliant background color */ width: 100%; padding: 1rem; border: 1px solid #d6d6d6; /* WCAG compliant border color, contrast ratio > 3:1 */ margin-bottom: 1rem; } .job-listing .job:hover, .job-listing .job:focus { background-color: #e9e9e9; /* WCAG compliant hover/focus background color */ } .job-title { font-size: 1.25rem; /* WCAG compliant large text size */ font-weight: bold; margin-bottom: 0.5rem; } .job-location, .job-type { font-size: 0.875rem; /* WCAG compliant text size */ } .job-type { font-weight: bold; margin-left: 0.5rem; color: #5c5c5c; /* WCAG compliant text color, contrast ratio > 4.5:1 */ } /* Pagination */ .pagination { display: flex; justify-content: center; padding: 1rem 0; } .pagination a { padding: 0.5rem 1rem; margin: 0 0.25rem; background-color: #005a9c; /* WCAG compliant background color */ color: #ffffff; /* WCAG compliant text color, contrast ratio > 4.5:1 */ border-radius: 4px; } .pagination a:hover, .pagination a:focus { background-color: #00335a; /* WCAG compliant hover/focus background color */ } .pagination .active { background-color: #00335a; /* WCAG compliant */ }