-
-
Notifications
You must be signed in to change notification settings - Fork 360
Fix the size of the diagrams. Add res folders. #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the size of the diagrams. Add res folders. #170
Conversation
…ize of the diagrams.
Also: What do you (reviewer) think about the size of the images. |
…y Notation chapter.
…e images of Version Control in the same way as in other chapters.
Ok, a few question came up for me, while I'm working on this. First of all: should the image here be centered as well? I did it in a commit, but I can easily revert it. Also: I added a few  to <p align="center">
<img src="path" />
</p> since the latter one is also used, when we need to specify a certain size and having all images included the same way seemed nice. |
@@ -51,7 +51,9 @@ Now, solving this set of equations in this way is known as the *forward* Euler M | |||
In fact, there is another method known as the [*backward* Euler Method](backward_euler.md), which we will get to soon enough. | |||
For now, it is important to note that the error of these methods depend on the timestep chosen. | |||
|
|||
<div style="text-align:center"><img src ="res/error.png" /></div> | |||
<p align="center"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should not use the "align" attribute. We already have a custom CSS file to fix some syntax highlighting, you should add a class there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you do that? I'm not really familiar with CSS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I'll send you a PR soon™ (but seriously, it might take a few days, anyone else who wants to do it, feel free)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added something to the file, that seems to provide the desired result.
Hey @julianschacher, I think the centered (HTML) version is best, but I am also not sure what file to update about the custom CSS and stuff. If you guys think there is a better way for different screen resolutions, please let me know. Right now, I have been manually specifying the size of each image, which is not necessarily the best. |
…Taylor Series in the same way as in other chapters.
…as well. Therefore avoid distortion for images.
Using the |
…he same way as in other chapters.
styles/website.css
Outdated
@@ -9,3 +9,9 @@ | |||
.book .book-body .page-wrapper { | |||
margin-bottom: 12em; | |||
} | |||
|
|||
img { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably not what you want. This changes the style of every <img>
element, including, for example, the CC banner at the bottom of the front page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a somewhat needed change. It's good to have everything standardised. Thanks!
Also add res folder for building_blocks and move images into it.
This is targeting this card https://github.com/algorithm-archivists/algorithm-archive/projects/11#card-10967676