03.12.2015 Views

laravel4cookbook

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Authentication 14<br />

24 width : 100%;<br />

25 color : #fff;<br />

26 }<br />

27<br />

28 .header h1, .header a {<br />

29 display : inline-block;<br />

30 }<br />

31<br />

32 .header h1 {<br />

33 margin : 0;<br />

34 font-weight : normal;<br />

35 }<br />

36<br />

37 .footer {<br />

38 position : absolute;<br />

39 bottom : 0;<br />

40 }<br />

41<br />

42 .content {<br />

43 padding : 25px 0;<br />

44 }<br />

45<br />

46 label, input {<br />

47 clear : both;<br />

48 float : left;<br />

49 margin : 5px 0;<br />

50 }<br />

.<br />

This file should be saved as public/css/layout.css.<br />

We finish by adding some basic styles; which we linked to in the head element. These alter the<br />

default fonts and layout. Your application would still work without them, but it would just look a<br />

little messy.<br />

Creating A Login View<br />

The login view is essentially a form; in which users enter their credentials.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!