Advertisement
Matancy

CSS OpenNote

Dec 8th, 2018
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.98 KB | None | 0 0
  1. /*----------------------------------*/
  2. /* BODY */
  3. /*----------------------------------*/
  4. body {
  5. background-color: indianred;
  6. font-family: 'Roboto';
  7. margin: 0;
  8. padding: 0;
  9. }
  10.  
  11. li {
  12. text-decoration: none;
  13. }
  14.  
  15. a {
  16. text-decoration: none;
  17. color: black;
  18. }
  19.  
  20. /*----------------------------------*/
  21. /* HEADER */
  22. /*----------------------------------*/
  23. .HEADER_bloc {
  24. position: fixed;
  25. top: 0;
  26. left: 0;
  27. right: 0;
  28. height: 66px;
  29. width: 100%;
  30. z-index: 1000;
  31. color: #6D7A8B;
  32. font-size: 14px;
  33. background: #982C33;
  34. box-shadow: 0 10px 10px rgba(109, 122, 139, .1);
  35. backface-visibility: hidden;
  36. font-family: 'Roboto';
  37. }
  38.  
  39. .HEADER_logo {
  40. margin: 0 auto;
  41. float: left;
  42. }
  43.  
  44. .HEADER_logo img {
  45. width: 66px;
  46. height: 66px;
  47. }
  48.  
  49. .HEADER_menu ul {
  50. margin: 0;
  51. padding: 0;
  52. list-style-type: none;
  53. text-align: center;
  54. }
  55.  
  56. .HEADER_menu li {
  57. float: left;
  58. height: 66px;
  59. line-height: 66px;
  60. color: #FFFFFF;
  61. font-weight: 700;
  62. text-decoration: none;
  63. }
  64.  
  65. .HEADER_menu li a {
  66. display: block;
  67. float: left;
  68. height: 66px;
  69. line-height: 66px;
  70. color: #FFFFFF;
  71. font-weight: 700;
  72. text-decoration: none;
  73. width: 120px;
  74. }
  75.  
  76. .HEADER_menu li a:hover {
  77. transition-duration: .3s;
  78. color: #6D7A8B;
  79. }
  80.  
  81. .HEADER_menu ul li ul {
  82. display: none;
  83. }
  84.  
  85. .HEADER_menu ul li:hover ul {
  86. display: block;
  87. }
  88.  
  89. .HEADER_menu ul li:active ul {
  90. display: block;
  91. }
  92.  
  93. .HEADER_menu li:hover ul li {
  94. float: none;
  95. }
  96.  
  97. .HEADER_sous_menu {
  98. height: 25px;
  99. line-height: 25px;
  100. color: #FFFFFF;
  101. text-decoration: none;
  102. background: #404852;
  103. }
  104.  
  105. .HEADER_sous_menu:hover {
  106. background-color: #718792;
  107. color: #FFFFFF !important;
  108. }
  109.  
  110. .HEADER_member {
  111. float: right;
  112. }
  113.  
  114. .HEADER_sous_member {
  115. display: block;
  116. float: left;
  117. height: 66px;
  118. padding: 0 15px;
  119. line-height: 66px;
  120. color: #FFFFFF;
  121. font-weight: 700;
  122. text-decoration: none;
  123. }
  124.  
  125. .HEADER_sous_member:hover {
  126. transition-duration: .3s;
  127. color: #6D7A8B;
  128. }
  129.  
  130. .HEADER_admin_menu {
  131. width: 15%;
  132. height: 100%;
  133. background-color: #404852;
  134. position: fixed;
  135. margin-top: -75px;
  136. z-index: 10000;
  137. }
  138.  
  139. .HEADER_admin_sous_menu {
  140. font-size: 20px;
  141. color: white;
  142. text-decoration: none;
  143. display: flex;
  144. flex-direction: column;
  145. padding: 10px;
  146. z-index: 10000;
  147. }
  148.  
  149. .HEADER_admin_sous_menu:hover {
  150. background-color: #718792;
  151. }
  152.  
  153. /*----------------------------------*/
  154. /* HEADER */
  155. /*----------------------------------*/
  156. .MENU_contextuel {
  157. visibility: hidden;
  158. width: 100px;
  159. height: auto;
  160. background-color: #FFFFFF;
  161. box-shadow: 1px 1px 12px #555555;
  162. position: absolute;
  163. cursor: pointer;
  164. }
  165.  
  166. .MENU_contextuel_element {
  167. visibility: hidden;
  168. width: 100%;
  169. height: 20px;
  170. }
  171.  
  172. /*----------------------------------*/
  173. /* MESSAGES */
  174. /*----------------------------------*/
  175. .MESSAGE_error {
  176. position: fixed;
  177. top: 0;
  178. left: 0;
  179. right: 0;
  180. height: 120px;
  181. width: 100%;
  182. z-index: 10000;
  183. font-size: 14px;
  184. background: #D50000;
  185. box-shadow: 0 2px 10px rgba(109, 122, 139, .1);
  186. backface-visibility: hidden;
  187. color: black;
  188. }
  189.  
  190. .MESSAGE_success {
  191. position: fixed;
  192. top: 0;
  193. left: 0;
  194. right: 0;
  195. height: 120px;
  196. width: 100%;
  197. z-index: 10000;
  198. font-size: 14px;
  199. background: #00C853;
  200. box-shadow: 0 2px 10px rgba(109, 122, 139, .1);
  201. backface-visibility: hidden;
  202. color: black;
  203. }
  204.  
  205. /*----------------------------------*/
  206. /* IMAGES DE FOND */
  207. /*----------------------------------*/
  208. .BACKGROUNDS_fullscreen {
  209. margin-top: 66px;
  210. }
  211.  
  212. .BACKGROUND_index1 {
  213. background-image: url("../IMG/accueil/img1.jpg");
  214. background-size: cover;
  215. background-position: 50% 50%;
  216. background-repeat: no-repeat;
  217. width: 100%;
  218. height: 800px;
  219. position: relative;
  220.  
  221. }
  222.  
  223. .BACKGROUND_index2 {
  224. background-image: url("../IMG/accueil/img2.jpg");
  225. background-size: cover;
  226. background-position: 50% 50%;
  227. background-repeat: no-repeat;
  228. width: 100%;
  229. height: 800px;
  230. position: relative;
  231. }
  232.  
  233. .BACKGROUND_index3 {
  234. background-image: url("../IMG/accueil/img3.jpg");
  235. background-size: cover;
  236. background-position: 50% 50%;
  237. background-repeat: no-repeat;
  238. width: 100%;
  239. height: 800px;
  240. position: relative;
  241. }
  242.  
  243. .BACKGROUND_message {
  244. width: 50%;
  245. height: auto;
  246. position: relative;
  247. margin: 0 auto;
  248. top: 40%;
  249. transform: translateY(-60%);
  250. }
  251.  
  252. .BACKGROUND_message h1 {
  253. color: indianred;
  254. font-size: 56px;
  255. }
  256.  
  257. /*----------------------------------*/
  258. /* INPUTS */
  259. /*----------------------------------*/
  260. .INPUT_btn {
  261. display: inline-block;
  262. -webkit-box-sizing: content-box;
  263. -moz-box-sizing: content-box;
  264. box-sizing: content-box;
  265. cursor: pointer;
  266. padding: 10px 20px;
  267. border: 1px solid #018DC4;
  268. -webkit-border-radius: 3px;
  269. border-radius: 3px;
  270. font: normal 19px/normal "Times New Roman", Times, serif;
  271. color: rgba(0, 0, 0, 0.9);
  272. -o-text-overflow: clip;
  273. text-overflow: clip;
  274. background: #FFFFFF;
  275. -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  276. -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  277. -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  278. transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  279. }
  280.  
  281. .INPUT_btn:hover {
  282. color: white;
  283. background-color: grey;
  284. transition: 1s;
  285. }
  286.  
  287. .INPUT_btn2 {
  288. border: none;
  289. display: inline-block;
  290. padding: 8px 16px;
  291. vertical-align: middle;
  292. overflow: hidden;
  293. text-decoration: none;
  294. color: inherit;
  295. background-color: inherit;
  296. text-align: center;
  297. cursor: pointer;
  298. white-space: nowrap;
  299. color: #FFFFFF;
  300. background-color: #4CAF50;
  301. margin: 10px;
  302. }
  303.  
  304. .INPUT_btn2:hover {
  305. box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
  306. }
  307.  
  308. .INPUT_btn3 {
  309. text-decoration: none;
  310. font-size: 20px;
  311. background-color: #EEEEEE;
  312. color: black;
  313. border-radius: 5px;
  314. display: flex;
  315. flex-direction: column;
  316. }
  317.  
  318. .INPUT_btn4 {
  319. background-color: #EEEEEE;
  320. font-size: 20px;
  321. text-decoration: none;
  322. color: black;
  323. padding: 5px;
  324. border-radius: 5px;
  325. display: flex;
  326. flex-direction: column;
  327. }
  328.  
  329. .INPUT_text {
  330. padding: 8px;
  331. display: block;
  332. border: none;
  333. border-bottom: 1px solid black;
  334. width: 40%;
  335. background-color: #2998CD;
  336. }
  337.  
  338. .INPUT_text2 {
  339. width: 200px;
  340. display: inline-block;
  341. -webkit-box-sizing: content-box;
  342. -moz-box-sizing: content-box;
  343. box-sizing: content-box;
  344. padding: 10px 20px;
  345. border: 1px solid #B7B7B7;
  346. -webkit-border-radius: 3px;
  347. border-radius: 3px;
  348. font: normal 16px/normal "Times New Roman", Times, serif;
  349. color: rgba(0, 142, 198, 1);
  350. -o-text-overflow: clip;
  351. text-overflow: clip;
  352. background: rgba(252, 252, 252, 1);
  353. -webkit-box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2) inset;
  354. box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2) inset;
  355. text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.66);
  356. -webkit-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  357. -moz-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  358. -o-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  359. transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  360. }
  361.  
  362. .INPUT_text3 {
  363. padding: 8px;
  364. display: block;
  365. border: none;
  366. border-bottom: 1px solid black;
  367. width: 99%;
  368. background-color: #EEEEEE;
  369. }
  370.  
  371. /*----------------------------------*/
  372. /* CONTAINER */
  373. /*----------------------------------*/
  374. .CONTAINER_admin {
  375. width: 85%;
  376. height: auto;
  377. margin-left: 15%;
  378. margin-top: 100px;
  379. text-align: center;
  380. }
  381.  
  382. .CONTAINER_20 {
  383. width: 20%;
  384. height: auto;
  385. margin: auto;
  386. }
  387.  
  388. .CONTAINER_30 {
  389. width: 30%;
  390. height: auto;
  391. margin: auto;
  392. }
  393.  
  394. .CONTAINER_40 {
  395. width: 40%;
  396. height: auto;
  397. margin: auto;
  398. }
  399.  
  400. .CONTAINER_50 {
  401. width: 50%;
  402. height: auto;
  403. margin: auto;
  404. }
  405.  
  406. .CONTAINER_60 {
  407. width: 60%;
  408. height: auto;
  409. margin: auto;
  410. }
  411.  
  412. .CONTAINER_70 {
  413. width: 70%;
  414. height: auto;
  415. margin: auto;
  416. }
  417.  
  418. .CONTAINER_80 {
  419. width: 80%;
  420. height: auto;
  421. margin: auto;
  422. }
  423.  
  424. .CONTAINER_90 {
  425. width: 90%;
  426. height: auto;
  427. margin: auto;
  428. }
  429.  
  430. .CONTAINER_100 {
  431. width: 100%;
  432. height: auto;
  433. margin: auto;
  434. }
  435.  
  436. .CONTAINER_left_9 {
  437. width: 9%;
  438. height: auto;
  439. float: left;
  440. }
  441.  
  442. .CONTAINER_right_89 {
  443. width: 89%;
  444. height: auto;
  445. float: right;
  446. }
  447.  
  448. .CONTAINER_left_19 {
  449. width: 19%;
  450. height: auto;
  451. float: left;
  452. }
  453.  
  454. .CONTAINER_right_79 {
  455. width: 79%;
  456. height: auto;
  457. float: right;
  458. }
  459.  
  460. .CONTAINER_left_29 {
  461. width: 29%;
  462. height: auto;
  463. float: left;
  464. }
  465.  
  466. .CONTAINER_right_69 {
  467. width: 69%;
  468. height: auto;
  469. float: right;
  470. }
  471.  
  472. .CONTAINER_left_50 {
  473. width: 50%;
  474. height: auto;
  475. float: left;
  476. margin: 0;
  477. }
  478. .CONTAINER_right_50 {
  479. width: 50%;
  480. height: auto;
  481. float: right;
  482. margin: 0;
  483. }
  484.  
  485. .CONTAINER_height_500 {
  486. min-height: 500px;
  487. }
  488.  
  489. .CONTAINER_height_150 {
  490. height: 150px;
  491. }
  492.  
  493. .CONTAINER_fly_back {
  494. position: absolute;
  495. z-index: 1;
  496. left: 0;
  497. top: 0;
  498. width: 100%;
  499. height: 100%;
  500. background-color: rgb(0, 0, 0);
  501. background-color: rgba(0, 0, 0, 0.4);
  502. }
  503.  
  504. .CONTAINER_fly {
  505. background-color: #FEFEFE;
  506. margin: auto;
  507. margin-top: 66px;
  508. padding: 20px;
  509. border: 1px solid #888888;
  510. width: 80%;
  511. }
  512.  
  513. .CONTAINER_center {
  514. text-align: center;
  515. }
  516. .CONTAINER_div_center {
  517. margin: auto;
  518. }
  519.  
  520. .CONTAINER_white {
  521. background-color: #FFFFFF;
  522. box-shadow: 1px 1px 12px #555555;
  523. }
  524.  
  525. .CONTAINER_grey {
  526. background-color: #EEEEEE;
  527. box-shadow: 1px 1px 12px #555555;
  528. }
  529.  
  530. /*----------------------------------*/
  531. /* TUILE */
  532. /*----------------------------------*/
  533. .TUILE_bloc {
  534. width: 30%;
  535. height: 300px;
  536. float: left;
  537. overflow: hidden;
  538. text-decoration: none;
  539. color: black;
  540. background: #EEEEEE;
  541. border-radius: 2px;
  542. display: inline-block;
  543. margin: 1%;
  544. position: relative;
  545. box-shadow: 1px 1px 12px #555555;
  546. transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  547. }
  548.  
  549. .TUILE_bloc:hover {
  550. box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  551. }
  552.  
  553. .TUILE_bloc a {
  554. text-decoration: none;
  555. color: black;
  556. }
  557.  
  558. .TUILE_img img {
  559. width: auto;
  560. height: 100px;
  561. float: left;
  562. }
  563.  
  564. .TUILE_img {
  565. display: inline-block;
  566. }
  567.  
  568. .TUILE_titre h1 {
  569. font-size: 25px;
  570. text-align: center;
  571. }
  572.  
  573. .TUILE_titre {
  574. width: 100%;
  575. height: 200px;
  576. display: block;
  577. }
  578.  
  579. .TUILE_bulle span {
  580. display: none;
  581. color: #FFFFFF;
  582. background: rgba(51, 51, 51, 0.75);
  583. padding: 20px;
  584. border-radius: 4px;
  585. -moz-border-radius: 4px;
  586. -webkit-border-radius: 4px;
  587. width: 100%;
  588. text-align: center;
  589. position: absolute;
  590. z-index: 1000;
  591. top: 40%;
  592. }
  593.  
  594. .TUILE_bulle:hover span {
  595. display: block;
  596. }
  597.  
  598. .TUILE_bloc_ncolor {
  599. width: 30%;
  600. height: 300px;
  601. overflow: hidden;
  602. text-decoration: none;
  603. color: black;
  604. display: inline-block;
  605. margin: 1%;
  606. position: relative;
  607. }
  608.  
  609. .TUILE_bloc_ncolor a {
  610. text-decoration: none;
  611. color: black;
  612. }
  613.  
  614. .TUILE_bloc_ncolor h1 {
  615. font-size: 50px;
  616. }
  617. /*----------------------------------*/
  618. /* FICHES QUEST */
  619. /*----------------------------------*/
  620. .FICHESQUEST_bloc {
  621. width: 25%;
  622. height: 200px;
  623. float: left;
  624. overflow: scroll;
  625. text-decoration: none;
  626. color: black;
  627. background: #EEEEEE;
  628. border-radius: 2px;
  629. display: inline-block;
  630. margin: 1%;
  631. position: relative;
  632. box-shadow: 1px 1px 12px #555555;
  633. transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  634. text-align: left;
  635. }
  636. .FICHESQUEST_bloc p {
  637. margin: 10px;
  638. }
  639. /*----------------------------------*/
  640. /* APP */
  641. /*----------------------------------*/
  642. .APP_tuile {
  643. width: 8%;
  644. height: 150px;
  645. float: left;
  646. margin: 2%;
  647. }
  648.  
  649. .APP_tuile h1 {
  650. font-size: 15px;
  651. text-align: center;
  652. }
  653.  
  654. .APP_tuile img {
  655. width: 100%;
  656. height: auto;
  657. }
  658.  
  659. .APP_tuile_folder {
  660. width: 100px;
  661. height: 150px;
  662. float: left;
  663. margin-left: 10px;
  664. }
  665.  
  666. .APP_tuile_folder h1 {
  667. font-size: 14px;
  668. text-align: center;
  669. word-wrap: break-word;
  670. }
  671.  
  672. .APP_tuile_folder img {
  673. width: 100%;
  674. height: auto;
  675. }
  676.  
  677. /*----------------------------------*/
  678. /* SWITCH */
  679. /*----------------------------------*/
  680. .SWITCH {
  681. display: none;
  682. }
  683.  
  684. .SWITCH:target {
  685. display: block;
  686. }
  687.  
  688. /*----------------------------------*/
  689. /* BORDER */
  690. /*----------------------------------*/
  691. .BORDER_1px {
  692. border: 1px solid #EEEEEE;
  693. }
  694.  
  695. .BORDER_10px_blue {
  696. background-color: #006A9C;
  697. border-radius: 10px;
  698. border-style: dashed;
  699. padding: 15px;
  700. }
  701.  
  702. /*----------------------------------*/
  703. /* OVERFLOW */
  704. /*----------------------------------*/
  705. .OVERFLOW_hidden {
  706. overflow: hidden;
  707. }
  708.  
  709. /*----------------------------------*/
  710. /* BULLE */
  711. /*----------------------------------*/
  712. .BULLE_gris span {
  713. display: none;
  714. color: #FFFFFF;
  715. background: rgba(51, 51, 51, 0.75);
  716. padding: 20px;
  717. border-radius: 4px;
  718. -moz-border-radius: 4px;
  719. -webkit-border-radius: 4px;
  720. width: 250px;
  721. text-align: center;
  722. position: absolute;
  723. z-index: 1000;
  724. top: 40%;
  725. left: 50%;
  726. }
  727.  
  728. .BULLE_gris:hover span {
  729. display: block;
  730. }
  731.  
  732. .BULLE_info {
  733. display: inline;
  734. position: relative;
  735. }
  736.  
  737. .BULLE_info img {
  738. width: 20px;
  739. margin-left: 5px;
  740. height: auto;
  741. }
  742.  
  743. .BULLE_info:hover:after {
  744. background: #333333;
  745. background: rgba(0, 0, 0, .8);
  746. border-radius: 5px;
  747. bottom: 26px;
  748. color: #FFFFFF;
  749. content: attr(title);
  750. left: 50%;
  751. padding: 5px 15px;
  752. position: absolute;
  753. z-index: 98;
  754. width: 220px;
  755. }
  756.  
  757. .BULLE_info:hover:before {
  758. border: solid;
  759. border-color: #333333 transparent;
  760. border-width: 6px 6px 0 6px;
  761. bottom: 20px;
  762. content: "";
  763. left: 80%;
  764. position: absolute;
  765. z-index: 99;
  766. }
  767.  
  768. /*----------------------------------*/
  769. /* MARGIN */
  770. /*----------------------------------*/
  771. .MARGIN_10px_p p {
  772. margin: 10px;
  773. }
  774.  
  775. .MARGIN_20px_p p {
  776. margin: 20px;
  777. }
  778.  
  779. .ACTU {
  780. width: 90%;
  781. height: 150px;
  782. overflow: hidden;
  783. margin: auto;
  784. }
  785.  
  786. /*----------------------------------*/
  787. /* PADDING */
  788. /*----------------------------------*/
  789. .PADDING_5px {
  790. padding: 5px;
  791. }
  792.  
  793. /*----------------------------------*/
  794. /* IMAGE */
  795. /*----------------------------------*/
  796. .IMG_50px img {
  797. width: 50px;
  798. }
  799.  
  800. .IMG_100px img {
  801. width: 100px;
  802. }
  803.  
  804. .IMG_display_inline {
  805. display: inline-block;
  806. }
  807.  
  808. /*----------------------------------*/
  809. /* TITRE */
  810. /*----------------------------------*/
  811. .TITRE_bandeau_green {
  812. color: #FFFFFF !important;
  813. background-color: #4CAF50 !important;
  814. box-shadow: 1px 1px 12px #555555;
  815. padding: 0.01em 16px;
  816.  
  817. }
  818.  
  819. .TITRE_bandeau_green h2 {
  820. padding: 25px;
  821. margin: 0 auto;
  822. }
  823.  
  824. /*----------------------------------*/
  825. /* TEXTE */
  826. /*----------------------------------*/
  827. .TEXTE_15px p {
  828. font-size: 15px;
  829. }
  830.  
  831. .TEXTE_20px p {
  832. font-size: 20px;
  833. }
  834.  
  835. /*----------------------------------*/
  836. /* TABLE */
  837. /*----------------------------------*/
  838. .TABLE_classique {
  839. margin: 0 auto 0;
  840. border-collapse: collapse;
  841. width: 100%;
  842. }
  843.  
  844. .TABLE_classique td {
  845. font-size: 14px;
  846. font-weight: normal;
  847. padding: 30px;
  848. text-align: center;
  849. color: #727888;
  850. background-color: #F2F2F6;
  851. width: 18%;
  852. }
  853. .TABLE_hover:hover {
  854. background-color: #e0e0e0;
  855. transition: 1s;
  856. z-index: auto;
  857. }
  858.  
  859. /*----------------------------------*/
  860. /* FOOTER */
  861. /*----------------------------------*/
  862. .copyright {
  863. width: 100%;
  864. height: auto;
  865. position: relative;
  866. bottom: 0px;
  867. margin-bottom: 0px;
  868. background-color: indianred;
  869. }
  870.  
  871. .copyright h2 {
  872. color: #FFFFFF;
  873. text-align: center;
  874. padding-top: 20px;
  875. padding-bottom: 10px;
  876. margin: 0;
  877. font-size: 15px;
  878. }
  879.  
  880. .copyright p {
  881. color: #FFFFFF;
  882. text-align: center;
  883. font-size: 15px;
  884. }
  885.  
  886. .copyright a {
  887. color: #FFFFFF;
  888. text-align: center;
  889. font-size: 15px;
  890. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement