Advertisement
Guest User

main.css

a guest
Jul 31st, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 10.89 KB | None | 0 0
  1.  
  2. /* =======================================
  3.     Global
  4.    ======================================= */
  5.  
  6. * {
  7.     margin: 0;
  8.     padding: 0;
  9. }
  10.  
  11. body, html {
  12.     height: 100%;
  13. }
  14.  
  15. body {
  16.     background-color: #34495e;
  17.     background-image: url('../img/background.png');
  18.     background-position: 50% 50%;
  19.     background-size: cover;
  20.     background-repeat: no-repeat;
  21.     background-attachment: fixed;
  22.     -webkit-transition: background 1s;
  23.     transition: background 1s;
  24.     font-family: "Lato", Arial;
  25.     color: #FCFCFC;
  26.     overflow: hidden;
  27. }
  28.  
  29. #main, #pay {
  30.     height: 100%;
  31.     width: 100%;
  32.     position: absolute;
  33.     transition: all 1s;
  34. }
  35.  
  36. div.quit {
  37.     -webkit-transform: scale(0);
  38.     -moz-transform: scale(0);
  39.     -ms-transform: scale(0);
  40.     -o-transform: scale(0);
  41.     transform: scale(0);
  42.     -webkit-animation: webkitTransform 1s;
  43.     transition: 0.1s;
  44.     transition: 0.1s !important;
  45. }
  46.  
  47. /* =======================================
  48.     Elements
  49.    ======================================= */
  50.  
  51. .button {
  52.     border: 2px solid white;
  53.     background: rgba(0,0,0,0.1);
  54.     border-radius: 5px;
  55.     padding: 4px 8px;
  56.     transition: background 0.3s;
  57. }
  58.  
  59. .button:hover {
  60.     background: rgba(0,0,0,0.5);
  61. }
  62.  
  63. .btn {
  64.     border: 1px solid transparent;
  65.     padding: 7px 12px 8px 12px;
  66.     font-size: 15px;
  67.     color: white;
  68.     margin-left: 5px;
  69.     border-radius: 4px;
  70.     margin: 0;
  71. }
  72.  
  73. .btn-o {
  74.     background-color: #fff;
  75.     border-color: #ccc;
  76.     color: #333 !important;
  77. }
  78.  
  79. .btn-o:hover {
  80.     background-color: #ebebeb;
  81.     border-color: #adadad;
  82. }
  83.  
  84. .btn.form {
  85.     margin-left: 15px;
  86. }
  87.  
  88. .btn-success {
  89.     background-color: #5cb85c;
  90.     border-color: #4cae4c;
  91. }
  92.  
  93. .btn-success[disabled], .btn-success[disabled]:hover {
  94.     opacity: 0.7;
  95.     background-color: #5cb85c;
  96.     border-color: #4cae4c;
  97. }
  98.  
  99. .btn-success:hover {
  100.     background-color: #47a447;
  101.     border-color: #398439;
  102. }
  103.  
  104. .btn-error, .btn-danger {
  105.     background-color: #d9534f;
  106.     border-color: #d43f3a;
  107. }
  108.  
  109. .btn-error:hover, .btn-danger:hover {
  110.     background-color: #d2322d;
  111.     border-color: #ac2925;
  112. }
  113.  
  114. .spacer-10 { margin-top: 10px; }
  115.  
  116. .spacer-20 { margin-top: 20px; }
  117.  
  118. .spacer-30 { margin-top: 30px; }
  119.  
  120. .mobile {
  121.     display: none;
  122. }
  123.  
  124. .input.form {
  125.     padding: 6px 12px;
  126.     font-size: 14px;
  127.     line-height: 1.42857143;
  128.     color: #555;
  129.     background-color: #fff;
  130.     background-image: none;
  131.     border: 1px solid #ccc;
  132.     border-radius: 4px;
  133.     -webkit-box-sizing: border-box;
  134.     -moz-box-sizing: border-box;
  135.     box-sizing: border-box;
  136. }
  137.  
  138. .full-width {
  139.     width: 100%;
  140.     width: 100% !important;
  141. }
  142.  
  143. .hide {
  144.     display: none;
  145. }
  146.  
  147. .half-left {
  148.     width: 47.841%;
  149.     display: inline;
  150.     float: left;
  151. }
  152.  
  153. .half-centre {
  154.     float: centre;
  155.  
  156. }
  157.  
  158. .half-right {
  159.     float: right;
  160. }
  161.  
  162. .text-left {
  163.     text-align: left;
  164. }
  165.  
  166. .text-right {
  167.     text-align: right;
  168. }
  169.  
  170. .text-center {
  171.     text-align: center;
  172. }
  173.  
  174. .clearfix {
  175.     clear: both;
  176. }
  177.  
  178. .clearfix:before, .clearfix:after {
  179. content: " ";
  180. display: table;
  181. }
  182.  
  183. /* =======================================
  184.     Mise en forme: typographie
  185.    ======================================= */
  186.  
  187. h1 {
  188.     font-size: 150px;
  189.     font-weight: 300;
  190.     text-transform: uppercase;
  191.     margin: 0;
  192.     padding: 0;
  193. }
  194.  
  195. h2 {
  196.     font-size: 60px;
  197.     font-weight: 100;
  198.     text-transform: uppercase;
  199.     margin: 0;
  200.     padding: 0;
  201. }
  202.  
  203. h3 {
  204.     font-size: 25px;
  205.     font-weight: 500;
  206.     text-transform: uppercase;
  207.     margin: 10px 0 0 0;
  208.     padding: 0;
  209. }
  210.  
  211. h4 {
  212.     font-size: 20px;
  213. }
  214.  
  215. img#ad {
  216.     display: none;
  217. }
  218.  
  219. a, a:hover, a:visited, a:focus, a:active {
  220.     color: white;
  221.     text-decoration: none;
  222. }
  223.  
  224. /* =======================================
  225.     Mise en forme: tableau centré
  226.    ======================================= */
  227.  
  228. body > div > table {
  229.     height: 100%;
  230.     width: 100%;
  231.     border-collapse: collapse;
  232.     text-align: center;
  233. }
  234.  
  235. body > div > table > tbody > tr > td {
  236.     height: 100%;
  237.     padding: 0;
  238.     vertical-align: middle;
  239. }
  240.  
  241. body > div > table > tbody > tr > td > div {
  242.     text-align: center;
  243.     margin: auto;
  244. }
  245.  
  246. /* ==================================================================================================================== */
  247. /* ==================================================================================================================== */
  248.  
  249. /* =======================================
  250.     Page principale: Mise en forme
  251.    ======================================= */
  252.  
  253. div#main {
  254.     left: 0%;
  255. }
  256.  
  257. body > div#main > table > tbody > tr > td > div {
  258.     width: 1050px;
  259. }
  260.  
  261. .page .links {
  262.     margin-top: 90px;
  263. }
  264.  
  265. .page .section {
  266.     float: left;
  267.     margin: 0 60px;
  268. }
  269.  
  270. .page .section .inner {
  271.     padding: 0 15px;
  272. }
  273.  
  274. /* =======================================
  275.     Page principale: animations
  276.    ======================================= */
  277.  
  278. .animated.first {
  279.     -webkit-animation-delay: 0.3s;
  280.     animation-delay: 0.3s;
  281. }
  282.  
  283. .animated.second {
  284.     -webkit-animation-delay: 0.6s;
  285.     animation-delay: 0.6s;
  286. }
  287.  
  288. .animated.third {
  289.     -webkit-animation-delay: 0.9s;
  290.     animation-delay: 0.9s;
  291. }
  292.  
  293. .title .swap.desktop .hide {
  294.     display: none;
  295. }
  296.  
  297. .title .swap.desktop {
  298.     height: 90px;
  299. }
  300.  
  301. .title .swap.desktop h2 {
  302.     position: absolute;
  303.     text-align: center;
  304.     width: 1050px;
  305. }
  306.  
  307. .page .section .inner {
  308.     transition: 0.1s;
  309. }
  310.  
  311. .page .section .inner:hover {
  312.     -webkit-transform: scale(1.2);
  313.     -moz-transform: scale(1.2);
  314.     -ms-transform: scale(1.2);
  315.     -o-transform: scale(1.2);
  316.     transform: scale(1.2);
  317.     transition: 0.1s;
  318. }
  319.  
  320. div.votelink {
  321.     text-align: center;
  322.     color: #888;
  323.     color: #BBB;
  324.     position: relative;
  325.     top: 100px;
  326. }
  327.  
  328. div.votelink a {
  329.     color: #AAA;
  330.     color: #DDD;
  331. }
  332.  
  333. /* ==================================================================================================================== */
  334.  
  335. /* =======================================
  336.     Page vote: Mise en forme
  337.    ======================================= */
  338.  
  339. body > div#vote> table > tbody > tr > td > div {
  340.     width: 980px;
  341. }
  342.  
  343. div#vote {
  344.     left: -100%;
  345. }
  346.  
  347. div#vote .iframe {
  348.     width: 969px;
  349.     height: 313px;
  350.     margin: auto;
  351.     overflow: hidden;
  352. }
  353.  
  354. div#vote .iframe .inner {
  355.     width: 100%;
  356.     height: 1500px;
  357.     position: relative;
  358.     top: -677px;
  359.     left: -12px;
  360.     transition: all 1s;
  361.     opacity: 1;
  362. }
  363.  
  364. .iframe iframe {
  365.     width: 100%;
  366.     height: 100%;
  367.     border: 0;
  368. }
  369.  
  370. div#vote .iframe .voted {
  371.     width: 980px;
  372.     position: absolute;
  373.     transition: all 1s;
  374.     opacity: 0;
  375. }
  376.  
  377. /* ==================================================================================================================== */
  378.  
  379. /* =======================================
  380.     Page shop: Mise en forme
  381.    ======================================= */
  382.  
  383. div#shop {
  384.     left: 100%;
  385. }
  386.  
  387. body > div#shop > table > tbody > tr > td > div {
  388.     width: 900px;
  389. }
  390.  
  391. div.paylist {
  392.     background: #FCFCFC;
  393.     color: black;
  394.     -moz-box-shadow: 0px 2px 7px 0px #555555;
  395.     -webkit-box-shadow: 0px 2px 7px 0px #555555;
  396.     -o-box-shadow: 0px 2px 7px 0px #555555;
  397.     box-shadow: 0px 2px 7px 0px #555555;
  398.     filter:progid:DXImageTransform.Microsoft.Shadow(color=#555555, Direction=180, Strength=7);
  399.     -moz-border-radius: 5px;
  400.     -webkit-border-radius: 5px;
  401.     border-radius: 5px;
  402.     text-align: left;
  403.     max-width: 650px;
  404.     margin: 10px auto;
  405.     transition: all 0.15s;
  406. }
  407.  
  408. div.paylist:hover {
  409.     -webkit-transform: scale(1.07);
  410.     -moz-transform: scale(1.07);
  411.     -ms-transform: scale(1.07);
  412.     -o-transform: scale(1.07);
  413.     transform: scale(1.07);
  414. }
  415.  
  416. div.paylist > .icon {
  417.     border-right: 1px solid #DDD;
  418.     float: left;
  419. }
  420.  
  421. div.paylist > .icon > img {
  422.     width: 51px;
  423.     padding: 10px;
  424. }
  425.  
  426. div.paylist > .desc {
  427.     font-size: 20px;
  428.     padding: 10px;
  429.     padding-left: 82px;
  430. }
  431.  
  432. div.paylist > .desc > h3 {
  433.     margin: 0;
  434. }
  435.  
  436. /* ==================================================================================================================== */
  437.  
  438. /* =======================================
  439.     Modal: Mise en forme
  440.    ======================================= */
  441.  
  442. body > div.modal > table > tbody > tr > td > div {
  443.     width: 500px;
  444.     background: white;
  445.     color: black;
  446.     text-align: left;
  447.     border-radius: 6px;
  448.     box-shadow: 0 5px 15px rgba(0,0,0,.5);
  449. }
  450.  
  451. div.modal {
  452.     position: absolute;
  453.     width: 100%;
  454.     height: 100%;
  455.     background: rgba(0,0,0,0.33);
  456.     opacity: 0;
  457.     transition: all 0.3s;
  458.     z-index: -1;
  459. }
  460.  
  461. div.modal.show {
  462.     opacity: 1;
  463.     z-index: 1000;
  464. }
  465.  
  466. div.modal-title {
  467.     padding: 20px;
  468.     border-bottom: 1px solid #e5e5e5;
  469. }
  470.  
  471. div.modal-inner {
  472.     padding: 20px;
  473. }
  474.  
  475. div.modal-inner .form.input {
  476.     width: 370px;
  477. }
  478.  
  479. .modal-close {
  480.     float: right;
  481.     font-size: 25px;
  482.     color: #BBB;
  483.     font-style: initial;
  484.     margin-top: -5px;
  485.     cursor: pointer;
  486.     transition: color 0.3s;
  487. }
  488.  
  489. .modal-close:hover {
  490.     color: #999;
  491. }
  492.  
  493. /* ==================================================================================================================== */
  494. /* ==================================================================================================================== */
  495.  
  496. /* =======================================
  497.     Page paiement: Mise en forme
  498.    ======================================= */
  499.  
  500. body > div#pay > table > tbody > tr > td > div {
  501.     width: 627px;
  502. }
  503.  
  504. div.box {
  505.     width: 100%;
  506.     background: white;
  507.     color: black;
  508.     text-align: left;
  509.     border-radius: 6px;
  510.     box-shadow: 0 5px 15px rgba(0,0,0,.5);    
  511. }
  512.  
  513. div.box .title {
  514.     padding: 20px;
  515.     border-bottom: 1px solid #e5e5e5;
  516. }
  517.  
  518. div.box .title .icon {
  519.     float: left;
  520.     width: 25px;
  521.     margin-right: 10px;
  522. }
  523.  
  524. div.box .list {
  525.     padding: 0;
  526. }
  527.  
  528. div.box .list ul {
  529.     padding: 0;
  530.     margin: 0;
  531.     list-style: none;
  532. }
  533.  
  534. div.box .list ul li {
  535.     padding: 10px 20px;
  536.     border-bottom: 1px solid #eeeeee;
  537. }
  538.  
  539. div.box .list.invert ul li {
  540.     padding: 10px 20px;
  541.     border-top: 1px solid #eeeeee;
  542.     border-bottom: 0;
  543. }
  544.  
  545. div.box .inner {
  546.     padding: 20px;
  547. }
  548.  
  549. div.box .footer {
  550.     border-top: 1px solid #eeeeee;
  551.     padding: 20px;
  552. }
  553.  
  554. div.box .footer-o {
  555.     padding: 20px;
  556. }
  557.  
  558. /* =======================================
  559.     Winter style !
  560.    ======================================= */
  561. /*
  562. body {
  563.     color: #264551;
  564.     background-image: url('../bg_winter.jpg');
  565.     background-image: url('../bg_winter.jpg') !important;
  566. }
  567.  
  568.  
  569. .title {
  570.     color: #264551;
  571. }
  572.  
  573. div.votelink {
  574.     color: #555;
  575.     position: relative;
  576.     top: 30px;
  577. }
  578.  
  579. div.votelink a {
  580.     color: #444;
  581. }
  582.  
  583. a, a:hover, a:visited, a:focus, a:active {
  584.     color: #264551;
  585. }
  586.  
  587. .box a, .box a:hover, .box a:visited, .box a:focus, .box a:active {
  588.     color: white;
  589. }
  590. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement