Skip to content

Commit 9669f00

Browse files
simonsteigershravanngoswamii
authored andcommitted
better alignment
1 parent 485e2e8 commit 9669f00

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

index.qmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ description: |
3030
<span class="display-6 d-block text-center pb-4 display-md-5 display-lg-4">
3131
Bayesian inference with probabilistic programming
3232
</span>
33-
<div class="d-flex flex-row flex-wrap justify-content-center gap-2">
33+
<div class="d-flex flex-row flex-wrap panel-wrapper gap-2">
3434
<a href="https://turinglang.org/docs/tutorials/docs-00-getting-started/" class="button--fill btn">
3535
Tutorials
3636
</a>
@@ -42,7 +42,7 @@ description: |
4242
</a>
4343
</div>
4444
</div>
45-
<div class="d-flex flex-row flex-wrap justify-content-center gap-4 section-end-space">
45+
<div class="d-flex flex-row flex-wrap panel-wrapper gap-4 section-end-space">
4646
<div class="panel">
4747
<div class="panel-title">
4848
Intuitive
@@ -64,7 +64,7 @@ description: |
6464
</div>
6565
```
6666

67-
<div class="d-flex flex-row flex-wrap justify-content-center gap-3 pb-2">
67+
<div class="d-flex flex-row flex-wrap panel-wrapper gap-3 pb-2">
6868
<div class="example-text" style="text-align:right;padding:0.5rem;">
6969
<div class="fs-4 fw-bold pb-1">
7070
Hello, World in Turing
@@ -86,7 +86,7 @@ end;
8686
```
8787
</div>
8888
</div>
89-
<div class="d-flex flex-row-reverse flex-wrap justify-content-center gap-3 pt-2 section-end-space">
89+
<div class="d-flex flex-row-reverse flex-wrap panel-wrapper gap-3 pt-2 section-end-space">
9090
<div class="example-text" style="padding:0.5rem;">
9191
<div class="fs-4 fw-bold pb-1">
9292
Goodbye, World in Turing

theming/dark.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ $theme: "cosmo" !default;
1919
@import "rules/codeblocks";
2020

2121
@import "old/old-styles";
22+
23+
//

theming/rules/_mixins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
border-radius: $border-radius-sm;
33
padding: 1rem;
44
min-height: 120px !important;
5-
min-width: 300px !important;
5+
//min-width: 300px !important;
66

77
--bs-card-spacer-x: 0rem !important;
88
--bs-card-spacer-y: 0rem !important;

theming/rules/_panels.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,11 @@
2121
padding: 0rem;
2222
}
2323
}
24+
25+
.panel-wrapper {
26+
justify-content: space-between;
27+
28+
@media screen and (max-width: 992px) {
29+
justify-content: center;
30+
}
31+
}

0 commit comments

Comments
 (0)