2023-03-31 20:45:18 +00:00
|
|
|
:root {
|
|
|
|
--entry-width: 70vw;
|
|
|
|
--hover-expand-width: 0.5vw;
|
|
|
|
--transition-time: 0.1s;
|
|
|
|
}
|
|
|
|
|
2023-02-11 23:36:11 +00:00
|
|
|
#searchTitle {
|
|
|
|
font-size: 2rem;
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
width: 100vw;
|
|
|
|
height: fit-content;
|
|
|
|
left: 0vw;
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 2.5vmin;
|
2023-03-31 20:45:18 +00:00
|
|
|
color: var(--search-title-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchTerm {
|
2023-03-31 20:45:18 +00:00
|
|
|
color: var(--search-term-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#searchResultsContainer {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 2vmin;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchResultsContainer tr {
|
|
|
|
width: var(--entry-width);
|
2023-03-31 20:45:18 +00:00
|
|
|
background: var(--search-entry-bg-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
margin-bottom: 2vmin;
|
|
|
|
margin-left: var(--hover-expand-width);
|
|
|
|
margin-right: var(--hover-expand-width);
|
2023-03-31 20:45:18 +00:00
|
|
|
color: var(--search-entry-text-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
border-radius: 0.5rem;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
transition-property: all;
|
|
|
|
transition-duration: var(--transition-time);
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchResultsContainer a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchResultsContainer tr:hover {
|
2023-03-31 20:45:18 +00:00
|
|
|
background: var(--search-entry-bg-color-hover);
|
2023-02-11 23:36:11 +00:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
width: calc(var(--entry-width) + 2*var(--hover-expand-width));
|
|
|
|
border-radius: calc(2vmin + 0.5vw);
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchResultsContainer tr:hover p,
|
|
|
|
#searchResultsContainer tr:hover div {
|
|
|
|
margin-left: var(--hover-expand-width);
|
|
|
|
margin-right: var(--hover-expand-width);
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchResultsContainer tr p,
|
|
|
|
#searchResultsContainer tr div {
|
|
|
|
transition-property: all;
|
|
|
|
transition-duration: var(--transition-time);
|
|
|
|
}
|
|
|
|
|
2023-02-17 04:08:19 +00:00
|
|
|
#searchResultsContainer tr h3 {
|
2023-02-11 23:36:11 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 1vmin;
|
|
|
|
padding-left: 1.5vmin;
|
|
|
|
font-size: 1.25rem;
|
2023-03-31 20:45:18 +00:00
|
|
|
color: var(--search-entry-title-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
border-bottom: solid;
|
|
|
|
border-bottom-width: 0.2vmin;
|
|
|
|
}
|
|
|
|
|
2023-02-17 04:08:19 +00:00
|
|
|
#searchResultsContainer tr h3 div {
|
2023-02-11 23:36:11 +00:00
|
|
|
display: flex;
|
2023-02-17 04:08:19 +00:00
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: row;
|
2023-02-17 21:41:48 +00:00
|
|
|
align-items: baseline;
|
2023-02-11 23:36:11 +00:00
|
|
|
}
|
|
|
|
|
2023-02-17 04:08:19 +00:00
|
|
|
.pill {
|
2023-03-31 20:45:18 +00:00
|
|
|
background: var(--pill-default-color);
|
|
|
|
color: var(--pill-text-color);
|
2023-02-17 04:08:19 +00:00
|
|
|
display: flex;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: 400;
|
2023-02-11 23:36:11 +00:00
|
|
|
padding-left: 1.5vmin;
|
|
|
|
padding-right: 1.5vmin;
|
|
|
|
border-radius: 3vmin;
|
2023-02-17 04:08:19 +00:00
|
|
|
margin-bottom: 0.25vmin;
|
|
|
|
margin-top: 0.25vmin;
|
|
|
|
margin-right: 1vmin;
|
2023-02-11 23:36:11 +00:00
|
|
|
}
|
|
|
|
|
2023-02-17 04:08:19 +00:00
|
|
|
.pill svg {
|
|
|
|
display: inline-block;
|
2023-02-11 23:36:11 +00:00
|
|
|
align-self: center;
|
|
|
|
width: 1rem;
|
|
|
|
max-height: 1rem;
|
|
|
|
padding-left: 0.5vmin;
|
2023-03-31 20:45:18 +00:00
|
|
|
fill: var(--pill-svg-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.CI-pill {
|
2023-03-31 20:45:18 +00:00
|
|
|
background: var(--ci-pill-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.WI-pill {
|
2023-03-31 20:45:18 +00:00
|
|
|
background: var(--wi-pill-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
}
|
|
|
|
|
2023-02-17 04:08:19 +00:00
|
|
|
.PDII-pill {
|
2023-03-31 20:45:18 +00:00
|
|
|
background: var(--pdii-pill-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
}
|
|
|
|
|
2023-02-17 04:08:19 +00:00
|
|
|
.HInq-pill {
|
2023-03-31 20:45:18 +00:00
|
|
|
background: var(--hinq-pill-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.courseName {
|
2023-03-31 20:45:18 +00:00
|
|
|
color: var(--course-name-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
font-size: 1.45rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.courseCode {
|
2023-03-31 20:45:18 +00:00
|
|
|
color: var(--course-code-color);
|
2023-02-11 23:36:11 +00:00
|
|
|
font-weight: 400;
|
2023-02-12 05:38:09 +00:00
|
|
|
font-size: 1rem;
|
2023-02-11 23:36:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#searchResultsContainer p {
|
|
|
|
padding: 1.5vmin;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchResultsContainer h3 span {
|
2023-02-12 05:38:09 +00:00
|
|
|
margin-right: 0.5vw;
|
2023-02-11 23:36:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#searchResultsContainer h3:hover p {
|
|
|
|
padding-left: calc(1.5vmin + var(--hover-expand-width));
|
|
|
|
padding-right: calc(1.5vmin + var(--hover-expand-width));
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (orientation: portrait) {
|
|
|
|
#searchResultsContainer tr {
|
|
|
|
width: 90vw;
|
|
|
|
}
|
|
|
|
#searchResultsContainer tr:hover {
|
|
|
|
width: 91vw;
|
|
|
|
}
|
|
|
|
}
|