Skip to content

Commit 99ff005

Browse files
docs: Add global Testcontainers header (#967)
Co-authored-by: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com>
1 parent 23ef5a2 commit 99ff005

11 files changed

+960
-81
lines changed

docs/css/extra.css

+77-73
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,128 @@
1-
@import url('https://fonts.googleapis.com/css?family=Rubik');
2-
3-
h1,
4-
h2,
5-
h3,
6-
h4,
7-
h5,
8-
h6
9-
{
1+
h1, h2, h3, h4, h5, h6 {
102
font-family: 'Rubik', sans-serif;
113
}
124

13-
[data-md-color-scheme="testcontainers"]
14-
{
15-
--md-primary-fg-color: #291a3f;
16-
--md-accent-fg-color: #291a3f;
17-
--md-typeset-a-color: #0c94aa;
5+
[data-md-color-scheme="testcontainers"] {
6+
--md-primary-fg-color: #00bac2;
7+
--md-accent-fg-color: #361E5B;
8+
--md-typeset-a-color: #0C94AA;
9+
--md-primary-fg-color--dark: #291A3F;
10+
--md-default-fg-color--lightest: #F2F4FE;
11+
--md-footer-fg-color: #361E5B;
12+
--md-footer-fg-color--light: #746C8F;
13+
--md-footer-fg-color--lighter: #C3BEDE;
14+
--md-footer-bg-color: #F7F9FD;
15+
--md-footer-bg-color--dark: #F7F9FD;
16+
}
17+
18+
.card-grid {
19+
display: grid;
20+
gap: 10px;
21+
}
22+
23+
.tc-version {
24+
font-size: 1.1em;
25+
text-align: center;
26+
margin: 0;
27+
}
28+
29+
@media (min-width: 680px) {
30+
.card-grid {
31+
grid-template-columns: repeat(3, 1fr);
32+
}
1833
}
1934

2035
body .card-grid-item {
2136
display: flex;
2237
align-items: center;
2338
gap: 20px;
24-
border: 1px solid #c3bede;
39+
border: 1px solid #C3BEDE;
2540
border-radius: 6px;
2641
padding: 16px;
2742
font-weight: 600;
28-
color: #9991b5;
29-
background: #f2f4fe;
43+
color: #9991B5;
44+
background: #F2F4FE;
3045
}
3146

3247
body .card-grid-item:hover,
3348
body .card-grid-item:focus {
34-
color: #9991b5;
35-
}
36-
37-
.card-grid {
38-
display: grid;
39-
gap: 10px;
40-
}
41-
42-
@media (min-width: 680px) {
43-
.card-grid {
44-
grid-template-columns: repeat(3, 1fr);
45-
}
49+
color: #9991B5;
4650
}
4751

4852
.card-grid-item[href] {
49-
color: var(--md-primary-fg-color);
53+
color: var(--md-primary-fg-color--dark);
5054
background: transparent;
5155
}
5256

5357
.card-grid-item[href]:hover,
5458
.card-grid-item[href]:focus {
55-
color: var(--md-primary-fg-color);
56-
background: #f2f4fe;
59+
background: #F2F4FE;
60+
color: var(--md-primary-fg-color--dark);
5761
}
5862

59-
@media (min-width: 1220px) {
60-
.community-callout-wrapper {
61-
padding: 40px 0 0;
62-
}
63-
64-
@media (min-width: 1600px) {
65-
.community-callout h2 {
66-
font-size: 1.15em;
67-
}
68-
}
63+
.community-callout-wrapper {
64+
padding: 30px 10px 0 10px;
6965
}
7066

7167
.community-callout {
68+
color: #F2F4FE;
7269
background: linear-gradient(10.88deg, rgba(102, 56, 242, 0.4) 9.56%, #6638F2 100%), #291A3F;
73-
border-radius: 10px;
7470
box-shadow: 0px 20px 45px rgba(#9991B5, 0.75);
75-
color: #F2F4FE;
71+
border-radius: 10px;
7672
padding: 20px;
7773
}
7874

79-
.community-callout a {
80-
transition: opacity 0.2s ease;
75+
.community-callout h2 {
76+
font-size: 1.15em;
77+
margin: 0 0 20px 0;
78+
color: #F2F4FE;
79+
text-align: center;
8180
}
8281

83-
.community-callout a img {
84-
height: 1.75em;
82+
.community-callout ul {
83+
list-style: none;
84+
padding: 0;
85+
display: flex;
86+
justify-content: space-between;
87+
gap: 10px;
88+
margin-top: 20px;
89+
margin-bottom: 0;
8590
}
8691

87-
.community-callout a img {
88-
height: 2em;
92+
.community-callout a {
93+
transition: opacity 0.2s ease;
94+
}
95+
96+
.community-callout a:hover {
97+
opacity: 0.5;
8998
}
9099

91100
.community-callout a img {
92-
aspect-ratio: 1;
93101
height: 1.75em;
94102
width: auto;
103+
aspect-ratio: 1;
95104
}
96105

97-
.community-callout a:hover {
98-
opacity: 0.5;
99-
}
106+
@media (min-width: 1220px) {
107+
.community-callout-wrapper {
108+
padding: 40px 0 0;
109+
}
100110

101-
.community-callout h2 {
102-
font-size: 1.25em;
103-
}
111+
.community-callout h2 {
112+
font-size: 1.25em;
113+
}
104114

105-
.community-callout h2 {
106-
color: #F2F4FE;
107-
font-size: 1.15em;
108-
margin: 0 0 20px 0;
109-
text-align: center;
115+
.community-callout a img {
116+
height: 2em;
117+
}
110118
}
111119

112-
.community-callout ul {
113-
display: flex;
114-
gap: 10px;
115-
justify-content: space-between;
116-
list-style: none;
117-
margin-bottom: 0;
118-
margin-top: 20px;
119-
padding: 0;
120-
}
120+
@media (min-width: 1600px) {
121+
.community-callout h2 {
122+
font-size: 1.15em;
123+
}
121124

122-
.community-callout-wrapper {
123-
padding: 30px 10px 0 10px;
125+
.community-callout a img {
126+
height: 1.75em;
127+
}
124128
}

0 commit comments

Comments
 (0)