From a0d71e73315253d87d01d6ebc128d695ebebf514 Mon Sep 17 00:00:00 2001
From: William Palin
Date: Thu, 12 Dec 2024 14:32:22 -0500
Subject: [PATCH 1/4] fix(opinions.css):Front end tweaks
Remove pink/brown caption color
Go Sans Serif
---
cl/assets/static-global/css/opinions.css | 22 ++++++++--------------
cl/opinion_page/templates/opinions.html | 5 +++--
2 files changed, 11 insertions(+), 16 deletions(-)
diff --git a/cl/assets/static-global/css/opinions.css b/cl/assets/static-global/css/opinions.css
index ff1b0200d3..93c6a9c8c4 100644
--- a/cl/assets/static-global/css/opinions.css
+++ b/cl/assets/static-global/css/opinions.css
@@ -6,7 +6,7 @@
.opinion-body {
.harvard > * {
- font-family: Merriweather, "Times New Roman", Times, serif;
+ font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
font-size: 15px;
letter-spacing: 0.2px;
text-align: justify;
@@ -379,24 +379,19 @@ div.footnote:first-of-type {
/*Case Caption CSS*/
#caption-square {
- background-color: #F6F2EE;
+ background-color: whitesmoke;
margin-left: -15px;
margin-right: -15px;
margin-top: -20px;
}
#caption-square > ul > li {
- background-color: #fcfaf9;
+ background-color: #e7e7e7;
border-top-right-radius: 5px 5px; /* Rounds the corners */
border-top-left-radius: 5px 5px; /* Rounds the corners */
margin-left: 4px;
}
- #caption-square > ul > li.active {
- background-color: #ffffff;
- border-bottom: 1px solid lightgrey;
- }
-
#caption-square > ul > li.active {
background-color: #ffffff;
border-bottom: 1px solid white;
@@ -407,7 +402,6 @@ div.footnote:first-of-type {
}
/*Opinion Date File*/
-
.case-date-new {
border: 1px solid #B53C2C;
padding: 0px 10px;
@@ -439,7 +433,7 @@ div.footnote:first-of-type {
#opinion-caption {
margin-top: 20px;
- font-family: Merriweather, "Times New Roman", Times, serif;
+ font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
font-size: 15px;
letter-spacing: 0.2px;
line-height: 2.3em;
@@ -530,7 +524,7 @@ div.footnote:first-of-type {
}
div.subopinion-content > .harvard {
- font-family: Merriweather, "Times New Roman", Times, serif;
+ font-family: "Open Sans", Arial, Helvetica, sans-serif;
font-size: 15px;
letter-spacing: 0.2px;
line-height: 2.3em;
@@ -538,7 +532,7 @@ div.footnote:first-of-type {
}
#columbia-text {
- font-family: Merriweather, "Times New Roman", Times, serif;
+ font-family: "Open Sans", Arial, Helvetica, sans-serif;
font-size: 15px;
letter-spacing: 0.2px;
line-height: 2.3em;
@@ -684,14 +678,14 @@ div.footnote:first-of-type {
}
.case-details {
- font-family: Merriweather, "Times New Roman", Times, serif;
+ font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
letter-spacing: 0.2px;
line-height:2.3em;
}
.opinion-section-title {
margin-top: 50px;
- font-family: Merriweather, "Times New Roman", Times, serif;
+ font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
}
/*Add style to align roman numerals */
diff --git a/cl/opinion_page/templates/opinions.html b/cl/opinion_page/templates/opinions.html
index 8b2190a252..7d7002db4e 100644
--- a/cl/opinion_page/templates/opinions.html
+++ b/cl/opinion_page/templates/opinions.html
@@ -62,8 +62,8 @@ Admin
{% endif %}
-
-
From 229dfe4fa1733e29e7cfaea145298ff85b061f95 Mon Sep 17 00:00:00 2001
From: William Palin
Date: Fri, 13 Dec 2024 16:58:09 -0500
Subject: [PATCH 4/4] fix(opinion.html): Fix typo in opinions.html
---
cl/opinion_page/templates/opinions.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cl/opinion_page/templates/opinions.html b/cl/opinion_page/templates/opinions.html
index 9326a3b2a7..4402fc8686 100644
--- a/cl/opinion_page/templates/opinions.html
+++ b/cl/opinion_page/templates/opinions.html
@@ -62,7 +62,7 @@ Admin
{% endif %}
- {% if tab == "opinion" %}
+ {% if tab == "opinions" %}