Skip to content

Commit

Permalink
Added styling for div > h1 (reduced font-size)
Browse files Browse the repository at this point in the history
* Added styling for div img [Removed]
* Added styling for div > h1 and div > div [Removed]
* Removed styling for div > div and div img, kept styling for div > h1
* Added max-height for tall pictures
* Fixed inline images without affecting posts (BlogSpot still affected)
* Fixed prettier complaint
  • Loading branch information
rjayroso committed Mar 23, 2021
1 parent 0c76f1f commit fc4fb0d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/web/src/styles/telescope-post-content.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,33 @@
margin-left: auto;
margin-right: auto;
max-width: 100%;
max-height: 80vh;
padding-top: 1.5rem;
padding-bottom: 1rem;
display: block;
height: auto;
}

.telescope-post-content div > a > img {
width: 32px;
display: inline;
vertical-align: middle;
}

.telescope-post-content h1 > a > img {
width: 32px;
display: inline;
vertical-align: middle;
}

.telescope-post-content div > div {
display: inline;
}

.telescope-post-content div > h1 {
font-size: 1.8rem;
}

.telescope-post-content figure {
display: block;
margin: 0;
Expand Down

0 comments on commit fc4fb0d

Please sign in to comment.