Skip to content

Commit

Permalink
Improve Matrix tutorial img sizes and spacing #126
Browse files Browse the repository at this point in the history
Change <img> tags to markdown format in community.md
  • Loading branch information
lunacodes committed Mar 31, 2022
1 parent f86634e commit 45bde04
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 9 deletions.
42 changes: 42 additions & 0 deletions content/_sass/partials/_helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
text-decoration: none;
}

.box-shadow-grey {
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.41);
}

.black-text {
color: $black;
}
Expand All @@ -21,6 +25,15 @@
font-weight: normal;
}

.mb-10 {
margin-bottom: 10px;
}

.mbt-12 {
margin-bottom: 12px;
margin-top: 12px;
}

.mb-12 {
margin-bottom: 12px;
}
Expand All @@ -29,6 +42,35 @@
margin-top: 12px;
}

.mbt-16 {
margin-bottom: 16px;
margin-top: 16px;
}

.mb-16 {
margin-bottom: 16px;
}

.mt-16 {
margin-top: 16px;
}

.ml-2em {
margin-left: 2em;
}

.w-480 {
width: 480px;
}

.d-block {
display: block;
}

.matrix-tutorial-img {
display: block;
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.41);
margin: 16px 0;
max-width: 480px;
}

15 changes: 6 additions & 9 deletions content/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,18 @@ If you haven’t used Matrix before then follow these instructions:

1. Go to <https://matrix.to/#/#cwl:matrix.org>
2. Choose the “Element” App if you don’t have a Matrix client already.

<img src="/assets/img/matrix-element-app.png" class="mb-12 mt-12 w-480" alt="screenshot of Matrix app chooser dialog." />
![screenshot of Matrix app chooser dialog.](/assets/img/matrix-element-app.png){:.matrix-tutorial-img}

3. You can download the native Element app for your operating system if you want, but choosing to “Continue in your browser” is fine.
![screenshot of 'Continue in your Browser' button](/assets/img/continue-in-your-browser.png){:.mt-16 .mb-10}

<img src="/assets/img/continue-in-your-browser.png" class="mb-12 mt-12" alt="screenshot of 'Continue in your Browser' button" />

4. From the Element native app, or browser session choose "Join" <img src="/assets/img/join.png" alt="screenshot of 'Join' button" />
5. And then choose “Create Account” <img src="/assets/img/create-account.png" alt="screenshot of 'Create Account' button" > using your own Google, GitHub, or GitLab, account.
4. From the Element native app, or browser session choose "Join" ![screenshot of 'Join' button](/assets/img/join.png)

<img src="/assets/img/continue-with-icons.png" class="mb-12 mt-12 w-480" alt="screenshot of third party login chooser dialog" />
5. And then choose “Create Account” ![screenshot of 'Create Account' button](/assets/img/create-account.png) using your own Google, GitHub, or GitLab, account.
![screenshot of third party login chooser dialog](/assets/img/continue-with-icons.png){:.matrix-tutorial-img}

6. Now that you’re signed in, join the “CWL Conference” room.

<img src="/assets/img/cwl-conference-suggested-rooms.png" class="mb-12 mt-12" alt="screenshot of 'CWL Conference' under 'Suggested Rooms' in the CWL Matrix Space." />
![screenshot of 'CWL Conference' under 'Suggested Rooms' in the CWL Matrix Space.](/assets/img/cwl-conference-suggested-rooms.png){:.matrix-tutorial-img}

## Code of Conduct

Expand Down

0 comments on commit 45bde04

Please sign in to comment.