Skip to content

Commit e7bfbeb

Browse files
committed
Trying to make image centered
1 parent e780d29 commit e7bfbeb

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

_sass/image-centered.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
img.centered {
2+
display: block;
3+
margin-left: auto;
4+
margin-right: auto;
5+
}

_sass/jekyll-theme-slate.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "rouge-github";
22
@import "download-card";
3+
@import "image-centered";
34

45
/*******************************************************************************
56
MeyerWeb Reset

_template/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Brief instructions on how to install the translation:
2222

2323
If you have some troubles with the installer (e.g. you are useing Windows 7 or 8), you can use the [package-builder](https://dfint-package-build.streamlit.app){:target="_blank"} instead.
2424

25-
![screenshot](screenshot.png)
25+
![screenshot](screenshot.png){:.centered}
2626

2727
### Links
2828

ru/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ downloads:
2222

2323
Если инсталлер по какой-то причине не работает (например, у вас Windows 7 или 8), как альтернативу можно использовать [package-builder](https://dfint-package-build.streamlit.app){:target="_blank"}.
2424

25-
![screenshot](screenshot.png)
25+
![screenshot](screenshot.png){:.centered}
2626

2727
### Ссылки
2828

0 commit comments

Comments
 (0)