-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some font-size and styles were not in accordance with AMA standards. Blogpost template was changed to have only one h1 instead of two.
- Loading branch information
1 parent
57a5a8c
commit 1b1ab56
Showing
12 changed files
with
93 additions
and
11 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
sites/nau/src/backend/templates/courses/cms/blogpost_detail.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% extends "courses/cms/blogpost_detail.html" %} | ||
{% load static category_tags cms_tags extra_tags i18n thumbnail %} | ||
|
||
{% block subheader_content %} | ||
<div class="subheader__container"> | ||
<h1 class="subheader__title">{% render_model current_page "title" %}</h1> | ||
</div> | ||
{% endblock subheader_content %} | ||
|
||
{% block title %} | ||
{% endblock title %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ a { | |
color: r-color("firebrick6"); | ||
|
||
&:hover { | ||
color: r-color("firebrick6"); | ||
color: r-color("midnightblue"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 29 additions & 6 deletions
35
sites/nau/src/frontend/scss/extras/components/templates/courses/cms/_blogpost_details.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,32 @@ | ||
.blogpost-detail__theme { | ||
.category-tag { | ||
background: none; | ||
.blogpost-detail { | ||
&__grid-main { | ||
a:not(h3 a) { | ||
text-decoration: underline; | ||
} | ||
} | ||
|
||
&__cover { | ||
margin-block-end: 2rem; | ||
} | ||
|
||
&__excerpt { | ||
margin-block-end: 2rem; | ||
} | ||
|
||
&__body { | ||
h2, h3 { | ||
margin-block-start: 2.5rem; | ||
margin-block-end: 1.2rem; | ||
} | ||
} | ||
|
||
&__theme { | ||
.category-tag { | ||
background: none; | ||
|
||
.category-tag__title { | ||
color: r-color("firebrick6"); | ||
.category-tag__title { | ||
color: r-color("firebrick6"); | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...s/nau/src/frontend/scss/extras/components/templates/courses/cms/_organization_detail.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.organization-detail { | ||
&__row { | ||
a:not(h3 a) { | ||
text-decoration: underline; | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
sites/nau/src/frontend/scss/extras/components/templates/courses/cms/_program_detail.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.program-detail { | ||
&__row { | ||
a:not(h3 a) { | ||
text-decoration: underline; | ||
} | ||
} | ||
|
||
&__excerpt { | ||
font-size: 1.2rem; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
sites/nau/src/frontend/scss/extras/components/templates/richie/_columns.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.single-column, | ||
.multiple-columns { | ||
|
||
.rich-text-container, | ||
.section { | ||
a { | ||
text-decoration: underline; | ||
} | ||
|
||
h2, .h2 { | ||
margin-block-start: 2rem; | ||
margin-block-end: 1rem; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters