Skip to content

Commit d1eca10

Browse files
committed
Update styles. Remove vtk tutorial page
1 parent f801423 commit d1eca10

3 files changed

Lines changed: 12 additions & 327 deletions

File tree

feascript-website.css

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,9 @@ mjx-container {
477477
justify-content: center;
478478
gap: 0.5em;
479479
padding: 8px 16px;
480-
margin: -20px -20px 0;
480+
margin: -20px 0px 0;
481481
background: #f4f4f5;
482-
border-bottom: 1px solid #e0e0e0;
482+
/* border-bottom: 1px solid #e0e0e0; */
483483
font-size: 0.9em;
484484
color: #555;
485485
}
@@ -576,22 +576,14 @@ mjx-container {
576576
color: #2e7d32;
577577
}
578578

579-
/* Quick-start actions bar */
580-
.quickstart-actions {
579+
.quickstart-overlay-actions {
580+
position: absolute;
581+
bottom: 10px;
582+
right: 15px;
581583
display: flex;
582584
align-items: center;
583-
flex-wrap: wrap;
584-
gap: 14px;
585-
max-width: 1000px;
586-
margin: 10px 0 1.5em;
587-
}
588-
589-
.quickstart-note {
590-
margin: 0;
591-
flex: 1;
592-
min-width: 200px;
593-
font-size: 0.9em;
594-
color: #555;
585+
gap: 8px;
586+
z-index: 9;
595587
}
596588

597589
.btn-codepen {
@@ -618,22 +610,12 @@ mjx-container {
618610
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
619611
}
620612

621-
.quickstart-overlay-actions {
622-
position: absolute;
623-
bottom: 10px;
624-
right: 15px;
625-
display: flex;
626-
align-items: center;
627-
gap: 8px;
628-
z-index: 9;
629-
}
630-
631613
.btn-codepen-quickstart {
632614
padding: 4px 10px;
633615
font-size: 0.8em;
634616
border-radius: 6px;
635617
background: #47cf73;
636-
border: 1px solid #3dbb65;
618+
border: 1px solid #47cf73;
637619
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
638620
color: #111;
639621
}
@@ -647,7 +629,7 @@ mjx-container {
647629
font-weight: 600;
648630
border-radius: 6px;
649631
background: #ff0000;
650-
border: 1px solid #cc0000;
632+
border: 1px solid #ff0000;
651633
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
652634
color: #fff;
653635
text-decoration: none;
@@ -659,7 +641,7 @@ mjx-container {
659641
}
660642

661643
.btn-video-quickstart:hover {
662-
background: #e60000;
644+
background: #ff0000;
663645
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
664646
color: #fff;
665647
}

index.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -430,14 +430,6 @@ <h2 id="howtousefeascript"><a name="Getting Started"></a>How to Use FEAScript</h
430430
>
431431
</div>
432432

433-
<!-- <div class="quickstart-actions">
434-
<p class="quickstart-note">
435-
💡 The mesh is hosted on
436-
<a href="https://gist.github.com/nikoscham/0c5a78922a16111ceef42de54fc631ea">GitHub Gist</a> — fork it
437-
and replace the URL with your own <code>.msh</code> file to simulate a different geometry.
438-
</p>
439-
</div> -->
440-
441433
<script>
442434
function copyQuickstartCode() {
443435
const pre = document.getElementById("quickstart-code");
@@ -453,6 +445,7 @@ <h2 id="howtousefeascript"><a name="Getting Started"></a>How to Use FEAScript</h
453445
}
454446
</script>
455447

448+
<div style="margin-top: 0.5em"></div>
456449
<h2 id="features"><a name="Features"></a>Features</h2>
457450

458451
<p>The following list highlights key FEAScript features:</p>

tutorials/heat-conduction-2d-fin-vtkjs.html

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

0 commit comments

Comments
 (0)