Skip to content

Commit

Permalink
css update
Browse files Browse the repository at this point in the history
  • Loading branch information
takeshi committed Jan 22, 2012
1 parent 115e0bb commit dfc1a31
Show file tree
Hide file tree
Showing 33 changed files with 997 additions and 87 deletions.
11 changes: 6 additions & 5 deletions s3tree/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,29 @@

<property name="cal.deps" value="${basedir}/js/closure/bin/calcdeps.py" />

<property name="target.js" value="s3/app.js" />

<target name="compile" depends="create-deps.js">
<mkdir dir="target" />

<exec dir="${basedir}/js" executable="python">
<arg value="${cal.deps}" />

<arg value="-i" />
<arg value="s3/app.js" />
<arg value="${target.js}" />

<arg value="-c" />
<arg value="../dev-lib/compiler.jar" />

<arg value="--externs_lib" />
<arg value="lib" />


<arg value="-o" />
<arg value="compiled" />

<arg value="--compiler_flags" />

<arg value="--compilation_level=SIMPLE_OPTIMIZATIONS" />
<!--arg value="compilation_level=ADVANCED_OPTIMIZATIONS" /-->

Expand All @@ -36,7 +38,6 @@
<arg value="--output_file" />
<arg value="../target/compiled.js" />


</exec>
</target>

Expand All @@ -45,7 +46,7 @@
<exec dir="${basedir}/js" executable="python" output="${basedir}/js/s3/deps.js">
<arg value="${cal.deps}" />
<arg value="-i" />
<arg value="s3/app.js" />
<arg value="${target.js}" />
<arg value="-o" />
<arg value="deps" />
</exec>
Expand Down
33 changes: 33 additions & 0 deletions s3tree/css/bluetrip/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
BlueTrip CSS Framework
=======================================

A CSS grid-based framework born from the best parts of other frameworks, now with a life of its own.

USAGE
-----

Add the following four links to the <head> of your page::

<link rel="stylesheet" href="../css/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="../css/print.css" type="text/css" media="print">
<!--[if IE]>
<link rel="stylesheet" href="../css/ie.css" type="text/css" media="screen, projection">
<![endif]-->
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen, projection">

Make sure you have the stylesheet links correct.

Then edit "screen.css" to change `a[href^="http://yourwebsite.com"]` by putting your url in
place of yourwebsite.com. This ensures that internal links will not show the external link icon.

Now get designing!

INFORMATION
-----------

Visit bluetrip.org for more detailed information, instructions, and support.

LICENSE
-------

BlueTrip is licensed under the Unlicense. See the UNLICENSE.md file for more info.
27 changes: 27 additions & 0 deletions s3tree/css/bluetrip/UNLICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
THIS CODE IS RELEASED UNDER [THE UNLICENSE](http://unlucense.org)
----------------------------------------------------------------------

**This is free and unencumbered software released into the public domain.**

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to [unlicense.org/](http://unlicense.org).
29 changes: 29 additions & 0 deletions s3tree/css/bluetrip/css/ie.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*************************************
WELCOME TO THE IE STYLESHEET
--------------------------------------
ie.css
BlueTrip CSS Framework
http://bluetrip.org
***************************************/

body {text-align:center;}
.container {text-align:left;}
* html .column {overflow-x:hidden;}
* html legend {margin:-18px -8px 16px 0;padding:0;}
ol {margin-left:2em;}
sup {vertical-align:text-top;}
sub {vertical-align:text-bottom;}
html>body p code {*white-space:normal;}
hr {margin:-8px auto 11px;}
ul { list-style: disc outside; margin-left: 2em; } /* IE can't handle :before and :after */
ul li { text-indent: 0; margin-left: 0; }
legend { margin-bottom: 1.6em; } /* IE form margin bug */
sup, sub { font-size: 100%; } /* IE superscript & subscript bug */
blockquote p, blockquote ul, blockquote ol, blockquote dl, blockquote pre, blockquote address,
blockquote table, blockquote form, blockquote h1, blockquote h2, blockquote h3, blockquote h4, blockquote h5, blockquote h6 { margin-top: .8em; margin-bottom: .8em; } /* IE can't handle :first-child */
* html textarea, * html input { padding: 0; } /* IE < 7 form fix */
input[type='submit'], input[type='button'] { padding: 0; } /* IE 7 button fix */
legend+* { margin-top: 0; } /* we already added legend margin */
a abbr, a acronym { text-decoration: underline; } /* IE 7 bug */
fieldset legend { margin: 0; } /* IE 6 disappearing legend bug */

46 changes: 46 additions & 0 deletions s3tree/css/bluetrip/css/print.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*************************************
WELCOME TO THE PRINT STYLESHEET
--------------------------------------
print.css
BlueTrip CSS Framework
Thanks to Priss Print Framework
http://github.com/mikecrittenden/priss
***************************************/

/*** BODY ***/
body {width:100% !important; margin:0 !important; padding:0 !important; line-height: 1.4; word-spacing:1.1pt; letter-spacing:0.2pt; font-family: Garamond,"Times New Roman", serif; color: #000; background: none; font-size: 12pt;}

/*** HEADINGS ***/
h1,h2,h3,h4,h5,h6 {font-family: Helvetica, Arial, sans-serif;}
h1{font-size:19pt;}
h2{font-size:17pt;}
h3{font-size:15pt;}
h4,h5,h6{font-size:12pt;}

/*** ELEMENTS ***/
code {font: 10px monospace;}
blockquote {margin: 1.3em; padding: 1em; font-size: 10pt;}
hr {background-color: #ccc;}

/*** IMAGES ***/
img {float: left; margin: 1em 1.5em 1.5em 0;}
a img {border: none;}

/*** LINKS ***/
a:link, a:visited {background: transparent; font-weight: 700; text-decoration: underline;color:#333;}
a:link[href^="http://"]:after, a[href^="http://"]:visited:after {content: " (" attr(href) ") "; font-size: 90%;}
a[href^="http://"] {color:#000;}

/*** TABLES ***/
table {margin: 1px; text-align:left;}
th {border-bottom: 1px solid #333; font-weight: bold;}
td {border-bottom: 1px solid #333;}
th,td {padding: 4px 10px 4px 0;}
tfoot {font-style: italic;}
caption {background: #fff; margin-bottom:2em; text-align:left;}
thead {display: table-header-group;}
tr {page-break-inside: avoid;}

/*** Add sections here to hide various parts of the site when printing ***/
#header, #footer, #navigation, #sidebar, button {display:none;}

Loading

0 comments on commit dfc1a31

Please sign in to comment.