Schule als Staat Projekt Web, Dokumente, etc.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

132 строки
3.5KB

  1. {% load static %}
  2. <div id=header>
  3. <style>
  4. #logo {
  5. width: 90%;
  6. padding-left: 2%;
  7. padding-top: 2%;
  8. }
  9. .top-links {
  10. color: #929292;
  11. vertical-align: top;
  12. padding-top: 5px;
  13. text-align: center;
  14. }
  15. #logotablerow {
  16. padding-right: 2%;
  17. }
  18. #search {
  19. vertical-align: middle;
  20. }
  21. #search_icon {
  22. width: 80%;
  23. vertical-align: middle;
  24. padding-left: 0px;
  25. }
  26. table{
  27. border-collapse: collapse;
  28. border: none;
  29. }
  30. table tr{
  31. border: none;
  32. vertical-align: top;
  33. }
  34. table td{
  35. padding-left: 10px;
  36. padding-top: 2px;
  37. border: none;
  38. }
  39. .link-container {
  40. text-align: center;
  41. width: 10%;
  42. }
  43. .allcenter {
  44. vertical-align: middle;
  45. text-align: right;
  46. padding-right: 10px;
  47. }
  48. #search {
  49. font-size: 16pt;
  50. background: #D6D5D5;
  51. color: black;
  52. }
  53. #search:focus{
  54. font-size: 16pt;
  55. background: #D6D5D5;
  56. color: black;
  57. outline: none;
  58. }
  59. ul {
  60. list-style-type: none;
  61. position: relative;
  62. margin-left: 2%;
  63. margin-top: 20px;
  64. width: 96%;
  65. background: #D6D5D5;
  66. border: none;
  67. }
  68. li {
  69. float: left;
  70. width: 30%;
  71. margin-top: 0.5%;
  72. margin-bottom: 0.5%;
  73. vertical-align: middle;
  74. padding-left: 3%;
  75. color: #929292;
  76. }
  77. li a {
  78. display: block;
  79. color: #666;
  80. text-align: center;
  81. padding: 14px 16px;
  82. text-decoration: none;
  83. }
  84. .active {
  85. background: #9F2D17;
  86. color: white;
  87. }
  88. li a:hover:not(.active) {
  89. background: #929292;
  90. }
  91. </style>
  92. <table class="table">
  93. <tr>
  94. <td id ="logotablerow", width="20%">
  95. <img id="logo" src="{% static "public/images/apb_icon.png" %}" alt="logo">
  96. </td>
  97. <td class="link-container">
  98. <a class="top-links", href="https://www.tagesschau.de">tagesschau.de</a>
  99. </td>
  100. <td class="link-container">
  101. <a class="top-links", href="https://www.spiegel.de">spiegel.de</a>
  102. </td>
  103. <td class="link-container">
  104. <a class="top-links", href="https://www.zeit.de">zeit.de</a>
  105. </td>
  106. <td class="link-container">
  107. <a class="top-links", href="https://www.bpb.de">bpb.de</a>
  108. </td>
  109. <td vertical-align="middle", width="25%" class="allcenter">
  110. <input type="text" id="search" maxlength="30" placeholder="Datenbank durchsuchen">
  111. </td>
  112. <td width="5%" class="allcenter">
  113. <a href="http://www.dohiy.com/wp-content/uploads/2014/06/itsatrap.jpg"><img id="search_icon" src="{% static "public/images/search_icon.png" %}" alt="search"></a>
  114. </td>
  115. </tr>
  116. </table>
  117. <div id="navigation">
  118. <ul>
  119. <li><a class="active" href="https://www.none.com">Gesetzesblatt</a></li>
  120. <li><a href="https://www.none.com">Datenbank</a></li>
  121. <li><a href="https://www.none.com">Mein Goethopia</a></li>
  122. </ul>
  123. </div>
  124. </div>