Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _includes/new-includes/components/callout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
>
<div class="text">
{% if include.title %}
<h3 class="callout-title">{{ include.title }}</h3>
<h3 class="callout-title title-1">{{ include.title }}</h3>
{% endif %} {% if include.subtitle %}
<p class="callout-subtitle">{{ include.subtitle }}</p>
<p class="callout-subtitle title-2">{{ include.subtitle }}</p>
{% endif %} {% if include.text %}
<p class="callout-text body-copy">{{ include.text }}</p>
<p class="callout-text body">{{ include.text }}</p>
{% endif %}
</div>
{% if include.code %}
Expand Down
10 changes: 5 additions & 5 deletions assets/javascripts/new-javascripts/blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const createAnchor = (postData) => {
anchor.href = postData.url
anchor.classList = 'post-link'
anchor.innerHTML = `
<h3 class="title">${postData.title}</h3>
<time pubdate datetime="${postData.date}" class="blog-date">${postData.date}</time>
<p class="body-copy">${postData.excerpt}</p>
<h3 class="title-4">${postData.title}</h3>
<time pubdate datetime="${postData.date}" class="blog-date body">${postData.date}</time>
<p class="body">${postData.excerpt}</p>
${postData.categories.reduce((markup, category) => {
return markup + ` <span class="category body-copy">${category}</span>`
return markup + ` <span class="category body">${category}</span>`
}, '')}
`
return anchor
Expand Down Expand Up @@ -83,7 +83,7 @@ window.addEventListener('click', (evt) => {

// Select all category filters
selectAllBox.addEventListener('click', () =>
selectAllCategories(selectAllBox, filters)
selectAllCategories(selectAllBox, filters),
)

filters.forEach((checkbox) => {
Expand Down
1 change: 1 addition & 0 deletions assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ layout: source
@use "pages";
@use "print";
@use "new-stylesheets/themes" as *;
@use 'new-stylesheets/typography';
@use 'new-stylesheets/includes/header';
@use 'new-stylesheets/includes/navigation';
@use 'new-stylesheets/includes/footer';
Expand Down
1 change: 1 addition & 0 deletions assets/stylesheets/new-stylesheets/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
--site-navigation-box-shadow: none;
--site-navigation-background: rgba(0, 0, 0, 0.3);
--site-navigation-text-color: #ffffff;
--site-navigation-text-color-selected: #1e162e;
--site-navigation-item-background: rgba(0, 0, 0, 0.4);
--site-tabs-background: rgba(35, 52, 74, 1);
--site-tabs-active-background: #505f83;
Expand Down
31 changes: 31 additions & 0 deletions assets/stylesheets/new-stylesheets/_typography.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Typography utility classes

.title-1 {
font-size: 48px;
font-weight: 500;
line-height: 1.2;
}

.title-2 {
font-size: 42px;
font-weight: 500;
line-height: 1.2;
}

.title-3 {
font-size: 24px;
font-weight: 500;
line-height: 1.2;
}

.title-4 {
font-size: 22px;
font-weight: 500;
line-height: 1.2;
}

.body {
line-height: 1.53;
font-weight: 400;
font-size: 17px;
}
1 change: 1 addition & 0 deletions assets/stylesheets/new-stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: source
---

@use 'core';
@use 'typography';
@use 'syntax';
@use 'includes';
@use 'pages';
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,9 @@

.callout-title {
margin: -4px 0 3px;
font-size: 48px;
font-weight: 600;
line-height: 1.2;
}

.callout-subtitle {
line-height: 1.25;
margin-bottom: 4px;
font-size: 24px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ footer.global-footer {
}

input:checked + .color-scheme-toggle-label {
background: #fca76c;
background: var(--site-navigation-selected-background);
color: #1e162e;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@

& > span {
background-color: var(--site-navigation-selected-background);
color: var(--site-navigation-text-color-selected);
}
}
}
Expand Down
127 changes: 0 additions & 127 deletions assets/stylesheets/new-stylesheets/pages/_blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,11 @@
display: block;
color: var(--blog-muted-color);
margin-bottom: 10px;
font-weight: 500;
}

.blog-title {
display: block;
font-size: 22px;
line-height: 1.2;
margin: 0 0 5px;
font-weight: 500;
}

.blog-excerpt {
Expand All @@ -95,7 +91,6 @@
// featured grid styles
.blog-featured-grid {
margin-top: 146px;
line-height: 1.53;
margin-bottom: 50px;

.content {
Expand All @@ -112,15 +107,11 @@
}

.blog-featured-grid-headline {
font-size: 48px;
font-weight: 500;
margin-bottom: 16px;
color: var(--site-text-color);
text-align: left;

@media only screen and (max-width: 768px) {
font-size: 32px;
line-height: 1.33;
margin-bottom: 22px;
}
}
Expand All @@ -146,15 +137,7 @@
}

.blog-featured-grid-category-headline {
font-size: 24px;
font-weight: 600;
margin-bottom: 13px;
line-height: 1.2;
}

.section-icon {
width: 60px;
margin: 40px 0 0;
}

.blog-featured-category-posts {
Expand Down Expand Up @@ -182,80 +165,6 @@
border-radius: 22px;
padding: 20px 30px 20px 20px;
flex-grow: 1;

// @media only screen and (max-width: 768px) {
// flex-direction: column;
// }

img {
width: 168px;
height: 180px;
object-fit: cover;
flex-shrink: 0;
background-color: #f6f6f6;

@media only screen and (max-width: 768px) {
width: 100%;
height: auto;
}
}

div {
display: flex;
flex-direction: column;
flex: 1;
min-height: 140px;
position: relative;
padding: 20px;

.name {
font-size: 24px;
line-height: 1.25;
margin-bottom: 10px;
}

.text {
font-size: 17px;
flex-grow: 1;
}
}
}
}

.tertiary-cards,
.primary-cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
// padding: 0 0 40px;

.news-item {
background-color: var(--get-started-card-secondary-bg);
padding: 20px 30px 20px 20px;
display: flex;
text-align: left;

div {
display: flex;
flex-direction: column;
flex: 1;
position: relative;

.name {
font-size: 24px;
line-height: 1.25;
margin-bottom: 10px;
}

.text {
font-size: 17px;
flex-grow: 1;
}
}
}

@media only screen and (max-width: 768px) {
grid-template-columns: 1fr;
}
}
}
Expand All @@ -270,20 +179,6 @@
border: 1px solid var(--blog-dropdown-toggle-inset-outline-color-active);
}

.dropdown-close {
background: var(--dropdown-close-icon);
position: absolute;
top: 12px;
right: 12px;
background-size: cover;
border: none;
width: 20px;
height: 20px;
padding: 0;
color: var(--blog-muted-color);
cursor: pointer;
}

.dropdown-toggle {
display: flex;
align-items: center;
Expand Down Expand Up @@ -436,29 +331,7 @@
text-decoration: none;
display: block;

&-with-image {
display: flex;
gap: 36px;

img {
width: 120px;
height: 120px;
background-size: cover;
}

@media only screen and (max-width: 1024px) {
display: block;

img {
width: 100%;
height: auto;
}
}
}

h3 {
font-size: 22px;
font-weight: 600;
color: var(--site-text-color);
}

Expand Down
39 changes: 1 addition & 38 deletions assets/stylesheets/new-stylesheets/pages/_get-started.scss
Original file line number Diff line number Diff line change
Expand Up @@ -246,43 +246,6 @@
}
}

.tertiary-cards,
.primary-cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
// padding: 0 0 40px;

li {
background-color: var(--get-started-card-secondary-bg);
padding: 20px 30px 20px 20px;
display: flex;
text-align: left;

div {
display: flex;
flex-direction: column;
flex: 1;
position: relative;

.name {
font-size: 24px;
line-height: 1.25;
margin-bottom: 10px;
}

.text {
font-size: 17px;
flex-grow: 1;
}
}
}

@media only screen and (max-width: 768px) {
grid-template-columns: 1fr;
}
}

.tertiary-cards {
img {
width: 45px;
Expand Down Expand Up @@ -553,7 +516,7 @@

@media only screen and (max-width: 768px) {
nav {
width: 100%;
width: 100%;

ul {
white-space: nowrap;
Expand Down
Loading