Skip to content

Commit

Permalink
chore(curriculum): style header
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Jan 31, 2024
1 parent 1dd9d60 commit 1f937d2
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions client/src/curriculum/module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,32 @@
.curriculum-content {
grid-area: main;

.topic-icon {
height: 4rem;
width: 4rem;
header {
align-items: center;
display: grid;
grid-template-areas: "icon heading" "nothing category";
justify-content: flex-start;
justify-items: flex-start;

.topic-icon {
background-color: #eee;
grid-area: icon;
height: 4rem;
width: 4rem;
}
h1 {
grid-area: heading;
margin-bottom: 0rem;
}
p {
font-weight: 400;
grid-area: category;
margin: 0;

&::before {
content: "Category: ";
}
}
}

blockquote.curriculum-notes {
Expand Down

0 comments on commit 1f937d2

Please sign in to comment.