Created
February 8, 2009 21:21
-
-
Save Inviz/60517 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#header | |
+clearfix | |
:background #e9eaec | |
:border-bottom 1px solid #fff | |
h1 | |
:float left | |
&, & a | |
+inline-block | |
:width 90px | |
:height 28px | |
:background url('/images/assets/logo.png') | |
a | |
+unstyled-link | |
:text-indent -2000px | |
#userbar | |
:float left | |
:margin-left 28px | |
:margin-top 2px | |
:margin-bottom -2px | |
ul | |
:margin 0 10px 0 5px | |
:float left | |
li | |
:float left | |
:list-style none | |
:margin 5px 0 0 20px | |
a | |
+link-colors(!black, !blue) | |
img | |
:width 24px | |
:height 24px | |
:margin 0 5px | |
:border 1px solid #fff | |
:float left | |
strong | |
:float left | |
:margin-top 5px | |
.button | |
:margin-left 30px | |
:font-weight normal | |
:color !black | |
> span > span | |
:padding | |
:left 5px | |
:right 5px | |
#search | |
:float right | |
input | |
:background-position 4px 4px | |
:width 400px | |
:padding-top 6px | |
:padding-bottom 6px |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.two-equal-columns | |
> .left | |
+left-column(50%) | |
> .wrapper | |
:padding-right 12px | |
> .right | |
+main-column(0, 0%, 50%) | |
> .wrapper | |
:padding-left 13px | |
.two-column, .two-column > .lousy-tshirt | |
> .left | |
+main-column(0, 0%, 38%) | |
> .wrapper | |
:padding-right 12px | |
> .right | |
+right-column(38%) | |
> .wrapper | |
:padding-left 13px | |
> .toolbox | |
:display none | |
.three-column, .three-column > .lousy-tshirt | |
> .left | |
+left-column(32%) | |
> .center | |
+main-column(32%, 0, 32%) | |
> .wrapper | |
:padding 0 20px | |
> .right | |
+right-column(32%) | |
> .left, > .center, > .right | |
:min-height 250px |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! | |
%html | |
%head | |
%title= page_title || "Orwik" | |
%meta{"http-equiv" => "content-type", :content => "text/html; charset=utf-8"} | |
%link{:rel => "shortcut icon", :href => "/favicon.ico"} | |
%link{:rel => "search", :title => "Orwik", :href => "/opensearch.xml", :type => "application/opensearchdescription+xml"} | |
%script== $session_id = '#{cookies[:_session_id]}' | |
- require_css 'layout/simple/simple' | |
- require_js 'vendor/mootools/mootools', 'vendor/mootools/mootools-more', 'vendor/mootools/mootools-ext', 'application' | |
= include_required_js | |
= include_required_css | |
= auto_link | |
/[if IE 7] | |
= css_include_tag 'layout/simple/ie7' | |
%body | |
%table#layout | |
%tr | |
%td | |
#header | |
%h1 | |
%a{:href => "/"} Orwik | |
- unless (caught = catch_content(:for_subheader)).blank? | |
= caught | |
- else | |
%p | |
Welcome to | |
%span Orwik | |
your platform for scientific collaboration. | |
#content | |
= catch_content :for_layout | |
#footer-pusher | |
#footer-wrapper | |
%ul#footer | |
%li.first © 2009 Orwik | |
%li= link_to "Terms of service", "#" | |
%li= link_to "Privacy policy", "#" | |
%li.about= link_to "About Orwik", "#" | |
%li= link_to "Help and FAQ", "#" | |
%li= link_to "Contact", "#" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment