Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use compass-normalize, and style meetups list a bit

  • Loading branch information...
commit 94ffed56cea17e56354648a8e9022d486211c795 1 parent 8afd265
David Goodlad dgoodlad authored
1  compass-config.rb
View
@@ -1,4 +1,5 @@
# Require any additional compass plugins here.
+require 'compass-normalize'
# Set this to the root of your project when deployed:
http_path = "/"
4 pages/index.html.haml
View
@@ -1,4 +1,5 @@
%section#meetups
+ %h3 Meetups
%a#roro-mel{href: '/roro-mel.html'} RoRo Melbourne
%a#roro-syd{href: '/roro-syd.html'} RoRo Sydney
%a#roro-per{href: '/roro-per.html'} RoRo Perth
@@ -16,5 +17,4 @@
%h3 Contributing to the site
%p
The site's source is hosted on Github:
- %a{href: 'https://github.com/rails-oceania/ruby.org.au'} https://github.com/rails-oceania/ruby.org.au
- Please refer to the <em>README</em> there for more details.
+ <a href="https://github.com/rails-oceania/ruby.org.au">https://github.com/rails-oceania/ruby.org.au</a>. Please refer to the <a href="https://github.com/rails-oceania/ruby.org.au#readme">README</a> there for more details.
369 site/css/screen.css
View
@@ -2,75 +2,343 @@
* In this file you should write your main styles. (or centralize your imports)
* Import this file using the following HTML or equivalent:
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
-/* line 17, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td,
-article, aside, canvas, details, embed,
-figure, figcaption, footer, header, hgroup,
-menu, nav, output, ruby, section, summary,
-time, mark, audio, video {
+/* normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
+/* line 18, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/html5.scss */
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+nav,
+section,
+summary {
+ display: block;
+}
+
+/* line 26, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/html5.scss */
+audio,
+canvas,
+video {
+ display: inline-block;
+ *display: inline;
+ *zoom: 1;
+}
+
+/* line 35, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/html5.scss */
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+
+/* line 43, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/html5.scss */
+[hidden] {
+ display: none;
+}
+
+/* line 53, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/html5.scss */
+figure {
margin: 0;
- padding: 0;
- border: 0;
+}
+
+/* line 10, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+html {
font-size: 100%;
- font: inherit;
- vertical-align: baseline;
+ /* 1 */
+ -webkit-text-size-adjust: 100%;
+ /* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 2 */
+}
+
+/* line 22, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+html,
+button,
+input,
+select,
+textarea {
+ font-family: sans-serif;
}
-/* line 20, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+/* line 28, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
body {
- line-height: 1;
+ margin: 0;
+}
+
+/* line 40, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+a:focus {
+ outline: thin dotted;
+}
+
+/* line 48, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+a:hover,
+a:active {
+ outline: 0;
+}
+
+/* line 60, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+h1 {
+ font-size: 2em;
+ margin: 0.67em 0;
+}
+
+/* line 65, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+h2 {
+ font-size: 1.5em;
+ margin: 0.83em 0;
+}
+
+/* line 70, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+h3 {
+ font-size: 1.17em;
+ margin: 1em 0;
}
-/* line 22, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
-ol, ul {
+/* line 75, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+h4 {
+ font-size: 1em;
+ margin: 1.33em 0;
+}
+
+/* line 80, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+h5 {
+ font-size: 0.83em;
+ margin: 1.67em 0;
+}
+
+/* line 85, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+h6 {
+ font-size: 0.75em;
+ margin: 2.33em 0;
+}
+
+/* line 92, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+abbr[title] {
+ border-bottom: 1px dotted;
+}
+
+/* line 99, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+b,
+strong {
+ font-weight: bold;
+}
+
+/* line 103, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+blockquote {
+ margin: 1em 40px;
+}
+
+/* line 109, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+dfn {
+ font-style: italic;
+}
+
+/* line 115, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+mark {
+ background: #ff0;
+ color: #000;
+}
+
+/* line 123, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+p,
+pre {
+ margin: 1em 0;
+}
+
+/* line 133, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+pre,
+code,
+kbd,
+samp {
+ font-family: monospace, serif;
+ _font-family: 'courier new', monospace;
+ font-size: 1em;
+}
+
+/* line 141, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+pre {
+ white-space: pre;
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+
+/* line 152, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+q {
+ quotes: none;
+}
+
+/* line 159, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+q:before,
+q:after {
+ content: '';
+ content: none;
+}
+
+/* line 164, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+small {
+ font-size: 75%;
+}
+
+/* line 172, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+
+/* line 179, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+sup {
+ top: -0.5em;
+}
+
+/* line 183, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+sub {
+ bottom: -0.25em;
+}
+
+/* line 197, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+dl,
+menu,
+ol,
+ul {
+ margin: 1em 0;
+}
+
+/* line 201, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+dd {
+ margin: 0 0 0 40px;
+}
+
+/* line 209, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+menu,
+ol,
+ul {
+ padding: 0 0 0 40px;
+}
+
+/* line 216, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+nav ul,
+nav ol {
list-style: none;
+ list-style-image: none;
+}
+
+/* line 230, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+img {
+ border: 0;
+ /* 1 */
+ -ms-interpolation-mode: bicubic;
+ /* 2 */
+}
+
+/* line 237, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
+svg:not(:root) {
+ overflow: hidden;
}
-/* line 24, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+/* line 248, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/base.scss */
table {
border-collapse: collapse;
border-spacing: 0;
}
-/* line 26, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
-caption, th, td {
- text-align: left;
- font-weight: normal;
- vertical-align: middle;
+/* line 7, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+form {
+ margin: 0;
}
-/* line 28, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
-q, blockquote {
- quotes: none;
+/* line 13, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+fieldset {
+ border: 1px solid #c0c0c0;
+ margin: 0 2px;
+ padding: 0.35em 0.625em 0.75em;
}
-/* line 101, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
-q:before, q:after, blockquote:before, blockquote:after {
- content: "";
- content: none;
+
+/* line 23, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+legend {
+ border: 0;
+ padding: 0;
+ white-space: normal;
+ *margin-left: -7px;
}
-/* line 30, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
-a img {
- border: none;
+/* line 37, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+button,
+input,
+select,
+textarea {
+ font-size: 100%;
+ margin: 0;
+ vertical-align: baseline;
+ *vertical-align: middle;
}
-/* line 114, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
-article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
- display: block;
+/* line 47, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+button,
+input {
+ line-height: normal;
+}
+
+/* line 59, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+button,
+input[type="button"],
+input[type="reset"],
+input[type="submit"] {
+ cursor: pointer;
+ -webkit-appearance: button;
+ *overflow: visible;
+}
+
+/* line 68, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+button[disabled],
+input[disabled] {
+ cursor: default;
+}
+
+/* line 78, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+input[type="checkbox"],
+input[type="radio"] {
+ box-sizing: border-box;
+ padding: 0;
+ *height: 13px;
+ *width: 13px;
+}
+
+/* line 88, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+input[type="search"] {
+ -webkit-appearance: textfield;
+ -moz-box-sizing: content-box;
+ -webkit-box-sizing: content-box;
+ box-sizing: content-box;
+}
+
+/* line 98, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+input[type="search"]::-webkit-search-decoration,
+input[type="search"]::-webkit-search-cancel-button {
+ -webkit-appearance: none;
+}
+
+/* line 106, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+/* line 114, ../../../../.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/compass-normalize-1.1.1/stylesheets/normalize/forms.scss */
+textarea {
+ overflow: auto;
+ vertical-align: top;
}
/* line 35, ../../stylesheets/screen.scss */
body {
width: 960px;
- margin: 200px auto 0 auto;
+ margin: 100px auto 0 auto;
}
/* line 40, ../../stylesheets/screen.scss */
@@ -97,7 +365,7 @@ h1, .h1 {
text-indent: -119988px;
overflow: hidden;
text-align: left;
- background-image: url('/images/ruby-australia-logo.png?1333264740');
+ background-image: url('/images/ruby-australia-logo.png?1333523455');
background-repeat: no-repeat;
background-position: 50% 50%;
width: 124px;
@@ -124,8 +392,12 @@ nav {
overflow: hidden;
*zoom: 1;
}
+/* line 62, ../../stylesheets/screen.scss */
+nav ul {
+ padding-left: 0;
+}
-/* line 64, ../../stylesheets/screen.scss */
+/* line 65, ../../stylesheets/screen.scss */
section {
width: 610px;
margin-left: 10px;
@@ -135,7 +407,12 @@ section {
*zoom: 1;
}
-/* line 68, ../../stylesheets/screen.scss */
+/* line 69, ../../stylesheets/screen.scss */
+#meetups a {
+ display: block;
+}
+
+/* line 73, ../../stylesheets/screen.scss */
footer {
width: 920px;
margin-left: 10px;
@@ -146,7 +423,7 @@ footer {
background-color: palegoldenrod;
}
-/* line 74, ../../stylesheets/screen.scss */
+/* line 79, ../../stylesheets/screen.scss */
nav * {
display: block;
}
4 site/index.html
View
@@ -29,6 +29,7 @@
</ul>
</nav>
<section id='meetups'>
+ <h3>Meetups</h3>
<a href='/roro-mel.html' id='roro-mel'>RoRo Melbourne</a>
<a href='/roro-syd.html' id='roro-syd'>RoRo Sydney</a>
<a href='/roro-per.html' id='roro-per'>RoRo Perth</a>
@@ -44,8 +45,7 @@
<h3>Contributing to the site</h3>
<p>
The site's source is hosted on Github:
- <a href='https://github.com/rails-oceania/ruby.org.au'>https://github.com/rails-oceania/ruby.org.au</a>
- Please refer to the <em>README</em> there for more details.
+ <a href="https://github.com/rails-oceania/ruby.org.au">https://github.com/rails-oceania/ruby.org.au</a>. Please refer to the <a href="https://github.com/rails-oceania/ruby.org.au#readme">README</a> there for more details.
</p>
</section>
<footer>
9 stylesheets/screen.scss
View
@@ -3,7 +3,7 @@
* Import this file using the following HTML or equivalent:
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
-@import "compass/reset";
+@import "normalize";
@import "compass/utilities";
@import "compass/css3";
@import "compass/typography/text/replacement";
@@ -34,7 +34,7 @@
body {
width: 960px;
- margin: 200px auto 0 auto;
+ margin: 100px auto 0 auto;
}
body * {
@@ -59,12 +59,17 @@ h2, .h2 {
nav {
@include left-column;
+ ul { padding-left: 0; }
}
section {
@include right-column;
}
+#meetups a {
+ display: block;
+}
+
footer {
@include both-columns;
margin-top: 2em;
Please sign in to comment.
Something went wrong with that request. Please try again.