Skip to content

Commit

Permalink
Small CSS improvements
Browse files Browse the repository at this point in the history
Support for VIDEO tag, left/right align picture spacing, alert window spacing
  • Loading branch information
jwillmer committed Jun 18, 2022
1 parent 64c6e4c commit abd8a27
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions _sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@
.single-post .post-content > fieldset,
.single-post .post-content > figcaption,
.single-post .post-content > figure,
.single-post .post-content > video,
.single-post .post-content > footer,
.single-post .post-content > form,
.single-post .post-content > header,
Expand Down
18 changes: 14 additions & 4 deletions _sass/post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
figure.left, figure.right {
max-width: 250px;
}

video {
display: block;
padding: 0 0 1.75em 0;
margin: 0 auto;
}
}

.post-title {
Expand Down Expand Up @@ -93,14 +99,14 @@
float: left;
margin-left: 0;
margin-right: 20px;
margin-top: 20px;
margin-top: 5px;
}

&.right {
float: right;
margin-left: 0;
margin-right: 20px;
margin-top: 20px;
margin-left: 20px;
margin-right: 0;
margin-top: 5px;
}

img {
Expand Down Expand Up @@ -253,6 +259,10 @@
font-family: 'Dosis', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
font-size: 14px;
}

p:last-of-type {
margin: 0;
}
}
}

Expand Down

0 comments on commit abd8a27

Please sign in to comment.