Skip to content

Commit c9fa00f

Browse files
committed
reduce logo sizes on docs homepage
1 parent a93a2e0 commit c9fa00f

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

docs/src/stylesheets/extra.css

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
11
:root {
22
--md-primary-fg-color: rgb(13, 118, 160);
3-
}
3+
}
4+
5+
/* Control the size of the main logo */
6+
img[src*="sfeos.png"] {
7+
max-width: 100%;
8+
height: auto;
9+
width: auto !important;
10+
max-height: 200px;
11+
}
12+
13+
/* Control the size of sponsor logos */
14+
img[src*="logo"], img[src*="VITO.png"] {
15+
max-height: 60px !important;
16+
width: auto !important;
17+
height: auto !important;
18+
}
19+
20+
/* Control the size of technology logos */
21+
img[src*="STAC-01.png"],
22+
img[src*="python.png"],
23+
img[src*="fastapi.svg"],
24+
img[src*="elasticsearch.png"],
25+
img[src*="opensearch.svg"] {
26+
max-height: 50px !important;
27+
width: auto !important;
28+
height: auto !important;
29+
}
30+
31+
/* Make sure all images are responsive and don't overflow */
32+
img {
33+
max-width: 100%;
34+
height: auto;
35+
}

0 commit comments

Comments
 (0)