Skip to content

Commit 19cd166

Browse files
committed
add old haml/sass for potential template
1 parent 1d4b617 commit 19cd166

2 files changed

Lines changed: 72 additions & 0 deletions

File tree

index.haml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
!!!
2+
%html
3+
%head
4+
%title Osurb
5+
%link(rel='stylesheet' type='text/css' href='/osurb.css')
6+
%body
7+
#header
8+
%h1 osu.rb
9+
%img{:id => 'logo', :src => '/osurb.png'}
10+
#content
11+
.introduction
12+
%h2 Who Are We?
13+
%p
14+
We're a bunch of students, graduates and alumni
15+
%a{:href => "foo"} Follow Us
16+
.introduction
17+
%h2 Who Can Join?
18+
%p
19+
Lorem ipsum dolar
20+
%a{:href => "foo"} Join the Mailing List

osurb.sass

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
@import reset.sass
2+
3+
body
4+
background-color: #5F0C17
5+
width: 650px
6+
margin: 0 auto
7+
font-family: arial
8+
9+
#header
10+
margin-bottom: -20px
11+
position: relative
12+
img
13+
width: 65%
14+
padding-left: 20px
15+
h1
16+
position: absolute
17+
right: 20px
18+
bottom: 40px
19+
color: #e5e5e5
20+
font-size: 90px
21+
h2
22+
color: #fff
23+
font-size: 22px
24+
padding: 0 0 10px 0
25+
26+
.introduction
27+
margin-bottom: 5px
28+
padding: 20px
29+
background-color: #6F242E
30+
background-color: rgba(255, 255, 255, 0.1)
31+
p
32+
color: #e5e5e5
33+
-moz-border-radius: 5px
34+
-webkit-border-radius: 5px
35+
border-radius: 5px
36+
a
37+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6ECF36), to(#4E9326))
38+
background-image: -moz-linear-gradient(center top , #6ECF36 0%, #4E9326 100%)
39+
color: white
40+
display: block
41+
margin: 10px 0px 30px 450px
42+
padding: 8px 0
43+
text-align: center
44+
text-decoration: none
45+
text-shadow: rgba(0, 0, 0, 0.292969)
46+
-moz-border-radius: 5px
47+
-webkit-border-radius: 5px
48+
border-radius: 5px
49+
&:hover
50+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4E9326), to(#528F2C))
51+
background-image: -moz-linear-gradient(center top , #4E9326 0%, #528F2C 100%)
52+

0 commit comments

Comments
 (0)