header.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!DOCTYPE html>
  2. <html lang="de">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>moeFlix</title>
  8. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">
  9. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
  10. <style>
  11. h1 {
  12. font-size: 8vh;
  13. }
  14. #logo {
  15. margin: 0 auto;
  16. text-align: center;
  17. }
  18. #logo img {
  19. width: 100%;
  20. }
  21. @media only screen and (min-width : 768px) {
  22. #logo img {
  23. width: auto;
  24. height: 200px;
  25. }
  26. }
  27. .list .row {
  28. display: flex;
  29. flex-wrap: wrap;
  30. }
  31. .col-sm-3 > div > a > img {
  32. width: 100%;
  33. }
  34. .col-sm-3 {
  35. padding-bottom: 15px;
  36. min-height: 500px;
  37. }
  38. .col-sm-3.episode {
  39. min-height: 50px;
  40. }
  41. .col-sm-3.episode > div > a > img {
  42. min-height: 50px;
  43. }
  44. .image-zoom {
  45. overflow: hidden;
  46. }
  47. .image-zoom img {
  48. -webkit-transition: all 1s ease; /* Safari and Chrome */
  49. -moz-transition: all 1s ease; /* Firefox */
  50. -ms-transition: all 1s ease; /* IE 9 */
  51. -o-transition: all 1s ease; /* Opera */
  52. transition: all 1s ease;
  53. outline: 1px solid transparent;
  54. }
  55. .image-zoom:hover img {
  56. -webkit-transform:scale(1.15); /* Safari and Chrome */
  57. -moz-transform:scale(1.15); /* Firefox */
  58. -ms-transform:scale(1.15); /* IE 9 */
  59. -o-transform:scale(1.15); /* Opera */
  60. transform:scale(1.15);
  61. }
  62. .episode-title {
  63. padding-top: 15px;
  64. }
  65. #user-menu {
  66. text-align: center;
  67. }
  68. @media only screen and (max-width : 480px) {
  69. .col-sm-3 {
  70. text-align: center;
  71. }
  72. }
  73. </style>
  74. </head>
  75. <body>
  76. <div id="logo">
  77. <a href="<?php echo $GLOBALS['conf']['baseURL']; ?>"><img src="<?php echo $GLOBALS['conf']['baseURL']; ?>img/moeflix.png" alt="moeflix"></a>
  78. </div>
  79. <div id="user-menu">
  80. <span>
  81. <i class="fa fa-hand-peace-o"></i>, <a href="<?php echo $GLOBALS['conf']['baseURL']; ?>?view=user"><?php echo $_SESSION['mail']; ?></a> <a href="<?php echo $GLOBALS['conf']['baseURL']; ?>?action=logout">Logout</a>
  82. </span>
  83. </div>