Advertisement
Guest User

css

a guest
Jan 17th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.09 KB | None | 0 0
  1. /* VALIDE PAR https://jigsaw.w3.org/css-validator/ */
  2.  
  3.  
  4.  
  5. body
  6. {
  7.  
  8. font-family:"Georgia";
  9. background-image: url("fond2.jpg");
  10. background-repeat: repeat;
  11. background-size: 100% 100%;
  12.  
  13. margin: 0;
  14.  
  15.  
  16. }
  17. html {
  18.  
  19. height:100%;
  20. }
  21. #fond
  22. {
  23. position: fixed;
  24. top: 0;
  25. left:0;
  26.  
  27. opacity: 0.5;
  28. }
  29.  
  30.  
  31.  
  32.  
  33. /* LA BANNIERE */
  34. #bn_image{
  35. text-decoration:inherit;
  36. display: block;
  37. margin : 0 auto;
  38. margin-top: 15px;
  39. margin-bottom: 15px;
  40. height: 270px;
  41. width: 860px;
  42. border-radius: 10px;
  43. background: url(banniere.png) no-repeat;
  44. position: relative;
  45.  
  46. }
  47. #bn_description{
  48. text-decoration:inherit;
  49. font-size: 18px;
  50. text-align: right;
  51. padding-top:100px;
  52. font-style: italic;
  53. color: #FF0040;
  54. padding: 230px 30px 0px 0px;
  55. }
  56. /* ************* */
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69. /* ICI TOUT CE QUI CONCERNE LA RECHERCHE */
  70. #Recherche {
  71. margin-top: 2px;
  72. vertical-align: middle;
  73. display: inline-block;
  74. }
  75. #Recherche #motclef {
  76. height: 23px;
  77. border: 2px solid grey;
  78. background-image: url(fond2.jpg);
  79. font: 15px Arial,Verdana,sans-serif;
  80. color: white;
  81. padding-left : 5px;
  82.  
  83. }
  84. #Recherche #rechb {
  85.  
  86. border-radius: 0px 7px 7px 0px;
  87. font: 15px Arial,Verdana,sans-serif;
  88. border: 3px solid grey;
  89. background-color : rgb(250,250,250);
  90.  
  91.  
  92. }
  93. #Recherche #rechb:hover {
  94. background-color : rgb(150,150,150);
  95. }
  96.  
  97.  
  98.  
  99. /* ************************************ */
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108. /* BOUTONS */
  109. .buttonb { /* bouton de la barre 1 */
  110. text-decoration: inherit;
  111. color: black;
  112. border-radius: 7px;
  113. font: 15px Arial,Verdana,sans-serif;
  114. border: 3px solid grey;
  115. background-color : rgb(250,250,250);
  116. padding: 1px 10px 1px 10px;
  117. }
  118.  
  119. .buttonb:hover, #rechb:hover { /* bouton de la barre 1 */
  120. background-color : rgb(150,150,150);
  121. }
  122.  
  123.  
  124. /**********/
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. /******** BARRE 1 *********/
  134. .barre1 {
  135. height : 45px;
  136. background-color: rgba(80,80,80, 0.5);
  137. padding-top: 5px;
  138. }
  139. .barre1 #menu1 {
  140. display : inline;
  141.  
  142. }
  143.  
  144. .barre1 li {
  145. display : inline;
  146. list-style-type: none;
  147. border-radius: 7px;
  148. font: 15px Arial,Verdana,sans-serif;
  149. }
  150.  
  151. #panier{
  152. background-image:url(stack.png);
  153. background-position:left;
  154. background-repeat:no-repeat;
  155. }
  156. /**************************/
  157.  
  158.  
  159.  
  160. .erreurp {
  161. text-decoration: inherit;
  162. display: block;
  163. padding-top: 20px;
  164. color: black;
  165. }
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175. .pages > .page:target ~ .page:last-child, .pages > .page {
  176. display: none;
  177. }
  178.  
  179. .pages > :last-child, .pages > .page:target {
  180. background-color: rgba(100,100,100, 0.2);
  181. border: 10px;
  182. padding : 10px 40px 10px 40px;
  183. margin : 0px 100px 90px 100px;
  184. font: 18px Arial,Verdana,sans-serif;
  185. min-height: 500px;
  186. display: block;
  187. }
  188.  
  189. /* dqs dq*/
  190.  
  191.  
  192. .concc {
  193.  
  194. border-radius: 3px;
  195. padding : 15px;
  196. background-color: #F2F2F2;
  197. border: 5px solid grey;
  198.  
  199. text-decoration:inherit;
  200. display: none;
  201. top: 10px;
  202. margin-left: 34% ;
  203. margin-top:15%;
  204.  
  205. position: fixed;
  206.  
  207.  
  208. }
  209. /* dqs dq*/
  210. .concc:target {
  211. display: block;
  212. }
  213.  
  214. .concc:target #fermersco:active
  215. {
  216. display: none;
  217. }
  218.  
  219. .conn, .connb, .connbsi {
  220. min-width: 100px;
  221.  
  222.  
  223. }
  224.  
  225. .sco {
  226.  
  227. padding: 15px 20px 20px 20px;
  228.  
  229. }
  230.  
  231.  
  232. .connb, .connbsi {
  233. vertical-align: center;
  234. }
  235.  
  236. .connbsi {
  237. min-height: 52px;
  238.  
  239. }
  240.  
  241.  
  242. #connect #creer{
  243.  
  244. display: block;
  245. position:relative;
  246.  
  247.  
  248. margin : 5px;
  249.  
  250. }
  251.  
  252. .tco {
  253.  
  254. padding : 15px;
  255.  
  256. }
  257.  
  258. .rtrco {
  259.  
  260. text-decoration: inherit;
  261. color: white;
  262. position: absolute;
  263. top: 2px;
  264. left: 4px;
  265. border: 1px solid black;
  266. margin-top: 2px;
  267. padding: 0px 3px 0px 3px;
  268. background-color: grey;
  269. font-family: Arial;
  270. }
  271.  
  272. #commder div, #ajtpan div, #cmtr div{
  273. margin: 30px;
  274. text-align: center
  275. }
  276.  
  277. /******** BARRE 2 *********/
  278. #barre2 { /* la barre2 */
  279. background-color: #424242;
  280. color:white;
  281. margin:10px 100px 0 100px;
  282. text-align:center;
  283. }
  284.  
  285. #b2n{
  286. text-decoration: inherit;
  287. color: rgb(255,0,64);
  288. display: inline-block;
  289. padding: 3px 6px 3px 6px;
  290. margin: 0px;
  291. font: 18px Arial,Verdana,sans-serif;
  292. }
  293.  
  294. #barre2 a:not([id="b2n"]){
  295. text-decoration: inherit;
  296. color:white;
  297. display: inline-block;
  298. padding: 3px 6px 3px 6px;
  299. margin: 0px;
  300. font: 18px Arial,Verdana,sans-serif;
  301. }
  302.  
  303.  
  304.  
  305. #barre2 a:not([id="b2n"]):hover {
  306. background-color:grey;
  307. color:black;
  308. }
  309.  
  310. #barre2 #b2n:hover {
  311. background-color:grey;
  312. }
  313.  
  314.  
  315. /*************** *****************/
  316.  
  317.  
  318. @media only screen and (max-width: 1000px) {
  319.  
  320. /* CSS déjà optimisé pour le responsible design sans @media */
  321.  
  322. p {
  323. color: red;
  324. }
  325.  
  326. .b2, #barre2 a {
  327. display : inline;
  328. }
  329.  
  330.  
  331. .promotionac ul{
  332. display : inline-block;
  333. }
  334. }
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352. /**************************/
  353.  
  354. #aceuil p:first-child, #aceuil2 p:first-child{
  355. color: #FF0040;
  356.  
  357. }
  358.  
  359. #aceuil p, #aceuil2 p, #aceuil a{
  360. padding: 0px;
  361. margin: 10px 10px 0px 0px;
  362. text-align: center;
  363.  
  364. }
  365.  
  366. .cclk {text-decoration: inherit; }
  367.  
  368.  
  369. #aceuil2 {
  370.  
  371. height: 730px;
  372.  
  373. }
  374.  
  375. /************************/
  376.  
  377.  
  378. .promotionac ul, .promotionac li {
  379. color: white;
  380. list-style-type: none;
  381. }
  382.  
  383. .promotionac :hover
  384. {
  385. background-color: #424242;
  386. }
  387.  
  388.  
  389. .promotionac {
  390. text-align:center;
  391. background-color:rgba(100,100,100,0.5);
  392.  
  393. margin: 30px 0px 30px 0px;
  394. padding: 0px 70px 0px 70px;
  395. background-image:url('Produits/Special_Promotions.png');
  396. background-repeat: no-repeat;
  397. background-size: 69px 252px;
  398. background-position: 25px 50%;
  399. }
  400.  
  401. .promotionac ul {
  402. display: inline-block;
  403. border: 1px solid black;
  404. margin: 35px 10px 35px 0px;
  405. padding : 0px;
  406. background-color: grey;
  407. background-image: url( );
  408. background-repeat: no-repeat;
  409. width: 200px;
  410. height: 290px;
  411.  
  412. }
  413.  
  414. .promotionac ul li {
  415. padding-top: 5px;
  416.  
  417. }
  418.  
  419. .ancprix {
  420. text-decoration : inherit;
  421. text-decoration: line-through;
  422. }
  423.  
  424. .promotionac .cclk {
  425. /* text-decoration: inherit; */
  426. color: white;
  427. font-weight: bold;
  428.  
  429. }
  430.  
  431. .nvprix {
  432. font-style: italic;
  433. font-weight: bold;
  434. font-size: 22px;
  435. color: #FF0040;
  436. text-shadow: 0px 0px 10px white;
  437. margin-left: 20px;
  438. }
  439.  
  440. .imgpr {
  441.  
  442. background-size: 200px 200px;
  443. min-height:190px;
  444. min-width: 200px;
  445. border-bottom: 1px solid black;
  446. }
  447.  
  448. .imgpr {
  449.  
  450. background-repeat: no-repeat;
  451. }
  452.  
  453.  
  454. .narguile-fumo-jar .imgpr {
  455.  
  456. background-image: url('Produits/Chichas/narguile-fumo-jar.jpg');
  457. }
  458. .chicha-amy-deluxe-smoky .imgpr {
  459. background-image: url('Produits/Chichas/chicha-amy-deluxe-smoky.jpg');
  460. }
  461.  
  462. .chicha-oduman-n3 .imgpr {
  463. background-image: url('Produits/Chichas/chicha-oduman-n3.jpg');
  464. }
  465.  
  466. .tuyau-xl-amy-gold .imgpr {
  467. background-image: url('Produits/Tuyaux/tuyau-xl-amy-gold.jpg');
  468. }
  469.  
  470. .charbon-naturel-amy-gold-500g .imgpr {
  471. background-image: url('Produits/Charbons/charbon-naturel-amy-gold-500g.jpg');
  472. }
  473.  
  474. /*******************/
  475.  
  476. .prod {
  477. display: block;
  478. overflow: hidden;
  479. }
  480.  
  481. .prod table:hover{
  482. border: 3px solid black;
  483. padding: 2px;
  484. }
  485.  
  486.  
  487. .prod table {
  488. display: block;
  489. margin: 40px 20px 40px 20px;
  490. padding: 5px;
  491. height: 215px;
  492. table-layout:fixed;
  493. background-color: grey;
  494. border-radius: 8px;
  495. overflow: hidden;
  496. }
  497.  
  498. .prod .imgpr {
  499. border-radius: 8px;
  500. height:198px;
  501. }
  502.  
  503. .prod .desct {
  504. text-align: center;
  505. width: 70%;
  506. }
  507.  
  508. .prod .titt {
  509. font-weight: bold;
  510. }
  511.  
  512.  
  513. .prod p {
  514. text-align: left;
  515. margin-left: 50px;
  516.  
  517. }
  518.  
  519. .prod .prixt {
  520. text-align: right;
  521. width: 30%;
  522. font-size: 30px;
  523. padding-right: 20px;
  524. vertical-align: middle;
  525. }
  526.  
  527.  
  528.  
  529. .prixt a {
  530. margin-left: 10px;
  531. display: inline-block;
  532. list-style-type: none;
  533. margin-top: 80px;
  534. }
  535.  
  536. .comment {
  537. background-image: url('comment.png');
  538. background-repeat: no-repeat;
  539. min-width: 50px;
  540. min-height: 50px;
  541. }
  542.  
  543.  
  544. .paanier {
  545. background-image: url('stack.png');
  546. background-repeat: no-repeat;
  547. min-width: 50px;
  548. min-height: 50px;
  549. }
  550.  
  551.  
  552. /*********** PANIER *********/
  553.  
  554. .paniera {
  555.  
  556. border: 1px solid black;
  557. margin: 0 auto;
  558. margin-top: 20px;
  559. width: 850px;
  560. background-color: rgb(230,230,230);
  561. border-collapse: collapse;
  562.  
  563. }
  564.  
  565. .paniera td {
  566. border-bottom: 1px solid black;
  567. padding: 3px;
  568. }
  569.  
  570.  
  571.  
  572.  
  573. .paniera td:last-child {
  574.  
  575. text-align: right;
  576. }
  577.  
  578.  
  579. .paniera tr:first-child {
  580.  
  581. font-weight: bold;
  582. background-color: rgb(200,200,200);
  583. }
  584.  
  585. .paniera tr:last-child td:last-child {
  586. font-weight: bold;
  587.  
  588. }
  589.  
  590. #cmdd {
  591. margin: 10px 100px 10px 100px;
  592. float: right;
  593.  
  594. }
  595.  
  596. /****************/
  597.  
  598.  
  599. /* FORMULAIRE */
  600. .formlr {
  601.  
  602. background-color: grey;
  603. padding : 10px;
  604. margin: 50px auto;
  605. width: 600px;
  606. height: 400px;
  607.  
  608. }
  609.  
  610. .formlr p {
  611. text-decoration: inherit;
  612. text-align: center;
  613. font-weight: bold;
  614.  
  615. }
  616.  
  617. .formlr .infos{
  618.  
  619. margin: 20px;
  620.  
  621. }
  622.  
  623. .formlr .cmtt {
  624.  
  625. float: right;
  626. width: 600px;
  627. height: 50px;
  628. max-width:560px;
  629. }
  630.  
  631.  
  632. .cmt2 {
  633. margin-top:10px;
  634. float: right;
  635. width: 560px;
  636. height: 180px;
  637. max-height:180px;
  638. max-width:560px;
  639.  
  640. }
  641. .formlr [type=text] {
  642.  
  643. float: right;
  644. width: 300px;
  645. }
  646.  
  647. /***** FOOT *******/
  648. .b3, .bn3 {
  649. font-size:15px;
  650. text-decoration: inherit;
  651. color: black;
  652. padding: 0px 5px 0px 5px;
  653. text-align: center;
  654. }
  655.  
  656.  
  657. .bn3:hover {
  658.  
  659. color: white;
  660.  
  661. }
  662.  
  663. .barref {
  664. text-align:center;
  665. background-color: rgba(80,80,80, 0.5);
  666. padding-top: 5px;
  667. padding-bottom: 5px;
  668. }
  669.  
  670.  
  671.  
  672. #connect, #inscrip, #info {
  673. display: none;
  674. visibility: hidden;
  675.  
  676. }
  677.  
  678. #connect:target, #inscrip:target, #info:target {
  679. display: inline-block;
  680. visibility: visible;
  681. position: fixed;
  682. z-index: 1;
  683. }
  684.  
  685. .block{
  686. background-color : white;
  687. padding : 10px;
  688. font: 15px Verdana,sans-serif;
  689. border: 3px solid grey;
  690. border-radius: 7px;
  691. margin : 15% 25% 10% 25%;
  692. width : 50%;
  693. }
  694.  
  695.  
  696. .block h1 {
  697. text-align : center;
  698. margin: 30px 0px 50px 0px;
  699. }
  700. .block .co { text-align : center;}
  701.  
  702. .block .logs {
  703. display : inline-block;
  704. width : 200px;
  705. text-align : center;
  706. }
  707.  
  708. .co {
  709. margin: 0 auto;
  710. width: 500px;
  711. }
  712.  
  713. #ins {
  714. padding: 3px;
  715. width: 100%;
  716. border: 0 solid black;
  717. }
  718. #ins td{ padding: 10px; }
  719. #ins td:first-child { text-align:left; }
  720. #ins td:last-child { width: 300px; text-align:right; }
  721.  
  722. #connectionb { margin : 25px 0px 10px 0px; }
  723.  
  724. #connect #ret, #inscrip #ret, #info:target #ret { color: black; text-decoration: inherit; }
  725.  
  726.  
  727. .cmde {
  728. margin: 100px;
  729. border : 1px solid black;
  730. border-radius : 5px;
  731. padding: 15px;
  732. background-color: white;
  733. width: 400px;
  734. }
  735.  
  736. .cmde tr, .cmde td{ margin: 100px;}
  737. .cmde td:last-child{ margin: 10px; text-align: right;}
  738. .cmde .buttonb{ margin-top: 10px; text-align: right; float:right;}
  739.  
  740.  
  741.  
  742. #gbr {
  743. margin-top: 5px;
  744. position : absolute;
  745. top: 0px;
  746. right: 0px;
  747. float : right;
  748. }
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755. #menu-bar li {
  756. margin: 0px 0px 6px 0px;
  757. padding: 0px 6px 0px 6px;
  758. float: left;
  759. position: relative;
  760. list-style: none;
  761. }
  762. #menu-bar a {
  763. text-decoration: none;
  764. display: block;
  765. padding: 3px 10px;
  766. margin: 0;
  767. margin-bottom: 6px;
  768. }
  769. #menu-bar li ul li a {
  770. margin: 0;
  771. }
  772. #menu-bar .active a, #menu-bar li:hover > a {
  773. background: #DDDDDD ;
  774. color: #444444;
  775.  
  776. }
  777. #menu-bar ul li:hover a, #menu-bar li:hover li a {
  778. background: none;
  779. border: none;
  780. color: #666;
  781. padding: 10px;
  782. }
  783. #menu-bar ul a:hover {
  784. background: grey !important;
  785. border-radius: 10px;
  786. }
  787. #menu-bar li:hover > ul {
  788.  
  789. display: block;
  790. }
  791. #menu-bar ul {
  792. background: #DDDDDD;
  793. display: none;
  794. margin: 0;
  795. padding: 0;
  796.  
  797. position: absolute;
  798. top: 30px;
  799. left: 0;
  800. border: solid 1px #B4B4B4;
  801. border-radius: 10px;
  802. }
  803. #menu-bar ul li {
  804.  
  805. float: none;
  806. margin: 0;
  807. padding: 0;
  808. }
  809. #menu-bar ul a{
  810. padding:10px 0px 10px 15px;
  811. color:#FF0040 !important;
  812. font-size:12px;
  813. font-style:normal;
  814. font-family:arial;
  815. font-weight: normal;
  816. text-shadow: 2px 2px 3px #FFFFFF;
  817. }
  818.  
  819. #menu-bar ul input {
  820. border: none;
  821. background: none;
  822. display : inline-block;
  823. text-decoration: inherit;
  824. }
  825. #menu-bar:after {
  826. content: ".";
  827. display: block;
  828. clear: both;
  829. visibility: hidden;
  830. line-height: 0;
  831. height: 0;
  832. }
  833. #menu-bar {
  834. display: inline-block;
  835. }
  836. html[xmlns] #menu-bar {
  837. display: block;
  838. }
  839. * html #menu-bar {
  840. height: 1%;
  841. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement