Appendix 1Additional CSS Rules
Here are some style rules that we have added to TekDays/web-app/css/main.css. Please copy these to your project to make it easier to follow along with the project in the book.
| /*Dashboard*/ |
| .dashItem { |
| margin: 10px; |
| } |
| #eventBlurb { |
| width: 100%; |
| height: 60px; |
| } |
| #dashHeader { |
| text-align: center; |
| } |
| |
| /*Index*/ |
| #homeSearch { |
| margin-left: 30%; |
| margin-top: 25px; |
| width: 40%; |
| } |
| #homeSearch label { |
| font-weight: bold; |
| } |
| #welcome { |
| margin-left: 25px; |
| width: 85%; |
| } |
| |
| .homeCell { |
| margin-left: 25px; |
| margin-top: 65px; |
| width: 85%; |
| } |
| .homeCell .buttons { |
| width: 180px; |
| text-align: center; |
| float: right; |
| margin-right: 30px; |
| margin-bottom: 30px; |
| } |
| |
| h3, li { |
| margin-bottom: ... |
Get Grails 2: A Quick-Start Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.