Skip to content

Commit

Permalink
Ruby Hooks: Add background image to title page
Browse files Browse the repository at this point in the history
  • Loading branch information
booch committed Nov 10, 2016
1 parent 4e50a6f commit 58d4ca3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
Binary file added Ruby_Hooks/captain_hook.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions Ruby_Hooks/slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@
width: 500px;
margin-left: 100px;
}
.title {
background-image: url(captain_hook.gif);
background-size: 300px 300px;
background-position-x: 500px;
}
.title h1, .title h2, .title h3, .title h4, .title h5 {
margin-left: -300px;
}
</style>
</head>
<body>
Expand Down
8 changes: 8 additions & 0 deletions Ruby_Hooks/slides.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@
width: 500px;
margin-left: 100px;
}
.title {
background-image: url(captain_hook.gif);
background-size: 300px 300px;
background-position-x: 500px;
}
.title h1, .title h2, .title h3, .title h4, .title h5 {
margin-left: -300px;
}
</style>
</head>
<body>
Expand Down

0 comments on commit 58d4ca3

Please sign in to comment.