Skip to content

Commit 3afdb37

Browse files
TasoOneAsianginx-jack
authored andcommitted
Styles: Override user-agent margin and fix img width
1 parent 50c89d2 commit 3afdb37

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

assets/css/v2/style.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
--component-gap: 3.5rem;
5555
--overflow-gutter-extension: 1rem;
5656
}
57+
body {
58+
margin: 0;
59+
}
5760

5861
@supports (font-variation-settings: normal) {
5962
:root {
@@ -138,7 +141,6 @@ header {
138141
footer {
139142
background-color: var(--color-footer);
140143
padding: 2.5rem;
141-
margin: -0.5rem;
142144
margin-top: auto;
143145
}
144146

@@ -1097,7 +1099,7 @@ figure {
10971099
margin: 0;
10981100
}
10991101

1100-
img,
1102+
.md__image > img,
11011103
.figure-bitmap {
11021104
margin-bottom: 0.625rem;
11031105
display: inline-block;

exampleSite/content/nginx/installing-nginx-open-source.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ toc: true
99
weight: 200
1010
---
1111

12+
![hero-graphic](/hero-graphic.webp)
13+
1214
```nginx
1315
1416
# Global Configuration

exampleSite/static/hero-graphic.webp

21.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)