Skip to content

Commit

Permalink
Image centered.
Browse files Browse the repository at this point in the history
  • Loading branch information
iChun committed May 27, 2021
1 parent 198b360 commit e5d1e24
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/gettingstarted/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ First Launch

When launching CCI on the client for the first time, you should be prompted with a toast asking if you would like to set up the mod.

![We made the arrows green so you could see them over the red 1.16 background](./images/firstlaunch.png)
![We made the arrows green so you could see them over the red 1.16 background](./images/firstlaunch.png){: class="img_center"}

Clicking on the CCI button (in the green circle) should open up the First Launch Wizard.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ markdown_extensions:
- admonition
- smarty
- sane_lists
- attr_list
- pymdownx.superfences
- pymdownx.highlight:
use_pygments: false
Expand Down
1 change: 1 addition & 0 deletions theme/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<link rel="stylesheet" href="https://use.fontawesome.com/a1f20be65b.css">
<link rel="stylesheet" href="{{ base_url }}/css/styles_dark.css?version=2" data-theme="dark">
<link rel="stylesheet" href="{{ base_url }}/css/styles_light.css?version=2" data-theme="light">
<link rel="stylesheet" href="{{ base_url }}/css/img_center.css">

{% for path in extra_css %}
<link href="{{ path }}" rel="stylesheet">
Expand Down
6 changes: 6 additions & 0 deletions theme/css/img_center.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.img_center {
display: block;
margin-left: auto;
margin-right: auto;
width: 95%;
}

0 comments on commit e5d1e24

Please sign in to comment.