Skip to content

Commit

Permalink
Add css for aligning images in page-content
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianKohler committed May 27, 2022
1 parent b81a71e commit 915015f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/pages/content/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,20 @@ page-content {
margin-top: 0.8rem;
}

img[src$="#align-left"] {
float: left;
margin: 0 1rem 1rem 0;
}

img[src$="#align-right"] {
float: right;
margin: 0 0 1rem 1rem;
}
img[src$="#align-center"] {
display: block;
margin: 1rem auto;
}

.content-md hr{
background-color: rgba(0,0,0,0.1);
}
Expand Down

0 comments on commit 915015f

Please sign in to comment.