Skip to content

Commit 4fd8412

Browse files
committed
docs: make the hero image a bit more christmassy
1 parent 2413bc3 commit 4fd8412

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/.vitepress/theme/style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109

110110
@media (min-width: 640px) {
111111
.VPHero .hero-img,
112-
.VPHero img[src*="robotcode-vintage.png"] {
112+
.VPHero .image-src {
113113
max-width: 256px;
114114
max-height: 256px;
115115
}
@@ -120,9 +120,9 @@
120120
Targets the image used in the home front-matter (e.g. /robotcode-vintage.png).
121121
Adjusts max-width and adds responsive scaling for larger viewports. */
122122
.VPHero .hero-img,
123-
.VPHero img[src*="robotcode-vintage.png"] {
124-
max-width: 500px; /* increase from default to make image larger */
125-
max-height: 500px; /* increase from default to make image larger */
123+
.VPHero .image-src {
124+
max-width: 512px; /* increase from default to make image larger */
125+
max-height: 512px; /* increase from default to make image larger */
126126
}
127127
}
128128

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hero:
66
text: Robot Framework IDE & CLI, the friendly way.
77
tagline: Language server, debugger, analyzer, REPL, and shareable profiles for IDE & CI
88
image:
9-
src: /robotcode-vintage.png
9+
src: /robotcode-vintage-christmas.png
1010
alt: RobotCode Logo
1111
actions:
1212
- theme: brand
3.53 MB
Loading
761 KB
Loading

0 commit comments

Comments
 (0)