Skip to content

Commit

Permalink
✨ style sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
TanyaS08 committed Oct 30, 2024
1 parent 0f040d4 commit d6e5d21
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ website:
text: People
- href: research.qmd
text: Research
- href: resources.qmd
text: Resources
right:
- href: join.qmd
text: Join Us
Expand All @@ -18,7 +20,7 @@ website:

format:
html:
theme: cosmo
theme: [cosmo, mystyles.scss]
toc: true
format:
css: assets/css/styles.css
Expand Down
76 changes: 76 additions & 0 deletions mystyles.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/*-- scss:defaults --*/

// Colors
$black: #0C1A1A;
$white: #ffffff;

.teaching {
.course-entry {
display: flex;
flex-direction: row;
// font-family: $headings-font-family;
line-height: 1.3;
margin-bottom: 3em;
column-gap: 0.7em;

.body {
flex: 1 1 auto;
}

.logo {
flex: 0 0 140px;

img {
width: 100%;
}
}

.course-title {
font-weight: 500;
font-size: 1.25em;
margin-bottom: 0.2em;
}

.course-details {
font-weight: 300;
font-size: 0.9em;
margin-bottom: 0.5em;
// color: $gray-800;
}

.course-description {
font-weight: 300;
font-size: 1.1em;
margin-bottom: 0.5em;
}

.course-role {
font-weight: 500;
}

ul.course-semesters {
list-style: none;
padding: 0;
margin-bottom: 0;

li {
display: inline-block;
white-space: nowrap;
// background-color: $orange;
margin: 0 0.2em 0.4em 0;
padding: 0.2em 0.4em;
font-size: 0.85em;
border-radius: 0.25rem;

&.no-link {
background-color: $white;
border: 1px solid $black;
}

a {
color: $white;
}
}
}
}
}

0 comments on commit d6e5d21

Please sign in to comment.