Skip to content

Commit 4f11da4

Browse files
removed new styles from this PR but added similar new theme in old format
1 parent 4933d64 commit 4f11da4

21 files changed

+533
-505
lines changed

_includes/news.qmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ listing:
9393
);
9494
const N_original = originalItems.length;
9595
96+
originalItems.forEach(item => {
97+
const card = item.querySelector('.card');
98+
if (card) {
99+
card.classList.add('news-item');
100+
}
101+
});
102+
96103
// Helper to get items per view (cached on first call, recalculated on resize)
97104
function getItemsPerView() {
98105
const width = window.innerWidth;

_quarto.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ website:
1616
type: overlay
1717
navbar:
1818
logo: "assets/images/turing-logo.svg"
19-
# logo-href: https://turinglang.org/
19+
# logo-href: https://turinglang.org/ -- Keep this commented so clicking on logo in dev mode doesn't redirect to the site
2020
left:
2121
- text: Get Started
2222
href: https://turinglang.org/docs/getting-started/
@@ -51,8 +51,9 @@ website:
5151
format:
5252
html:
5353
theme:
54-
light: [cosmo, theming/light.scss]
55-
dark: [cosmo, theming/dark.scss]
54+
light: cosmo
55+
dark: [cosmo, theming/theme-dark.scss]
56+
css: theming/styles.css
5657
highlight-style: github
5758
toc: true
5859
smooth-scroll: true

news/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ listing:
1010
categories: true
1111
feed: true
1212
page-layout: full
13-
title-block-banner: "#EDF3F9"
13+
title-block-banner: true
1414
title-block-banner-color: "black"
1515
search: false
1616
---

theming/dark.scss

Lines changed: 0 additions & 23 deletions
This file was deleted.

theming/light.scss

Lines changed: 0 additions & 20 deletions
This file was deleted.

theming/old/_old-styles.scss

Lines changed: 0 additions & 47 deletions
This file was deleted.

theming/rules/_hoverables-dark.scss

Lines changed: 0 additions & 33 deletions
This file was deleted.

theming/rules/_hoverables-light.scss

Lines changed: 0 additions & 32 deletions
This file was deleted.

theming/rules/_layouts.scss

Lines changed: 0 additions & 46 deletions
This file was deleted.

theming/rules/_mixins.scss

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)