Skip to content

Commit f35d35c

Browse files
committed
drop css for scss + few style changes
1 parent 4820001 commit f35d35c

18 files changed

+1112
-1121
lines changed

_quarto.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ website:
4545
format:
4646
html:
4747
theme:
48-
light: cosmo
48+
light: [cosmo, theming/theme-light.scss]
4949
dark: [cosmo, theming/theme-dark.scss]
50-
css: theming/styles.css
5150
highlight-style: github
5251
toc: true
5352
smooth-scroll: true

index.qmd

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ listing:
3535
:::: {.section-start-space}
3636

3737
### What is Turing.jl?
38-
<p class="text-muted">Turing.jl is a Julia library for general-purpose probabilistic programming.</p>
38+
<p>Turing.jl is a Julia library for general-purpose probabilistic programming.</p>
3939

4040
::::
4141

@@ -65,12 +65,12 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
6565
::: {#start}
6666

6767
### Start Your Journey
68-
<p class="text-muted">Whether you're new to Bayesian modeling or an experienced researcher, find the resources you need.</p>
68+
<p>Whether you're new to Bayesian modeling or an experienced researcher, find the resources you need.</p>
6969

7070
:::
7171

7272
```{=html}
73-
<a href="#cite" class="button btn desktop-only-button">Research Papers on Turing.jl &rarr;</a>
73+
<a href="#cite" class="button desktop-only-button">Research Papers on Turing.jl &rarr;</a>
7474
```
7575

7676
::::
@@ -90,8 +90,8 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
9090

9191
::: {.d-flex .flex-column .align-items-center .gap-2 .pt-3}
9292
```{=html}
93-
<a href="https://turinglang.org/docs/getting-started/" class="button btn">Get Started</a>
94-
<a href="https://turinglang.org/docs/tutorials/coin-flipping/" class="text-muted" style="font-size: 0.9em;">Beginner's Walkthrough</a>
93+
<a href="https://turinglang.org/docs/getting-started/" class="button">Get Started</a>
94+
<a href="https://turinglang.org/docs/tutorials/coin-flipping/" class="link-muted" style="font-size: 0.9em;">Beginner's Walkthrough</a>
9595
```
9696
:::
9797

@@ -112,8 +112,8 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
112112
::: {.d-flex .flex-column .align-items-center .gap-2 .pt-3}
113113

114114
```{=html}
115-
<a href="/library" class="button btn">Explore Ecosystem</a>
116-
<a href="#cite" class="text-muted" style="font-size: 0.9em;">Cite Turing.jl</a>
115+
<a href="/library" class="button">Explore Ecosystem</a>
116+
<a href="#cite" class="link-muted" style="font-size: 0.9em;">Cite Turing.jl</a>
117117
```
118118

119119
:::
@@ -135,8 +135,8 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
135135
::: {.d-flex .flex-column .align-items-center .gap-2 .pt-3}
136136

137137
```{=html}
138-
<a href="https://github.com/TuringLang" class="button btn">View on GitHub</a>
139-
<a href="https://julialang.slack.com/archives/CCYDC34A0" class="text-muted" style="font-size: 0.9em;">Join the Slack Channel</a>
138+
<a href="https://github.com/TuringLang" class="button">View on GitHub</a>
139+
<a href="https://julialang.slack.com/archives/CCYDC34A0" class="link-muted" style="font-size: 0.9em;">Join the Slack Channel</a>
140140
```
141141
:::
142142

@@ -146,7 +146,7 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
146146

147147
::: {.mobile-only-button-container}
148148
```{=html}
149-
<a href="#cite" class="button btn">Research Papers on Turing.jl &rarr;</a>
149+
<a href="#cite" class="button">Research Papers on Turing.jl &rarr;</a>
150150
```
151151
:::
152152
<!-- Start Your Journey Section Ends Here-->
@@ -157,12 +157,12 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
157157
::: {#core-packages-header-content}
158158

159159
### Core Packages {#core-packages}
160-
<p class="text-muted">The Turing ecosystem is built on a foundation of powerful, composable packages.</p>
160+
<p>The Turing ecosystem is built on a foundation of powerful, composable packages.</p>
161161

162162
:::
163163

164164
```{=html}
165-
<a href="/library" class="button btn desktop-only-button">Explore Ecosystem &rarr;</a>
165+
<a href="/library" class="button desktop-only-button">Explore Ecosystem &rarr;</a>
166166
```
167167

168168
::::
@@ -219,7 +219,7 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
219219

220220
### News & Updates {#news-updates}
221221

222-
<p class="text-muted">Read the latest from the Turing team.</p>
222+
<p>Read the latest from the Turing team.</p>
223223

224224
:::
225225

@@ -246,7 +246,7 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
246246

247247
### Featured Tutorials {#featured-tutorials}
248248

249-
<p class="text-muted">A selection of tutorials to get you started.</p>
249+
<p>A selection of tutorials to get you started.</p>
250250

251251
:::
252252
```{=html}

theming/rules/_citations.scss

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
.citation-container {
2+
margin: auto;
3+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
4+
}
5+
6+
.citation-list {
7+
list-style: none;
8+
padding: 0;
9+
margin: 0;
10+
display: flex;
11+
flex-direction: column;
12+
gap: 1rem;
13+
}
14+
15+
.citation-entry {
16+
padding: 1.5rem !important;
17+
margin-bottom: 0;
18+
display: flex;
19+
justify-content: space-between;
20+
align-items: center;
21+
gap: 1rem;
22+
}
23+
24+
.citation-content {
25+
flex-grow: 1;
26+
}
27+
28+
.citation-text {
29+
font-size: 0.95rem;
30+
line-height: 1.6;
31+
color: $text-muted;
32+
margin: 0;
33+
34+
em {
35+
font-style: italic;
36+
}
37+
}
38+
39+
.citation-title {
40+
font-weight: 600;
41+
color: $text-color;
42+
}
43+
44+
.citation-actions {
45+
display: flex;
46+
gap: 0.5rem;
47+
flex-shrink: 0;
48+
}

theming/rules/_footer.scss

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
/* Custom Footer */
2+
.custom-footer {
3+
background-color: $navbar-bg;
4+
color: $text-muted;
5+
font-size: 0.9rem;
6+
padding: 3rem 2rem 2rem;
7+
border-top: 1px solid $btn-border-color;
8+
9+
.footer-container {
10+
max-width: 1350px;
11+
margin: 0 auto;
12+
}
13+
14+
.footer-grid {
15+
display: flex;
16+
flex-wrap: wrap;
17+
justify-content: space-between;
18+
gap: 2rem;
19+
margin-bottom: 2rem;
20+
padding-bottom: 2rem;
21+
border-bottom: 1px solid $btn-border-color;
22+
}
23+
24+
.footer-links-wrapper {
25+
display: flex;
26+
flex-wrap: wrap;
27+
gap: 2rem;
28+
flex: 2 1 400px;
29+
}
30+
31+
.footer-column {
32+
flex: 1 1 auto;
33+
34+
h5 {
35+
font-weight: 600;
36+
color: $panel-bg;
37+
margin-bottom: 1.25rem;
38+
font-size: 0.9rem;
39+
text-transform: uppercase;
40+
letter-spacing: 0.08em;
41+
}
42+
43+
a {
44+
display: flex;
45+
align-items: center;
46+
gap: 0.75rem;
47+
margin-bottom: 0.75rem;
48+
color: $text-muted;
49+
text-decoration: none;
50+
transition: color 0.2s ease;
51+
52+
&:hover {
53+
color: $links-hover;
54+
text-decoration: none;
55+
}
56+
57+
i {
58+
font-size: 1.1rem;
59+
line-height: 1;
60+
width: 20px;
61+
text-align: center;
62+
}
63+
}
64+
}
65+
66+
.partner-logo {
67+
flex: 1;
68+
69+
img {
70+
max-width: 100%;
71+
height: 50px;
72+
object-fit: contain;
73+
transition: transform 0.2s ease;
74+
}
75+
76+
&:hover img {
77+
transform: scale(1.05);
78+
}
79+
}
80+
81+
.footer-brands {
82+
flex: 1 1 320px;
83+
84+
p {
85+
font-size: 0.9rem;
86+
line-height: 1.6;
87+
margin-top: -0.5rem;
88+
margin-bottom: 1.5rem;
89+
}
90+
91+
.logo-grid {
92+
display: flex;
93+
gap: 2rem;
94+
align-items: center;
95+
}
96+
}
97+
98+
.footer-bottom {
99+
display: flex;
100+
justify-content: space-between;
101+
align-items: center;
102+
font-size: 0.85rem;
103+
flex-wrap: wrap;
104+
gap: 1rem;
105+
106+
p {
107+
margin: 0;
108+
line-height: 1.6;
109+
}
110+
111+
a {
112+
color: $links;
113+
font-weight: 500;
114+
text-decoration: none;
115+
border-bottom: 1px solid $btn-border-color;
116+
&:hover {
117+
border-bottom-color: $links-hover;
118+
}
119+
}
120+
}
121+
}
122+
123+
.footer-source-link {
124+
display: flex;
125+
align-items: center;
126+
gap: 0.5rem;
127+
}

0 commit comments

Comments
 (0)