Sha256: e95db503ddc7224e4eebb6677b37a67e5415405511a87b5c9e131f74643a61bd
Contents?: true
Size: 1.33 KB
Versions: 29
Compression:
Stored size: 1.33 KB
Contents
!!!5 %head :css body, html { background-color: #eee; padding: 0; margin: 0; width: 100%; } h1 { background-color: #ddd; color: #008; text-align: center; border-bottom: 1px solid #000; margin: 0; padding: 0.5em; width: auto; } p { color:#004; font-size: 1.2em; padding: 0 1em; } #wrapper { background-color: #fff; margin: 1em 5%; padding: 0 0 2% 0; border-radius: 20px; min-height: 50%; color: #007; } #wrapper h2 { background-color: #ddd; color: #008; text-align: center; margin: 0 0 1em 0; padding: 0.5em 0; width: 100%; border-radius: 20px; } #wrapper p{ padding: 0 2%;} #wrapper #missing { color:#904; font-size: 1.4em; padding: 0.5em 0; text-align: center; background-color: #fee; border-bottom: 1px solid #800; margin: 0; } %body %h1< Plezi 404 error code (missing, not broken)... #wrapper %h2#missing couldn't find = defined?(request) ? request.path : "what you're looking for..." %p Sorry, we couldn't find what you're looking for... %p ... but we can always bring you something nice from another location, right? / want to use your layout? use the :haml_concat method to wrap the 404 error code message. see http://haml.info/docs/yardoc/Haml/Helpers.html#haml_concat-instance_method .
Version data entries
29 entries across 29 versions & 1 rubygems