Skip to content

Commit

Permalink
align images
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-pol committed Jul 4, 2024
1 parent 3d17da5 commit ac2e0dd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,15 @@ button, .button {
margin: 3px;
line-height: 1.8em;
}
#helpMenu { background-color: #EEEEEE; margin-top: 0; padding-top: 0.5em; padding-bottom: 0.5em; }
#helpMenu { background-color: #EEEEEE; margin-top: 0; padding-top: 0.5em; padding-bottom: 0.5em; }



/* Abusing extended URLs:
* query arguments can play the role of classes in HTML that are not available in MarkDown.
* Be careful with the this "ends with" condition:
* "?abc=right-hand" would also match: [src~="c=right"]
*/
img[src$="align=right"] { float: right; margin-left:1em }
img[src$="align=left"] { float: left; margin-right:1em }
img[src$="align=center"] { text-align: center }

0 comments on commit ac2e0dd

Please sign in to comment.