Skip to content

Commit

Permalink
add feature image to blog entry & related styles
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Apr 8, 2013
1 parent 92d3ff7 commit 038c907
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
Binary file added images/dawn.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion news/a-new-resource-for-asciidoc.adoc
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
= A new resource for AsciiDoc
Dan Allen
2013-04-08
:revdate: 2013-04-08 14:13:34 -0600
:awestruct-tags: [announcement, website]

AsciiDoc is an excellent tool for writing documentation, but there's simply not enough information about it.

Today, I'm excited to announce a new resource for AsciiDoc, http://asciidoctor.org[asciidoctor.org].
In addition to serving as the project page for the http://github.com/asciidoctor[Asciidoctor project] and its integrations, this website helps promote AsciiDoc through education and advocacy.

[role="feature right", caption=""]
.A new dawn for AsciiDoc. [credit]#Photo credit: http://www.flickr.com/photos/bartvandorp/8593385822[bartvandorp]#
image::dawn.jpg[]

The key highlight of the site is a collection of new AsciiDoc guides:

- link:/docs/what-is-asciidoc-why-use-it/[What is AsciiDoc? Why do we need it?]
Expand Down
18 changes: 18 additions & 0 deletions stylesheets/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,24 @@ span.footnote {
}
}

.imageblock.feature {
@include panel($bg:#fff, $padding: .5em);

&.right {
margin-left: 1em;
}

&.left {
margin-right: 1em;
}

& > .title > span.credit {
font-weight: normal;
font-style: italic;
color: $blockquote-cite-font-color;
}
}

.button-group {
.button.first {
@include side-radius($default-float, $button-radius);
Expand Down

0 comments on commit 038c907

Please sign in to comment.