test1.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Aisky-coffee</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <!-- 新 Bootstrap4 核心 CSS 文件 -->
  8. <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">
  9. <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
  10. <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  11. <!-- popper.min.js 用于弹窗、提示、下拉菜单 -->
  12. <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
  13. <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
  14. <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
  15. <style>
  16. body {
  17. margin:0;
  18. }
  19. .navbar-dark .navbar-nav .nav-link {
  20. color: white;
  21. cursor: pointer;
  22. text-decoration:none;
  23. width: 100px;
  24. height: 46px;
  25. }
  26. .nav-top {
  27. line-height:40px;
  28. background-color: #C4C4C4;
  29. }
  30. .website_title{
  31. font-family: Roboto;
  32. font-style: normal;
  33. font-weight: normal;
  34. font-size: 30px;
  35. color: #000000;
  36. }
  37. .navbar-nav > li{
  38. float: none;
  39. display: inline-block;
  40. width: 100px;
  41. margin: 0 auto;
  42. text-align: center;
  43. }
  44. .navbar-nav > li a{
  45. font-size: 20px;
  46. }
  47. .main-page {
  48. margin-top: 200px;
  49. }
  50. .page-title {
  51. font-family: Roboto;
  52. font-style: normal;
  53. font-weight: bold;
  54. font-size: 36px;
  55. }
  56. .flex {
  57. display: flex;
  58. flex-direction: row;
  59. flex-wrap: wrap;
  60. justify-content: center;
  61. }
  62. .set-link {
  63. display: inline-block;
  64. width: 350px;
  65. height: 100px;
  66. line-height: 100px;
  67. background: #008CBA;
  68. border: 1px solid #CFCFCF;
  69. box-sizing: border-box;
  70. color: #FFFFFF;
  71. border-radius: 10px;
  72. font-size: 36px;
  73. }
  74. @media(max-width:373px){
  75. .card {
  76. margin-right: 0px;
  77. }
  78. }
  79. @media(max-width:577px){
  80. }
  81. @media(min-width:576px){
  82. }
  83. @media(min-width:768px){
  84. .navbar-nav > li {
  85. margin-left: 0px;
  86. }
  87. .navbar-nav .li-block {
  88. display:none;
  89. }
  90. }
  91. @media(min-width:991px){
  92. .navbar-nav > li {
  93. margin-left: 20px;
  94. }
  95. .navbar-nav .li-block {
  96. display:none;
  97. }
  98. }
  99. @media(min-width:1200px){
  100. .navbar-nav > li {
  101. margin-left: 50px;
  102. }
  103. .navbar-nav .li-block {
  104. display: inline-block;
  105. width: 100px;
  106. }
  107. }
  108. @media(min-width:1400px){
  109. .navbar-nav .li-block {
  110. display: inline-block;
  111. width: 200px;
  112. }
  113. }
  114. @media(min-width:1689px) {
  115. .navbar-nav > li {
  116. margin-left: 50px;
  117. }
  118. .navbar-nav .li-block {
  119. display: inline-block;
  120. width: 500px;
  121. }
  122. }
  123. </style>
  124. </head>
  125. <body>
  126. <nav class="fixed-top">
  127. <nav class="navbar navbar-expand-md nav-top justify-content-center">
  128. <div>
  129. <span class="website_title">咖啡貨櫃</span>
  130. </div>
  131. </nav>
  132. <nav class="navbar navbar-expand-md bg-dark navbar-dark nav-bottom">
  133. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
  134. <span class="navbar-toggler-icon"></span>
  135. </button>
  136. <div class="collapse navbar-collapse" id="collapsibleNavbar">
  137. <ul class="navbar-nav">
  138. <li class="nav-item">
  139. <a class="nav-link" href="index.html">首頁</a>
  140. </li>
  141. <li class="nav-item">
  142. <a class="nav-link" href="#">關於我們</a>
  143. </li>
  144. <li class="nav-item">
  145. <a class="nav-link" href="#">資訊</a>
  146. </li>
  147. <li class="nav-item">
  148. <a class="nav-link" href="#">聯絡方法</a>
  149. </li>
  150. <li class="nav-item">
  151. <a class="nav-link" href="coffee.html">咖啡貨櫃</a>
  152. </li>
  153. <li class="nav-item">
  154. <a class="nav-link" href="img.html">影像識別</a>
  155. </li>
  156. <li class="li-block"></li>
  157. <li class="nav-item">
  158. <a class="nav-link" href="">User</a>
  159. </li>
  160. <li class="nav-item">
  161. <a class="nav-link" href="">Logout</a>
  162. </li>
  163. </ul>
  164. </div>
  165. </nav>
  166. </nav>
  167. <div class="main-page">
  168. <div class="text-center">
  169. <h1>感測器</h1>
  170. </div>
  171. <form method="" action="">
  172. <div class="container-fluid">
  173. <div class="row">
  174. <div class="col flex">
  175. <div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  176. <div class="page-title text-center">
  177. <a class="set-link" type="button" href="s_cargo1.html">貨櫃1</a>
  178. </div>
  179. </div>
  180. <div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  181. <div class="page-title text-center">
  182. <a class="set-link" type="button" href="s_cargo2.html">貨櫃2</a>
  183. </div>
  184. </div>
  185. <div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  186. <div class="page-title text-center">
  187. <a class="set-link" type="button" href="s_cargo3.html">貨櫃3</a>
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. </div>
  193. <div class="text-center" style="margin-top:100px;">
  194. <h1>致動器</h1>
  195. </div>
  196. <div class="container-fluid">
  197. <div class="row">
  198. <div class="col flex">
  199. <div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  200. <div class="page-title text-center">
  201. <a class="set-link" type="button" href="b_cargo1.html">貨櫃1</a>
  202. </div>
  203. </div>
  204. <div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  205. <div class="page-title text-center">
  206. <a class="set-link" type="button" href="b_cargo2.html">貨櫃2</a>
  207. </div>
  208. </div>
  209. <div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  210. <div class="page-title text-center">
  211. <a class="set-link" type="button" href="b_cargo3.html">貨櫃3</a>
  212. </div>
  213. </div>
  214. </div>
  215. </div>
  216. </div>
  217. </form>
  218. </div>
  219. </body>
  220. </html>