Skip to content

Commit 378fa85

Browse files
authored
Quick CSS cleanup (#531)
* Reverted training.qmd topbav to white bg * Fixed disappearing footer hover links * Adjusted video border
1 parent a06152b commit 378fa85

4 files changed

Lines changed: 18 additions & 5 deletions

File tree

site/about/contributing/style-guide/conventions.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ lightbox: true
332332
##### Embedded
333333

334334
```html
335-
<div style="position: relative; padding-bottom: 65.2962515114873%; height: 0;"><iframe src="https://www.loom.com/embed/4d0572607d254b04a5c951b4d3f91f73?sid=ac7ffa93-e9e2-42f0-9392-abcf8d52c104" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 90%; height: 90%; box-shadow: 5px 5px 5px #ccc; border-radius: 5px; border: 1px solid #DE257E;"></iframe></div>
335+
<div style="position: relative; padding-bottom: 65.2962515114873%; height: 0;"><iframe src="https://www.loom.com/embed/4d0572607d254b04a5c951b4d3f91f73?sid=ac7ffa93-e9e2-42f0-9392-abcf8d52c104" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 90%; height: 90%; box-shadow: 5px 5px 5px #ccc; border-radius: 5px; border: 1px solid #196972;"></iframe></div>
336336
```
337337

338338
#### Code

site/releases/2024-oct-22/release-notes.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Watch the demo:
282282
<div style="position: relative; padding-bottom: 62.5%; height: 0;">
283283
<iframe src="https://www.loom.com/embed/4d7d14b21d17416caefddf2b46fe05af?sid=70f2acd6-9a29-4856-a6ed-b3a0b28b084b"
284284
frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen
285-
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-shadow: 5px 5px 5px #ccc, -5px 5px 5px #ccc; border-radius: 5px; box-shadow: 5px 5px 5px #ccc; border-radius: 5px; border: 1px solid #DE257E;"></iframe>
285+
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-shadow: 5px 5px 5px #ccc, -5px 5px 5px #ccc; border-radius: 5px; box-shadow: 5px 5px 5px #ccc; border-radius: 5px; border: 1px solid #196972;"></iframe>
286286
</div>
287287

288288
<!---

site/styles.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ a.nav-link, a.dropdown-item {
5353
position: relative;
5454
}
5555

56-
a.nav-link:not(nav#TOC a.nav-link):before,
57-
a.dropdown-item:not(nav#TOC a.dropdown-item):before {
56+
a.nav-link:not(nav#TOC a.nav-link, .nav-footer a:hover):before,
57+
a.dropdown-item:before {
5858
content: "";
5959
position: absolute;
6060
display: block;
@@ -260,6 +260,11 @@ pre, pre.python, pre.bash, pre.yaml, pre.markdown {
260260
padding-top: 25px;
261261
}
262262

263+
.nav-footer a:hover {
264+
color: #1A202C;
265+
text-decoration: none;
266+
}
267+
263268
.alert, .alert-primary {
264269
background-color: #DE257E;
265270
}
@@ -458,7 +463,7 @@ figcaption {
458463
.video, iframe[src*="youtube.com"] {
459464
box-shadow: 5px 5px 5px #ccc;
460465
border-radius: 5px;
461-
border: 1px solid #DE257E;
466+
border: 1px solid #196972;
462467
}
463468

464469
#listing-validmind-academy .thumbnail-image.card-img {

site/training/training.qmd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ listing:
6868
author: "{{< var vm.product >}}"
6969
---
7070

71+
```{=html}
72+
<style>
73+
.navbar {
74+
background-color: white !important;
75+
}
76+
</style>
77+
```
78+
7179
::: {.column-screen}
7280

7381
::: {.training-hero}

0 commit comments

Comments
 (0)