We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a3da6a commit 90e0de2Copy full SHA for 90e0de2
1 file changed
static/css/homepage.css
@@ -96,15 +96,15 @@
96
}
97
98
.preview-image {
99
- width: 150%;
100
- max-width: 150%;
101
display: block;
102
- content: url('/static/images/misc/preview.png');
103
- position: relative;
104
- left: 50%;
105
- transform: translateX(-50%);
+ height: auto;
+ width: 140%;
+ max-width: 95vw;
+ margin: 1rem 0 0 0;
+ margin-left: calc((100% - 140%) / 2);
106
107
+
108
:root[data-theme="dark"] .preview-image {
109
content: url('/static/images/misc/preview_light.png');
110
@@ -243,6 +243,7 @@
243
244
width: 100%;
245
max-width: 100%;
246
+ margin-left: 0;
247
248
249
.h2columns > div {
0 commit comments