layout.blade.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!doctype html>
  2. <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>@yield('title')</title>
  7. <!-- Fonts -->
  8. <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet" type="text/css">
  9. <!-- Styles -->
  10. <style>
  11. html, body {
  12. background-color: #fff;
  13. color: #636b6f;
  14. font-family: 'Nunito', sans-serif;
  15. font-weight: 200;
  16. height: 100vh;
  17. margin: 0;
  18. }
  19. .full-height {
  20. height: 100vh;
  21. }
  22. .flex-center {
  23. align-items: center;
  24. display: flex;
  25. justify-content: center;
  26. }
  27. .position-ref {
  28. position: relative;
  29. }
  30. .top-right {
  31. position: absolute;
  32. right: 10px;
  33. top: 18px;
  34. }
  35. .content {
  36. text-align: center;
  37. }
  38. .title {
  39. font-size: 84px;
  40. }
  41. .links > a {
  42. color: #636b6f;
  43. padding: 0 25px;
  44. font-size: 13px;
  45. font-weight: 600;
  46. letter-spacing: .1rem;
  47. text-decoration: none;
  48. text-transform: uppercase;
  49. }
  50. .m-b-md {
  51. margin-bottom: 30px;
  52. }
  53. </style>
  54. </head>
  55. <body>
  56. <div class="flex-center position-ref full-height">
  57. @yield ('content')
  58. </div>
  59. </body>
  60. </html>