Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated index page.

  • Loading branch information...
commit 3dd150fda7505f4d5f71c19f4b40717352fa3d3e 1 parent 502f98d
@xdissent authored
View
97 css/grid.less
@@ -0,0 +1,97 @@
+/**
+ * Grid LESS
+ *
+ * Horizontal Grid
+ *
+ * Copyright 2009 Greg Thornton <xdissent@gmail.com>
+ * License: http://creativecommons.org/licenses/by-sa/3.0/us/
+ */
+
+@import url(reset.less);
+@import url(text.less);
+
+/**
+ * Create a grid container.
+ */
+.grid-container(@columns:16, @width: 960px, @margin: 10px) {
+ width: @width;
+ margin-right: auto;
+ margin-left: auto;
+
+ /**
+ * Variable passed to child grids.
+ */
+ @column-width: @width / @columns;
+
+ /**
+ * Create a grid.
+ */
+ .grid(@grid-columns: 0) {
+
+ /**
+ * Styles
+ */
+ display: inline;
+ float: left;
+ position: relative;
+ margin-left: @margin;
+ margin-right: @margin;
+ width: @grid-columns * @column-width - 2 * @margin;
+ }
+
+ /**
+ * Add empty columns to the left.
+ */
+ .prefix(@prefix: 0) {
+ padding-left: @column-width * @prefix;
+ }
+
+ /**
+ * Add empty columns to the right.
+ */
+ .suffix(@suffix: 0) {
+ padding-right: @column-width * @suffix;
+ }
+
+ /**
+ * Pull grid to the left.
+ */
+ .pull(@pull: 0) {
+ left: 0 - @column-width * @pull;
+ }
+
+ /**
+ * Push grid to the right.
+ */
+ .push(@push: 0) {
+ left: @column-width * @push;
+ }
+}
+
+/**
+ * The following 2 mixins would ideally be defined inside the .grid-container
+ * mixin since it isn't relevant in any other scope. There is a bug in LESS
+ * that makes it impossible to nest mixins that don't take arguments so they
+ * are defined globally for now.
+ */
+
+/**
+ * The first grid inside another grid.
+ */
+.alpha {
+ margin-left: 0;
+}
+
+/**
+ * The last grid inside another grid.
+ */
+.omega {
+ margin-right: 0;
+}
+
+/**
+ * Make an element clear all floats.
+ */
+.clear {
+ clear: both;
+}
View
205 css/main.css
@@ -0,0 +1,205 @@
+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, font, 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 {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ font-size: 100%;
+ vertical-align: baseline;
+ background: transparent;
+}
+body { line-height: 1; }
+ol, ul { list-style: none; }
+blockquote, q { quotes: none; }
+blockquote:before {
+ content: '';
+ content: none;
+}
+blockquote:after {
+ content: '';
+ content: none;
+}
+q:before {
+ content: '';
+ content: none;
+}
+q:after {
+ content: '';
+ content: none;
+}
+:focus { outline: 0; }
+ins { text-decoration: none; }
+del { text-decoration: line-through; }
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+body {
+ font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
+ font-size: 12px;
+ line-height: 18px;
+}
+a:focus { outline: 1px dotted; }
+hr {
+ border: 0 #cccccc solid;
+ border-top-width: 1px;
+ clear: both;
+ height: 0;
+ margin-top: -1px;
+}
+.gargantuan {
+ font-weight: bold;
+ font-size: 6em;
+ line-height: 1em;
+}
+.enormous {
+ font-weight: bold;
+ font-size: 5em;
+ line-height: 1.2em;
+}
+.giant {
+ font-weight: bold;
+ font-size: 4em;
+ line-height: 1.125em;
+}
+.huge {
+ font-weight: bold;
+ font-size: 3em;
+ line-height: 1.5em;
+}
+.h1 {
+ font-weight: bold;
+ font-size: 2.5em;
+ line-height: 1.2em;
+}
+.h2 {
+ font-weight: bold;
+ font-size: 2em;
+ line-height: 1.5em;
+}
+.h3 {
+ font-weight: bold;
+ font-size: 1.5em;
+ line-height: 18px;
+}
+.h4 {
+ font-weight: bold;
+ font-size: 1.25em;
+ line-height: 18px;
+}
+.h5 {
+ font-weight: bold;
+ font-size: 1em;
+ line-height: 18px;
+}
+.h6 {
+ font-weight: normal;
+ font-size: 1em;
+ line-height: 18px;
+}
+h1 {
+ font-weight: bold;
+ font-size: 2.5em;
+ line-height: 1.2em;
+}
+h2 {
+ font-weight: bold;
+ font-size: 2em;
+ line-height: 1.5em;
+}
+h3 {
+ font-weight: bold;
+ font-size: 1.5em;
+ line-height: 18px;
+}
+h4 {
+ font-weight: bold;
+ font-size: 1.25em;
+ line-height: 18px;
+}
+h5 {
+ font-weight: bold;
+ font-size: 1em;
+ line-height: 18px;
+}
+h6 {
+ font-weight: normal;
+ font-size: 1em;
+ line-height: 18px;
+}
+ol { list-style: decimal; }
+ul { list-style: none; }
+li { margin-left: 30px; }
+p, dl, hr, h1, h2, h3, h4, h5, h6, ol, ul, pre, table, address, fieldset { margin-bottom: 18px; }
+.alpha { margin-left: 0; }
+.omega { margin-right: 0; }
+.clear { clear: both; }
+#forkme {
+ position: absolute;
+ top: 0;
+ right: 0;
+ border: 0;
+ z-index: 1001;
+}
+#wrapper {
+ width: 960px;
+ margin-right: auto;
+ margin-left: auto;
+ font-family: Georgia, serif;
+}
+#wrapper #header {
+ display: inline;
+ float: left;
+ position: relative;
+ margin-left: 10px;
+ margin-right: 10px;
+ width: 940px;
+}
+#wrapper #header > p {
+ font-weight: bold;
+ font-size: 3em;
+ line-height: 1.5em;
+}
+#wrapper #sidebar {
+ display: inline;
+ float: left;
+ position: relative;
+ margin-left: 10px;
+ margin-right: 10px;
+ width: 160px;
+}
+#wrapper #sidebar > ul > li { margin-left: 0; }
+#wrapper #content {
+ display: inline;
+ float: left;
+ position: relative;
+ margin-left: 10px;
+ margin-right: 10px;
+ width: 760px;
+}
+#wrapper #footer {
+ display: inline;
+ float: left;
+ position: relative;
+ margin-left: 10px;
+ margin-right: 10px;
+ width: 940px;
+}
+#wrapper #footer > p:first-child {
+ display: inline;
+ float: left;
+ position: relative;
+ margin-left: 10px;
+ margin-right: 10px;
+ width: 460px;
+ margin-left: 0;
+}
+#wrapper #footer > p:last-child {
+ display: inline;
+ float: left;
+ position: relative;
+ margin-left: 10px;
+ margin-right: 10px;
+ width: 460px;
+ margin-right: 0;
+ text-align: right;
+}
View
51 css/main.less
@@ -0,0 +1,51 @@
+@import url(grid.less);
+
+#forkme {
+ position: absolute;
+ top: 0;
+ right: 0;
+ border: 0;
+ z-index: 1001;
+}
+
+#wrapper {
+ .grid-container;
+
+ font-family: Georgia, serif;
+
+ #header {
+ .grid(16);
+
+ > p {
+ .huge;
+ }
+ }
+
+ #sidebar {
+ .grid(3);
+
+ > ul > li {
+ margin-left: 0;
+ }
+ }
+
+ #content {
+ .grid(13);
+ }
+
+ #footer {
+ .grid(16);
+
+ > p:first-child {
+ .grid(8);
+ .alpha;
+ }
+
+ > p:last-child {
+ .grid(8);
+ .omega;
+
+ text-align: right;
+ }
+ }
+}
View
53 css/reset.less
@@ -0,0 +1,53 @@
+/* http://meyerweb.com/eric/tools/css/reset/ */
+/* v1.0 | 20080212 */
+
+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, font, 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 {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ font-size: 100%;
+ vertical-align: baseline;
+ background: transparent;
+}
+body {
+ line-height: 1;
+}
+ol, ul {
+ list-style: none;
+}
+blockquote, q {
+ quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: '';
+ content: none;
+}
+
+/* remember to define focus styles! */
+:focus {
+ outline: 0;
+}
+
+/* remember to highlight inserts somehow! */
+ins {
+ text-decoration: none;
+}
+del {
+ text-decoration: line-through;
+}
+
+/* tables still need 'cellspacing="0"' in the markup */
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
View
126 css/text.less
@@ -0,0 +1,126 @@
+/**
+ * Grid LESS
+ *
+ * Vertical Grid and Text
+ *
+ * Copyright 2009 Greg Thornton <xdissent@gmail.com>
+ * License: http://creativecommons.org/licenses/by-sa/3.0/us/
+ */
+
+@font-size: 12px;
+@line-height: 18px;
+
+body {
+ font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
+ font-size: @font-size;
+ line-height: @line-height;
+}
+
+a:focus {
+ outline: 1px dotted;
+}
+
+hr {
+ border: 0 #ccc solid;
+ border-top-width: 1px;
+ clear: both;
+ height: 0;
+ margin-top: -1px;
+}
+
+.gargantuan {
+ font-weight: bold;
+ font-size: 6em;
+ line-height: 1em;
+}
+
+.enormous {
+ font-weight: bold;
+ font-size: 5em;
+ line-height: 1.2em;
+}
+
+.giant {
+ font-weight: bold;
+ font-size: 4em;
+ line-height: 1.125em;
+}
+
+.huge {
+ font-weight: bold;
+ font-size: 3em;
+ line-height: 1.5em;
+}
+
+.h1 {
+ font-weight: bold;
+ font-size: 2.5em;
+ line-height: 1.2em;
+}
+
+.h2 {
+ font-weight: bold;
+ font-size: 2em;
+ line-height: 1.5em;
+}
+
+.h3 {
+ font-weight: bold;
+ font-size: 1.5em;
+ line-height: @line-height;
+}
+
+.h4 {
+ font-weight: bold;
+ font-size: 1.25em;
+ line-height: @line-height;
+}
+
+.h5 {
+ font-weight: bold;
+ font-size: 1em;
+ line-height: @line-height;
+}
+
+.h6 {
+ font-weight: normal;
+ font-size: 1em;
+ line-height: @line-height;
+}
+
+h1 { .h1; }
+h2 { .h2; }
+h3 { .h3; }
+h4 { .h4; }
+h5 { .h5; }
+h6 { .h6; }
+
+ol {
+ list-style: decimal;
+}
+
+ul {
+ list-style: none;
+}
+
+li {
+ margin-left: 30px;
+}
+
+p,
+dl,
+hr,
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+ol,
+ul,
+pre,
+table,
+address,
+fieldset {
+ margin-bottom: @line-height;
+}
View
141 index.html
@@ -1,109 +1,68 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>Monowave Eagle Support Files</title>
-
- <style type="text/css">
- body {
- margin-top: 1.0em;
- background-color: #d9e7f7;
- font-family: "Helvetica,Arial,FreeSans";
- color: #000000;
- }
- #container {
- margin: 0 auto;
- width: 700px;
- }
- h1 { font-size: 3.8em; color: #261808; margin-bottom: 3px; }
- h1 .small { font-size: 0.4em; }
- h1 a { text-decoration: none }
- h2 { font-size: 1.5em; color: #261808; }
- h3 { text-align: center; color: #261808; }
- a { color: #261808; }
- .description { font-size: 1.2em; margin-bottom: 30px; margin-top: 30px; font-style: italic;}
- .download { float: right; }
- pre { background: #000; color: #fff; padding: 15px;}
- hr { border: 0; width: 80%; border-bottom: 1px solid #aaa}
- .footer { text-align:center; padding-top:30px; font-style: italic; }
- </style>
-
+ <title>Monowave Eagle Support Files</title>
+
+ <link rel="stylesheet" href="css/main.css" type="text/css" media="screen" charset="utf-8">
+
</head>
<body>
- <a href="http://github.com/xdissent/monowave-eagle"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
-
- <div id="container">
+<p id="forkme"><a href="http://github.com/xdissent/monowave-eagle">
+ <img src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
+</p>
- <div class="download">
- <a href="http://github.com/xdissent/monowave-eagle/zipball/master">
- <img border="0" width="90" src="http://github.com/images/modules/download/zip.png"></a>
- <a href="http://github.com/xdissent/monowave-eagle/tarball/master">
- <img border="0" width="90" src="http://github.com/images/modules/download/tar.png"></a>
+<div id="wrapper">
+ <div id="header">
+ <p>Monowave Eagle Support Files</p>
</div>
-
- <h1><a href="http://github.com/xdissent/monowave-eagle">monowave-eagle</a>
- <span class="small">by <a href="http://github.com/xdissent">xdissent</a></span></h1>
-
- <div class="description">
- Support files for Eagle used by Monowave Labs
+
+ <div id="sidebar">
+ <h3>Contents</h3>
+ <ul>
+ <li><a href="libraries/index.html">Library Browser</a></li>
+ <li><a href="http://github.com/xdissent/monowave-eagle">Github Page</a></li>
+ <li>
+ <p>Downloads</p>
+ <ul>
+ <li><a href="http://github.com/xdissent/monowave-eagle/zipball/master">Zip File</a></li>
+ <li><a href="http://github.com/xdissent/monowave-eagle/tarball/master">Tarball</a></li>
+ </ul>
+ </li>
+ </ul>
</div>
-
- <p>This package contains all libraries, user scripts, CAM files, etc. which are used in the design and production of Monowave Labs circuit boards.</p><h2>Dependencies</h2>
-<p>CadSoft Eagle</p>
-<h2>Install</h2>
-<p>Get the Source
-Using your preferred Git application, clone git://github.com/xdissent/monowave-eagle.git. If you plan on running the SPICE examples, you may need to update the paths in Projects/SPICE Examples/eagle.epf or make sure your clone of the repository is located at /C:/Documents and Settings/Administrator/My Documents/monowave-eagle. Mac users (of which I am one) are out of luck here and will almost definitely have to update eagle.epf. Note that Eagle does some funky file name handling and different path separators might be required for different platforms. It looks like the forward slash is pretty much universally compatible though.
-
-Eagle Setup
-To use this package, simply add the appropriate paths to your Eagle directory options (Options -> Directories). Most of the time your options will look like the following:
-
-Libraries $HOME/monowave-eagle/Libraries
-Design Rules $HOME/monowave-eagle/Design Rules
-User Language Programs $HOME/monowave-eagle/User Language Programs
-Scripts $EAGLEDIR/scr
-CAM Jobs $HOME/monowave-eagle/CAM Jobs
-Projects $HOME/monowave-eagle/Projects</p>
-<h2>License</h2>
-<p>Attribution-Noncommercial-No Derivative Works 3.0 United States
-http://creativecommons.org/licenses/by-nc-nd/3.0/us/</p>
-<h2>Authors</h2>
-<p>Greg Thornton (xdissent@gmail.com)
-<br/>
-<br/> </p>
-<h2>Contact</h2>
-<p>Greg Thornton (xdissent@gmail.com)
-<br/> </p>
-
-
- <h2>Download</h2>
- <p>
- You can download this project in either
- <a href="http://github.com/xdissent/monowave-eagle/zipball/master">zip</a> or
- <a href="http://github.com/xdissent/monowave-eagle/tarball/master">tar</a> formats.
- </p>
- <p>You can also clone the project with <a href="http://git-scm.com">Git</a>
- by running:
- <pre>$ git clone git://github.com/xdissent/monowave-eagle</pre>
- </p>
-
- <div class="footer">
- get the source code on GitHub : <a href="http://github.com/xdissent/monowave-eagle">xdissent/monowave-eagle</a>
+
+ <div id="content">
+ <h1>Eagle Support Files for Monowave Labs</h1>
+ <p>This package contains all libraries, user scripts, CAM files, etc. which are used in the design and production of Monowave Labs circuit boards.</p>
+
+ <h2>Using Monowave Eagle</h2>
+ <p>For details about how you can use this package in your own designs, check out the readme on the <a href="http://github.com/xdissent/monowave-eagle">Github Page</a></p>
</div>
- </div>
+ <div id="footer">
+ <p>
+ <a href="http://validator.w3.org/check?uri=referer">
+ <img src="http://www.w3.org/Icons/valid-xhtml10-blue" alt="Valid XHTML 1.0 Strict" />
+ </a>
+ </p>
+ <p>&copy; 2009 Monowave Labs</p>
+ </div>
+</div>
- <script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+<script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-11701342-1");
-pageTracker._trackPageview();
-} catch(err) {}</script>
+ try {
+ var pageTracker = _gat._getTracker("UA-11701342-1");
+ pageTracker._trackPageview();
+ } catch(err) {}
+</script>
</body>
</html>

0 comments on commit 3dd150f

Please sign in to comment.
Something went wrong with that request. Please try again.