Advertisement
Guest User

Untitled

a guest
Oct 28th, 2015
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 9.58 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>L'A-PROPOS_Accueil</title>
  5. <meta charset="utf-8"/>
  6. <style>
  7. /*définition polices */
  8.  
  9. /* Eléments principaux de la page */
  10.  
  11. body{
  12. background-color: #EAE9E8;
  13. background-image: url("ressources/wallpaper_journaux_petits.jpg"); /* mettre une couleur plus foncée sur le background (genre #EAE9E8 ) + ne pas oublier de modifier l'image pour qu'elle domine tout l'écran et ne soit pas multipliée, sinon c'et moche*/
  14. /* overflow-x: hidden; */
  15. margin: 0px;
  16. padding: 0px;
  17. color: black;
  18. font-family: Helvetica, Georgia;
  19. }
  20. /*
  21. si l'on veut un menu qui ne prend pas toute la largeur, remmettre ce code
  22.  
  23. #bloc_page{
  24. width: 1000px;
  25. margin: auto;
  26. /
  27.  
  28. }
  29.  
  30. /* En-tête*/
  31.  
  32. header{
  33. width: 100%;
  34. }
  35.  
  36. #titre{
  37. display: inline-block;
  38. width: 100%;
  39. border-bottom: solid black 1px;
  40.  
  41. }
  42.  
  43. #titre h1{
  44. text-align: center;
  45. font-weight: bold;
  46. margin: 0;
  47. background-color: #A5A5A5;
  48. font-size: 35px;
  49. font-family: American Typewriter;
  50. }
  51.  
  52.  
  53. #titre h2{
  54. font-family: Helvetica ;
  55. font-style: italic;
  56. text-align: center;
  57. }
  58. /* Citation Pindare
  59.  
  60. #pindare{
  61. font-style: normal;
  62. }
  63. /
  64.  
  65.  
  66. /* Menu*/
  67. nav{
  68. display: inline-block;
  69. width: 100%;
  70. min-width: 1800px;
  71. background-color: #181b1d;
  72. margin-bottom: 50px;
  73.  
  74.  
  75. }
  76.  
  77. nav ul{
  78. float: left;
  79. position: relative;
  80. left: 50%;
  81. margin-left: -40px;
  82.  
  83.  
  84. }
  85.  
  86. nav ul li{
  87. float: left;
  88. list-style-type: none;
  89. position: relative;
  90. left: -50%;
  91.  
  92. }
  93.  
  94.  
  95. nav ul li a{
  96. font-size: 18px;
  97. text-align: center;
  98. display: inline-block;
  99. width: 180px;
  100. color : #9B9B9B;
  101. text-decoration: none;
  102. background-color: #181b1d;
  103. text-transform: uppercase;
  104. padding-top: 10px;
  105. height: 30px;
  106.  
  107. }
  108. /* Changer le focus
  109.  
  110. nav ul li a:focus{
  111.  
  112. }
  113. */
  114.  
  115.  
  116. nav ul li:hover .rubrique_possedant_sous_liens {
  117. color: black;
  118.  
  119. }
  120.  
  121. nav ul li ul {
  122. display:none;
  123. }
  124. nav ul li:hover ul {
  125. display:block;
  126.  
  127. }
  128. nav li:hover ul li {
  129. float:none;
  130. }
  131. nav ul li a:hover{
  132. color: white;
  133.  
  134. }
  135. nav li ul {
  136. position:absolute;
  137. }
  138.  
  139. .premier_sous-lien{
  140. padding-top: 30px;
  141. }
  142.  
  143. /* Les articles, le corps de la page quoi */
  144.  
  145. #corps{
  146. background-color: white;
  147. margin: auto;
  148. width:70%;
  149. min-width:800px;
  150. margin: auto;
  151. font-size: 18px;
  152. overflow: hidden;
  153. font-family: Georgia;
  154. box-shadow: 2px 2px 20px black;
  155.  
  156. }
  157.  
  158.  
  159. #main{
  160. width: 800px;
  161. margin: auto;
  162. padding-top:30px;
  163. text-align: justify;
  164. font-size: 20px;
  165. }
  166. #main_image{
  167. width: 800px;
  168. height: 400px;
  169. display: inline-block;
  170. border-left: solid black 0px;
  171. border-radius: 5px;
  172. /*border-top: red solid 2px;*/
  173. /*box-shadow: 10px -5px 30px grey;*/
  174.  
  175. }
  176. #video{
  177. margin: auto;
  178. width: 1000px;
  179. height: 500px;
  180. display: inline-block;
  181. border-left: solid black 0px;
  182. border-radius: 5px;
  183. }
  184.  
  185.  
  186.  
  187. .derniers_articles {
  188.  
  189. padding:1px;
  190. margin: 15px;
  191. float: left;
  192. width: 28%;
  193. position: relative;
  194. border-radius: 8px;
  195. text-align: justify;
  196. height: 350px;
  197. }
  198. section a{
  199. text-decoration: none;
  200. color: black;
  201. }
  202. section img{
  203. width: 100%;
  204. display: inline-block;
  205. /*box-shadow: 10px -5px 30px grey;*/
  206. height: 250px;
  207. border : solid black 0px;
  208. border-radius: 5px;
  209. border-bottom: black solid 4px;
  210. }
  211.  
  212. section strong{
  213. text-transform: uppercase;
  214. color: purple;
  215. }
  216. .lire_la_suite{
  217. display: none;
  218. padding: 2px;
  219. height: 15px;
  220. background: url('ressources/fond_degraderouge.png') repeat-x;
  221. border: 1px solid #760001;
  222. border-radius: 4px;
  223. color: white;
  224. text-decoration: none;
  225. position: relative;
  226. top: 5px;
  227. left: 10px;
  228. }
  229.  
  230. section:hover .lire_la_suite{
  231. display: inline;
  232.  
  233. }
  234. section .nom_article{
  235. text-transform: uppercase;
  236. font-weight: bolder;
  237. }
  238.  
  239.  
  240. /*ici pour changer la couleur de la bordure du bas pour rubriques */
  241.  
  242. section #main_image{
  243. border-bottom-color: red;
  244. }
  245.  
  246. section #image2{
  247. border-bottom-color: blue;
  248. }
  249. section #image3{
  250. border-bottom-color: green;
  251. }
  252. section #image4{
  253. border-bottom-color: grey;
  254. }
  255. section #image5{
  256. border-bottom-color: purple;
  257. }
  258. section #image6{
  259. border-bottom-color: maroon;
  260. }
  261. section #image7{
  262. border-bottom-color: magenta;
  263. }
  264.  
  265. /* Pied-de-page */
  266.  
  267. footer{
  268. display: block;
  269. background-color: #A5A5A5;
  270. height: 180px;
  271. width: 100%;
  272. margin: auto;
  273. text-align: center;
  274. border-radius: 2px;
  275. box-shadow: 2px 2px 20px black;
  276. position: relative;
  277. }
  278. footer ul li{
  279. list-style-type: none;
  280. display: inline-block;
  281. width: 60px;
  282. }
  283. footer .logo_social{
  284. width: 40px;
  285.  
  286. }
  287.  
  288.  
  289. </style>
  290. </head>
  291.  
  292. <body>
  293. <div id="bloc_page">
  294.  
  295. <!-- En-tête -->
  296.  
  297. <header>
  298. <div id="titre">
  299. <h1 >Mon super site</h1>
  300.  
  301.  
  302. <!--
  303. Cette ligne sera a rajouter si on veut mettre la citation
  304. <h2>Saisir l'A-PROPOS est, en toute choses, le plus grand mérite. <span id="pindare"> Pindare </span></h2>
  305. -->
  306. </div>
  307.  
  308. <!-- Menu -->
  309.  
  310. <nav id="menu1">
  311. <ul>
  312. <li><a href="index.html">accueil</a></li>
  313. <li><a href="news.html">(l')à-propos</a></li>
  314. <li><a href="infos.html">grand angle</a></li>
  315. <li><a href="politique.html">politique</a></li>
  316. <li><a href="hitsoire.html" class="rubrique_possedant_sous_liens">histoire</a>
  317. <ul>
  318. <li><a href="histoire_antique.html" class="premier_sous-lien">antique</a></li>
  319. <li><a href="histoire_contemporaine.html">contemporaine</a></li>
  320. </ul>
  321. </li>
  322. <li><a href="culture.html" class="rubrique_possedant_sous_liens">culture</a>
  323. <ul>
  324. <li><a href="culture_musique.html" class="premier_sous-lien">musique</a></li>
  325. <li><a href="culture_cinema.html">cinéma</a></li>
  326. <li><a href="culture_series_tv.html">séries TV</a></li>
  327. <li><a href="culture_jeux_videos.html">jeux vidéos</a></li>
  328. </ul>
  329. </li>
  330. <li><a href="fable.html">fable</a></li>
  331. </ul>
  332.  
  333. </nav>
  334. </header>
  335.  
  336.  
  337. <!-- Les articles -->
  338.  
  339. <div id="corps">
  340.  
  341. <!-- Attention dans cette partie on devra pouvoir changer les sujets faciement, cf code php je pense, il faudra modifier le code html, celui-ci n'étant que provisoire -->
  342.  
  343. <section id="main">
  344. <a href="#">
  345. <img id="main_image" src="ressources/image.jpg" alt="Mon Image3" >
  346. <p><strong>Grand Angle.</strong><span class="nom_article"> Le site de MoA enfin ouvert !! </span>Morbi sit amet sodales ligula. Aliquam semper blandit neque quis ultrices. Pellentesque accumsan ex vitae egestas tincidunt. Vestibulum nec commodo ex. Cras sed libero lorem<span>...</span><span class="lire_la_suite"> Lire la suite</span>
  347. </p>
  348. </a>
  349. </section>
  350.  
  351.  
  352.  
  353. <section id="article2"class="derniers_articles">
  354. <a href="#">
  355. <img class="images_derniers_articles" src="ressources/image4.jpg" alt="image_article2" id="image2"><br/>
  356. <p><strong>Cinéma.</strong><span class="nom_article"> Peter Pan, ce héros </span>Morbi sit amet aliquam semper blandit neque quis ultricesAliquam semper blandit<span>...</span><span class="lire_la_suite"> Lire la suite</span>
  357. </p>
  358. </a>
  359. </section>
  360. <section id="article3"class="derniers_articles">
  361. <a href="#">
  362. <img class="images_derniers_articles" src="ressources/image2.jpg" alt="image_article2" id="image3"><br/>
  363. <p><strong>Musique.</strong><span class="nom_article"> La France en finale !! </span>Morbi sit amet sodales ligula. Aliquam neque quis ultrices. Aliquam semper blandit<span>...</span><span class="lire_la_suite"> Lire la suite</span>
  364. </p>
  365. </a>
  366. </section>
  367. <section id="article4"class="derniers_articles">
  368. <a href="#">
  369. <img class="images_derniers_articles" src="ressources/image3.jpg" alt="image_article2" id="image4"> <br/>
  370. <p><strong>Fable.</strong><span class="nom_article"> Justin bieber en tournée </span>Morbi sit amet sodales blandit neque oliquam semper blandit<span>...</span><span class="lire_la_suite"> Lire la suite</span>
  371. </p>
  372. </a>
  373. </section>
  374. <section id="article5"class="derniers_articles">
  375. <a href="#">
  376. <img class="images_derniers_articles" src="ressources/image3.jpg" alt="image_article2" id="image5"><br/>
  377. <p><strong> Histoire.</strong><span class="nom_article"> La vie </span>Morbi sit amet sodales ligula. Aliquam semper blandit neque quis ultrices. Yamelo lio apetui<span>...</span><span class="lire_la_suite"> Lire la suite</span>
  378. </p>
  379. </a>
  380. </section>
  381. <section id="article6"class="derniers_articles">
  382. <a href="#">
  383. <img class="images_derniers_articles" src="ressources/image4.jpg" alt="image_article2" id="image6"><br/>
  384. <p><strong>Jeux Vidéos.</strong><span class="nom_article"> L'appât du gain </span>Morbi sit amet sodales ligula. Aliquam semper blandit neque emper blandit neque<span>...</span><span class="lire_la_suite"> Lire la suite</span>
  385. </p>
  386. </a>
  387. </section>
  388. <section id="article7"class="derniers_articles">
  389. <a href="#">
  390. <img class="images_derniers_articles" src="ressources/image2.jpg" alt="image_article2" id="image7"><br/>
  391. <p><strong>Politique.</strong><span class="nom_article"> Révolution des kiwis </span>MorAliquam semper blandit neque quis egestas tincidunt<span>...</span><span class="lire_la_suite"> Lire la suite</span>
  392. </p>
  393. </a>
  394. </section>
  395. </div>
  396.  
  397. <!-- Pied-de-page -->
  398.  
  399. <footer>
  400. <div id="footer">
  401. <h1>L'A-PROPOS | Tous droits réservés</h1>
  402. <h2>Suivez nous sur les réseaux sociaux !!</h2>
  403. <ul>
  404. <li><img src="ressources/logo_facebook_bruit.png" class="logo_social" alt="logo_facebook" title="L'APRPSfb"></li>
  405. <li><img src="ressources/logo_twitter_bruit.png" class="logo_social" alt="logo_twitter" title="#L'APRPS"></li>
  406. <li><img src="ressources/logo_snapchat_bruit.png" class="logo_social" alt="logo_snapchat" title="L'APRPSdesnap"></li>
  407. <li><img src="ressources/logo_instagram_bruit.png" class="logo_social" alt="logo_instagram" title="L'APRPSinsta"></li>
  408.  
  409. </ul>
  410.  
  411. </div>
  412. </footer>
  413. </div>
  414. </body>
  415. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement