Skip to content

Commit

Permalink
Add global testcontainers header to docs (#1308)
Browse files Browse the repository at this point in the history
* Add tc-header and ruby link

* Fix older theme version title  active state

* Fix var name typo

Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com>

* Fix extra.css feedback

* Add desktop nav item

* Change nav title

* docs: change title

---------

Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com>
  • Loading branch information
leocross and mdelapenya committed Aug 9, 2023
1 parent 1c11707 commit 13d6344
Show file tree
Hide file tree
Showing 11 changed files with 895 additions and 15 deletions.
19 changes: 12 additions & 7 deletions docs/css/extra.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
@import url('https://fonts.googleapis.com/css?family=Rubik');
h1, h2, h3, h4, h5, h6 {
font-family: 'Rubik', sans-serif;

}

[data-md-color-scheme="testcontainers"] {
--md-primary-fg-color: #291A3F;
--md-accent-fg-color: #291A3F;
--md-primary-fg-color: #00bac2;
--md-accent-fg-color: #361E5B;
--md-typeset-a-color: #0C94AA;
--md-primary-fg-color--dark: #291A3F;
--md-default-fg-color--lightest: #F2F4FE;
--md-footer-fg-color: #361E5B;
--md-footer-fg-color--light: #746C8F;
--md-footer-fg-color--lighter: #C3BEDE;
--md-footer-bg-color: #F7F9FD;
--md-footer-bg-color--dark: #F7F9FD;
}

.card-grid {
Expand Down Expand Up @@ -45,14 +50,14 @@ body .card-grid-item:focus {
}

.card-grid-item[href] {
color: var(--md-primary-fg-color);
color: var(--md-primary-fg-color--dark);
background: transparent;
}

.card-grid-item[href]:hover,
.card-grid-item[href]:focus {
background: #F2F4FE;
color: var(--md-primary-fg-color);
color: var(--md-primary-fg-color--dark);
}

.community-callout-wrapper {
Expand Down Expand Up @@ -120,4 +125,4 @@ body .card-grid-item:focus {
.community-callout a img {
height: 1.75em;
}
}
}

0 comments on commit 13d6344

Please sign in to comment.