Advertisement
Guest User

projet aquarium

a guest
Jun 4th, 2016
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.42 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="utf-8" />
  5.     <title>Projet Aquarium</title>
  6.     <style>
  7.         body{background-color: #3b6db3; font-family: sans-serif; font-size: 1.2em;}
  8.         h1{width: 90%; max-width: 600px; margin: auto; text-align: center;}
  9.         h1>span{color: white;}
  10.         h1,section{border: 4px solid #21307b;}
  11.         content{display: flex; height: 250px; width: 90%; max-width: 900px; margin: auto;}
  12.         section{width: 350px; max-width: 28%; height: 200px; margin: auto;}
  13.         p,form{margin-left: 10px; color: #21307b;}
  14.         p::first-letter{color: white;}
  15.         input{border-radius: 0; width: 30%; height: 42px; border: none; transition: background-color 0.2s;}
  16.         input:hover{background-color: #CDCDEF; transition: background-color 0.2s;}
  17.     </style>
  18. </head>
  19. <body>
  20.     <h1>P<span>rojet aquarium 20</span>15-<span>20</span>16</h1>
  21.  
  22.     <content>
  23.         <section>
  24.             <p>
  25.             Temps : %H%:%M%:%S%
  26.             </p>
  27.             <p>
  28.             Température : %X% °C
  29.             </p>
  30.             <p>
  31.             Luminosité : %Z%
  32.             </p>
  33.         </section>
  34.  
  35.         <section class="middle">
  36.             <p>
  37.             Chauffage :
  38.             </p>
  39.             <form>
  40.                 <input type="button" name="chauffage-on" value="ON" />
  41.                 <input type="button" name="chauffage-off" value="OFF" />
  42.             </form>
  43.         </section>
  44.  
  45.         <section>
  46.             <p>
  47.             Eclairage :
  48.             </p>
  49.             <form>
  50.                 <input type="button" name="eclairage-on" value="ON" />
  51.                 <input type="button" name="eclairage-off" value="OFF" />
  52.             </form>
  53.         </section>
  54.     </content>
  55.  
  56. </body>
  57. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement