Skip to content

Fix image positioning #416

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

Merged
merged 4 commits into from
Oct 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ any web server to check it out in your browser:

```console
> cd site
> python -m SimpleHTTPServer
> python3 -m http.server
```

The site is now available at <0.0.0.0:8000>.
Expand Down
28 changes: 9 additions & 19 deletions posts/2017-06-27-Increasing-Rusts-Reach.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ Who should apply for this project:
- Interest in improving usability of developer-facing documentation and tools
- Interest in learning in detail about Rust syntax and semantics

![Nick Cameron][nrc]
<img src="/images/2017-06-Increasing-Rusts-Reach/nrc.jpg" alt="Nick Cameron" class="right-thumbnail">

*About Nick Cameron: I'm a Rust core team member and lead the dev-tools team. I work on a bunch of
tools including Rustdoc, Rustfmt, the Rust Language Server, and the Rust compiler. I want to make
Rust developer tools awesome, and user experience is a key part of that. I want Rust to change the
world (or at least the programming world), and we can't do that without making the Rust language
and community more accessible to more people.*

![Steve Klabnik][steveklabnik]
<img src="/images/2017-06-Increasing-Rusts-Reach/steveklabnik.jpeg" alt="Steve Klabnik" class="right-thumbnail">

*About Steve Klabnik: I used to work on Ruby on Rails before Rust, and one of the reasons why I love
Rust is that as a project, we're committed to helping people learn Rust as their first low-level
Expand Down Expand Up @@ -127,7 +127,7 @@ Who should apply for this project:
- Interest in improving the new Rust developer experience
- Interest in learning how to improve and create lints

![Manish Goregaokar][manishearth]
<img src="/images/2017-06-Increasing-Rusts-Reach/manish.png" alt="Manish Goregaokar" class="right-thumbnail">

*About Manish Goregaokar: I'm a research engineer at Mozilla working on Servo. I care a lot about
improving workflows and tooling, especially around the newcomer experience.*
Expand All @@ -154,7 +154,7 @@ Who should apply for this project:
- Interest in improving approachability of Rust
- Interest in investigating the motivations behind visitors to the main website and/or crates.io

![Aaron Turon][aturon]
<img src="/images/2017-06-Increasing-Rusts-Reach/aturon.jpg" alt="Aaron Turon" class="right-thumbnail">

*About Aaron Turon: I'm a Rust core team member, manage the Mozilla Rust team, and currently lead
the library, infrastructure, and Cargo teams. On the technical side, I'm most driven by language
Expand All @@ -181,7 +181,7 @@ Who should apply for this project:
- Background or interest in creating visual teaching tools like diagrams or drawings a plus
- Interest in learning Rust concepts and teaching what you learn to others

![Niko Matsakis][nmatsakis]
<img src="/images/2017-06-Increasing-Rusts-Reach/nmatsakis.jpeg" alt="Niko Matsakis" class="right-thumbnail">

*About Niko Matsakis: I'm a member of the Rust core team as well as the Rust language and compiler
teams. I focus mainly on the design and implementation of the language itself. I want to do what I
Expand All @@ -205,7 +205,7 @@ Who should apply for this project:
- Experience using a web framework written in some other language
- Interest in learning how to write web applications in Rust and teaching what you learn to others

![Sean Griffin][sgrif]
<img src="/images/2017-06-Increasing-Rusts-Reach/sgrif.jpeg" alt="Sean Griffin" class="right-thumbnail">

*About Sean Griffin: In addition to my Rust work, I am one of the maintainers of Ruby on Rails. One
of the great things about Rails (and web development) is that it has really helped to lower the
Expand Down Expand Up @@ -235,7 +235,7 @@ Who should apply for this project:
- Background in writing, teaching, or documentation
- Interest in, and opinions about, improving tools for creating and displaying code documentation

![Felix Klock][pnkfelix]
<img src="/images/2017-06-Increasing-Rusts-Reach/pnkfelix.jpeg" alt="Felix Klock" class="right-thumbnail">

*About Felix Klock: I'm the main developer of tango (as well as a member of the Rust compiler and
language teams). I actively use tango for authoring my presentation slides about Rust. I
Expand Down Expand Up @@ -267,7 +267,7 @@ Who should apply for this project:
- Interest in learning how to translate an application to Rust
- Interest in researching and documenting features that libraries have or don’t have

![Andrew Gallant][burntsushi]
<img src="/images/2017-06-Increasing-Rusts-Reach/burntsushi.jpeg" alt="Andrew Gallant" class="right-thumbnail">

*About Andrew Gallant: I'm a member of the Rust library team that works with Rust in my free time. I
am very interested in information retrieval, fast text search and generally improving Rust's
Expand All @@ -293,7 +293,7 @@ Who should apply for this project:
- Interest in learning how to write or translate a CLI program to Rust
- Interest in researching and documenting features that libraries have or don’t have

![Kamal Marhubi][kamalmarhubi]
<img src="/images/2017-06-Increasing-Rusts-Reach/kamalmarhubi.jpeg" alt="Kamal Marhubi" class="right-thumbnail">

*About Kamal Marhubi: I've been writing Rust for about a year and a half. I help maintain nix, a
library that gives a Rusty interface to unix systems APIs. I've also contributed to rustfmt, rustup,
Expand All @@ -302,13 +302,3 @@ and the standard library.*
----

We're excited to get [your application](https://docs.google.com/forms/d/e/1FAIpQLSfbSGuoyZE9dctdEoC_XEZ7j2ox7jQT1zghAOF4iGds2PfBCA/viewform) before July 18! We will notify all applicants by Aug 1.

[nrc]: /images/2017-06-Increasing-Rusts-Reach/nrc.jpg
[steveklabnik]: /images/2017-06-Increasing-Rusts-Reach/steveklabnik.jpeg
[manishearth]: /images/2017-06-Increasing-Rusts-Reach/manish.png
[aturon]: /images/2017-06-Increasing-Rusts-Reach/aturon.jpg
[nmatsakis]: /images/2017-06-Increasing-Rusts-Reach/nmatsakis.jpeg
[sgrif]: /images/2017-06-Increasing-Rusts-Reach/sgrif.jpeg
[pnkfelix]: /images/2017-06-Increasing-Rusts-Reach/pnkfelix.jpeg
[burntsushi]: /images/2017-06-Increasing-Rusts-Reach/burntsushi.jpeg
[kamalmarhubi]: /images/2017-06-Increasing-Rusts-Reach/kamalmarhubi.jpeg
1 change: 1 addition & 0 deletions src/posts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ impl Post {
// next, the contents. we add + to get rid of the final "---\n\n"
let options = ComrakOptions {
ext_header_ids: Some(String::new()),
unsafe_: true, // Allow rendering of raw HTML
..ComrakOptions::default()
};

Expand Down
21 changes: 19 additions & 2 deletions src/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,25 @@ h3, .post h2, header h2 {
letter-spacing: normal;
}

.post h2 {
font-size: 2em;
.post {
h2 {
font-size: 2em;
}

img {
display: block;
margin-left: auto;
margin-right: auto;
}

.right-thumbnail {
float: right;
width: 150px;
margin-left: 15px;
margin-bottom: 15px;
clear: right;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}
}

header h1 {
Expand Down