Advertisement
PlotnikovPhilipp

Untitled

Jun 17th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. <?php
  2. require_once "scripts/controlOfCache.php";
  3. nocache();
  4. ?>
  5. <!DOCTYPE html>
  6. <html lang="ru">
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  9. <meta name="viewport" content="width=device-width"/>
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  11. <meta name="format-detection" content="telephone=no"/>
  12. <meta name="author" content=""/>
  13. <meta name="description" content=""/>
  14. <meta name="keywords" content=""/>
  15. <!--[if lt IE9]
  16. <script language="javascript" type="text/javascript" src="scripts/compatibilityOfIE8WithHTML5.js"></script>
  17. -->
  18. <title>Сатурн</title>
  19. </head>
  20. <body>
  21. <?=file_get_contents("header.html")?>
  22. <main role="main">
  23.  
  24. </main>
  25. <?=file_get_contents("footer.html")?>
  26.  
  27. <!--
  28. Подключаем внешнии файлы
  29. -->
  30. <link rel="stylesheet" type="text/css" href="styles/order.css"/>
  31. </body>
  32. </html>
  33.  
  34.  
  35. <!----
  36.  
  37. Вот это файл header.html
  38.  
  39. ----------->
  40.  
  41. <header>
  42. <nav>
  43. <img alt="" src="imgs/orderLogo.png"/>
  44. <div> <!--Table-->
  45. <div> <!--Cell-->
  46. <h1>сатурн</h1>
  47. <span>охранное агентство</span>
  48.  
  49. <ul>
  50. <li>
  51. <a>Услуги</a>
  52. </li><li>
  53. <a>Цены</a>
  54. </li><li>
  55. <a>Заказать</a>
  56. </li><li>
  57. <a>Статьи</a>
  58. </li><li>
  59. <a>Контакты</a>
  60. </li><li>
  61. <a>Вопрос-ответ</a>
  62. </li><li>
  63. <a>Рассчет стоимости</a>
  64. </li><li>
  65. <a>О кампании</a>
  66. </li>
  67. </ul>
  68. </div>
  69. </div>
  70. </nav>
  71. </header>
  72.  
  73.  
  74.  
  75. <!-----
  76.  
  77. css
  78.  
  79. ------->
  80.  
  81.  
  82. /*
  83. Устанавливаем стандартные настройки
  84. */
  85. * {
  86. border: none;
  87. -webkit-border-radius: 0;
  88. -moz-boreder-radius: 0;
  89. border-radius: 0;
  90. margin: 0;
  91. padding: 0;
  92. outline: 0;
  93. }
  94.  
  95. a {text-decoration: none}
  96.  
  97. body, html {width: 100%}
  98.  
  99. /*
  100. Header
  101. */
  102.  
  103. header {
  104. background-image: url("../imgs/bgMain.png");
  105. background-position: center center;
  106. background-repeat: no-repeat;
  107. -webkit-background-size: cover;
  108. -moz-background-size: cover;
  109. background-size: cover;
  110. padding-top: 1.25%;
  111. padding-bottom: 0.625%;
  112. padding-left: 22%;
  113. }
  114.  
  115. header nav {width: 100%}
  116.  
  117. header nav img {width: 4%}
  118.  
  119. header nav > div {
  120. display: table;
  121. width: 100%;
  122. color: white;
  123. }
  124.  
  125. header nav > div > div {
  126. width: 100%;
  127. display: table-cell;
  128. vertical-align: middle;
  129. text-align: left;
  130. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement