Skip to content

Instantly share code, notes, and snippets.

@8th-Light-Blog
Created June 29, 2011 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 8th-Light-Blog/1054219 to your computer and use it in GitHub Desktop.
Save 8th-Light-Blog/1054219 to your computer and use it in GitHub Desktop.
Blog Title: Limelight Tutorial: Tic Tac Toe Example (Part 5)
Author: Paul Pagel
Date: September 29th, 2008
main {
width "100%"
horizontal_alignment "center"
}
board {
width 152
height 152
border_width 1
border_color "black"
}
cell {
width 50
height 50
border_width 1
border_color "black"
}
message_center_container{
top_margin 100
width "100%"
horizontal_alignment "center"
}
message_center {
width 300
height 100
rounded_corner_radius "10"
border_color "black"
border_width 2
padding 5
}
main do
board do
3.times do |row|
3.times do |col|
cell :id => "cell_#{row}_#{col}"
end
end
end
end
message_center_container do
message_center :id => "message_center"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment