472 lines
7.6 KiB
CSS
472 lines
7.6 KiB
CSS
.page {
|
|
--gray-rgb: 0, 0, 0;
|
|
--gray-alpha-200: rgba(var(--gray-rgb), 0.08);
|
|
--gray-alpha-100: rgba(var(--gray-rgb), 0.05);
|
|
|
|
--button-primary-hover: #383838;
|
|
--button-secondary-hover: #f2f2f2;
|
|
|
|
display: grid;
|
|
grid-template-rows: 20px 1fr 20px;
|
|
align-items: center;
|
|
justify-items: center;
|
|
min-height: 100svh;
|
|
padding: 80px;
|
|
gap: 64px;
|
|
font-family: var(--font-geist-sans);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.page {
|
|
--gray-rgb: 255, 255, 255;
|
|
--gray-alpha-200: rgba(var(--gray-rgb), 0.145);
|
|
--gray-alpha-100: rgba(var(--gray-rgb), 0.06);
|
|
|
|
--button-primary-hover: #ccc;
|
|
--button-secondary-hover: #1a1a1a;
|
|
}
|
|
}
|
|
|
|
.main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32px;
|
|
grid-row-start: 2;
|
|
}
|
|
|
|
.main ol {
|
|
font-family: var(--font-geist-mono);
|
|
padding-left: 0;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
letter-spacing: -0.01em;
|
|
list-style-position: inside;
|
|
}
|
|
|
|
.main li:not(:last-of-type) {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.main code {
|
|
font-family: inherit;
|
|
background: var(--gray-alpha-100);
|
|
padding: 2px 4px;
|
|
border-radius: 4px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ctas {
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
|
|
.ctas a {
|
|
appearance: none;
|
|
border-radius: 128px;
|
|
height: 48px;
|
|
padding: 0 20px;
|
|
border: none;
|
|
border: 1px solid transparent;
|
|
transition:
|
|
background 0.2s,
|
|
color 0.2s,
|
|
border-color 0.2s;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
line-height: 20px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
a.primary {
|
|
background: var(--foreground);
|
|
color: var(--background);
|
|
gap: 8px;
|
|
}
|
|
|
|
a.secondary {
|
|
border-color: var(--gray-alpha-200);
|
|
min-width: 158px;
|
|
}
|
|
|
|
.footer {
|
|
grid-row-start: 3;
|
|
display: flex;
|
|
gap: 24px;
|
|
}
|
|
|
|
.footer a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.footer img {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Enable hover only on non-touch devices */
|
|
@media (hover: hover) and (pointer: fine) {
|
|
a.primary:hover {
|
|
background: var(--button-primary-hover);
|
|
border-color: transparent;
|
|
}
|
|
|
|
a.secondary:hover {
|
|
background: var(--button-secondary-hover);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.footer a:hover {
|
|
text-decoration: underline;
|
|
text-underline-offset: 4px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.page {
|
|
padding: 32px;
|
|
padding-bottom: 80px;
|
|
}
|
|
|
|
.main {
|
|
align-items: center;
|
|
}
|
|
|
|
.main ol {
|
|
text-align: center;
|
|
}
|
|
|
|
.ctas {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ctas a {
|
|
font-size: 14px;
|
|
height: 40px;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
a.secondary {
|
|
min-width: auto;
|
|
}
|
|
|
|
.footer {
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.logo {
|
|
filter: invert();
|
|
}
|
|
}
|
|
|
|
.searchPage {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-family: var(--font-geist-sans);
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
}
|
|
|
|
.searchMain {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
width: 100%;
|
|
max-width: 800px;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.logoContainer {
|
|
margin-bottom: 36px;
|
|
text-align: center;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 4rem;
|
|
font-weight: 700;
|
|
letter-spacing: -1px;
|
|
background: linear-gradient(to right, var(--color-yale-blue), var(--color-cerise));
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
margin: 0;
|
|
}
|
|
|
|
.searchContainer {
|
|
width: 100%;
|
|
max-width: 600px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.searchBox {
|
|
display: flex;
|
|
width: 100%;
|
|
position: relative;
|
|
border-radius: 24px;
|
|
background: #fff;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
transition: box-shadow 0.3s ease;
|
|
}
|
|
|
|
.searchBox:hover, .searchBox:focus-within {
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.searchInput {
|
|
flex: 1;
|
|
height: 48px;
|
|
padding: 0 16px;
|
|
font-size: 16px;
|
|
border: none;
|
|
outline: none;
|
|
background: transparent;
|
|
color: #333;
|
|
}
|
|
|
|
.searchButton {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 16px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
color: var(--color-yale-blue);
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.searchButton:hover {
|
|
color: var(--color-cerise);
|
|
}
|
|
|
|
.searchIcon {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.suggestionsContainer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.suggestionChip {
|
|
padding: 8px 16px;
|
|
background: rgba(8, 61, 119, 0.08);
|
|
border: 1px solid rgba(8, 61, 119, 0.15);
|
|
border-radius: 20px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--foreground);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.suggestionChip:hover {
|
|
background: var(--color-yale-blue);
|
|
color: white;
|
|
border-color: var(--color-yale-blue);
|
|
}
|
|
|
|
.searchFooter {
|
|
width: 100%;
|
|
padding: 16px 0;
|
|
border-top: 1px solid rgba(var(--gray-rgb), 0.1);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.footerLinks {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 24px;
|
|
}
|
|
|
|
.footerLinks a {
|
|
color: var(--foreground);
|
|
opacity: 0.8;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.footerLinks a:hover {
|
|
opacity: 1;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.logo {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.searchBox {
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.searchInput {
|
|
height: 44px;
|
|
}
|
|
|
|
.suggestionsContainer {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.suggestionChip {
|
|
width: 100%;
|
|
max-width: 280px;
|
|
text-align: center;
|
|
}
|
|
|
|
.footerLinks {
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.searchBox {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.searchBox:hover, .searchBox:focus-within {
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.searchInput {
|
|
color: var(--foreground);
|
|
}
|
|
|
|
.searchButton {
|
|
color: var(--color-yale-blue);
|
|
}
|
|
|
|
.searchButton:hover {
|
|
color: var(--color-cerise);
|
|
}
|
|
|
|
.suggestionChip {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
}
|
|
}
|
|
|
|
.pageContainer {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2rem;
|
|
background-color: #f9fafb;
|
|
}
|
|
|
|
.mainTitle {
|
|
font-size: 2.5rem;
|
|
font-weight: bold;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.searchCard {
|
|
width: 100%;
|
|
max-width: 40rem;
|
|
background-color: white;
|
|
padding: 2rem;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.cardTitle {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.formGroup {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.label {
|
|
display: block;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: #4b5563;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.input,
|
|
.select {
|
|
width: 100%;
|
|
padding: 0.5rem 1rem;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 0.375rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.input:focus,
|
|
.select:focus {
|
|
outline: none;
|
|
border-color: #3b82f6;
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.yearGrid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.button {
|
|
width: 100%;
|
|
background-color: #3b82f6;
|
|
color: white;
|
|
padding: 0.5rem 1rem;
|
|
border: none;
|
|
border-radius: 0.375rem;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.button:hover {
|
|
background-color: #2563eb;
|
|
}
|
|
|
|
.brandSection {
|
|
margin-top: 1.5rem;
|
|
text-align: center;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.brandList {
|
|
margin-top: 0.5rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.brandLink {
|
|
color: #3b82f6;
|
|
}
|
|
|
|
.brandLink:hover {
|
|
text-decoration: underline;
|
|
}
|