style(course-teaser): make title and shorthand more obvious
This commit is contained in:
parent
f1722c1b0e
commit
873c0f249a
@ -4,11 +4,12 @@
|
|||||||
--course-padding-vert: 12px;
|
--course-padding-vert: 12px;
|
||||||
|
|
||||||
display: grid;
|
display: grid;
|
||||||
|
position: relative;
|
||||||
grid-gap: 5px 7px;
|
grid-gap: 5px 7px;
|
||||||
grid-template-columns: 140px 1fr 80px;
|
grid-template-columns: 140px 1fr 80px;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
'smstr school chevron'
|
|
||||||
'shrthnd title chevron'
|
'shrthnd title chevron'
|
||||||
|
'smstr school chevron'
|
||||||
'. rgstrd . '
|
'. rgstrd . '
|
||||||
'tutor name . '
|
'tutor name . '
|
||||||
'duedate date . '
|
'duedate date . '
|
||||||
@ -66,7 +67,6 @@
|
|||||||
.course-teaser__semester {
|
.course-teaser__semester {
|
||||||
grid-area: smstr;
|
grid-area: smstr;
|
||||||
justify-self: end;
|
justify-self: end;
|
||||||
font-size: 1.1rem;
|
|
||||||
a {
|
a {
|
||||||
color: var(--color-fontsec);
|
color: var(--color-fontsec);
|
||||||
}
|
}
|
||||||
@ -74,11 +74,11 @@
|
|||||||
|
|
||||||
/* shorthand */
|
/* shorthand */
|
||||||
.course-teaser__shorthand {
|
.course-teaser__shorthand {
|
||||||
|
position: absolute;
|
||||||
grid-area: shrthnd;
|
grid-area: shrthnd;
|
||||||
justify-self: end;
|
font-size: 2rem;
|
||||||
font-size: 1.2rem;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
overflow-wrap: anywhere;
|
color: var(--color-grey-medium);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* title */
|
/* title */
|
||||||
@ -98,7 +98,6 @@
|
|||||||
/* school */
|
/* school */
|
||||||
.course-teaser__school {
|
.course-teaser__school {
|
||||||
grid-area: school;
|
grid-area: school;
|
||||||
align-self: end;
|
|
||||||
a {
|
a {
|
||||||
color: var(--color-fontsec);
|
color: var(--color-fontsec);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user