Skip to content

Instantly share code, notes, and snippets.

@enumera
Created September 9, 2014 19:02
Show Gist options
  • Save enumera/3b942b3613302ecc5a73 to your computer and use it in GitHub Desktop.
Save enumera/3b942b3613302ecc5a73 to your computer and use it in GitHub Desktop.
Haml and CSS
body{
background-color: black;
}
.menu {
border: 5px white solid;
width: 1350px;
height: 150px;
margin: 10px 10px;
}
.create_task {
display: inline-block;
margin: 10px 10px;
border: 5px white solid;
width: 450px;
height: 120px;
}
.create_task p{
position:absolute;
width: 100%;
text-align: center;
color: white;
}
.profile {
display: inline-block;
margin: 10px 10px;
border: 5px white solid;
width: 350px;
height: 120px;
}
!!! 5
%html
%head
%title Resistance
=stylesheet_link_tag "application", :media => "all"
=stylesheet_link_tag "home"
=javascript_include_tag "application"
=javascript_include_tag "jsDate"
=csrf_meta_tags
%body
%div.menu
%div.create_task
%h1 Help
%div.profile
%div.something
%div.main_container
%div.task
%div.task_show
%div.task_summary
%div.task_list
%div.tags_list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment