Guest User

Untitled

a guest
Sep 3rd, 2016
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.12 KB | None | 0 0
  1. /* General Demo Style */
  2. @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
  3.  
  4. @font-face {
  5.     font-family: 'fontawesome';
  6.     src:url('../fonts/fontawesome.eot');
  7.     src:url('../fonts/fontawesome.eot?#iefix') format('embedded-opentype'),
  8.         url('../fonts/fontawesome.svg#fontawesome') format('svg'),
  9.         url('../fonts/fontawesome.woff') format('woff'),
  10.         url('../fonts/fontawesome.ttf') format('truetype');
  11.     font-weight: normal;
  12.     font-style: normal;
  13. }
  14.  
  15. body, html { font-size: 100%;   padding: 0; margin: 0;}
  16.  
  17. /* Reset */
  18. *,
  19. *:after,
  20. *:before {
  21.     -webkit-box-sizing: border-box;
  22.     -moz-box-sizing: border-box;
  23.     box-sizing: border-box;
  24. }
  25.  
  26. /* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
  27. .clearfix:before,
  28. .clearfix:after {
  29.     content: " ";
  30.     display: table;
  31. }
  32.  
  33. .clearfix:after {
  34.     clear: both;
  35. }
  36.  
  37. body {
  38.     font-family: 'Lato', Calibri, Arial, sans-serif;
  39.     color: #47a3da;
  40.  
  41. }
  42.  
  43. a {
  44.     color: #f0f0f0;
  45.     text-decoration: none;
  46. }
  47.  
  48. a:hover {
  49.     color: #000;
  50. }
  51.  
  52. .main,
  53. .container > header {
  54.     width: 90%;
  55.     max-width: 69em;
  56.     margin: 0 auto;
  57.     padding: 0 1.875em 3.125em 1.875em;
  58. }
  59.  
  60. .container > header {
  61.     padding: 2.875em 1.875em 1.875em;
  62. }
  63.  
  64. .container > header h1 {
  65.     font-size: 2.125em;
  66.     line-height: 1.3;
  67.     margin: 0;
  68.     float: left;
  69.     font-weight: 400;
  70. }
  71.  
  72. .container > header span {
  73.     display: block;
  74.     font-weight: 700;
  75.     text-transform: uppercase;
  76.     letter-spacing: 0.5em;
  77.     padding: 0 0 0.6em 0.1em;
  78. }
  79.  
  80. .container > header nav {
  81.     float: right;
  82. }
  83.  
  84. .container > header nav a {
  85.     display: block;
  86.     float: left;
  87.     position: relative;
  88.     width: 2.5em;
  89.     height: 2.5em;
  90.     background: #fff;
  91.     border-radius: 50%;
  92.     color: transparent;
  93.     margin: 0 0.1em;
  94.     border: 4px solid #47a3da;
  95.     text-indent: -8000px;
  96. }
  97.  
  98. .container > header nav a:after {
  99.     content: attr(data-info);
  100.     color: #47a3da;
  101.     position: absolute;
  102.     width: 600%;
  103.     top: 120%;
  104.     text-align: right;
  105.     right: 0;
  106.     opacity: 0;
  107.     pointer-events: none;
  108. }
  109.  
  110. .container > header nav a:hover:after {
  111.     opacity: 1;
  112. }
  113.  
  114. .container > header nav a:hover {
  115.     background: #47a3da;
  116. }
  117.  
  118. .main > section {
  119.     max-width: 260px;
  120.     width: 90%;
  121.     margin: 0 auto;
  122. }
  123.  
  124. .main > section h2 {
  125.     font-weight: 300;
  126.     color: #ccc;
  127. }
  128.  
  129. .main > section button {
  130.     border: none;
  131.     background: #47a3da;
  132.     color: #fff;
  133.     padding: 1.5em;
  134.     display: block;
  135.     width: 100%;
  136.     cursor: pointer;
  137.     margin: 10px 0;
  138.     font-size: 0.8em;
  139. }
  140.  
  141. .main > section button:hover {
  142.     background: #258ecd;
  143. }
  144.  
  145. .main > section button.active {
  146.     background: #0d77b6;
  147. }
  148.  
  149. .main > section button.disabled {
  150.     background: #aaa;
  151.     pointer-events: none;
  152. }
  153.  
  154. .icon-drop:before,
  155. .icon-arrow-left:before {
  156.     font-family: 'fontawesome';
  157.     position: absolute;
  158.     top: 0;
  159.     width: 100%;
  160.     height: 100%;
  161.     speak: none;
  162.     font-style: normal;
  163.     font-weight: normal;
  164.     line-height: 2;
  165.     text-align: center;
  166.     color: #47a3da;
  167.     -webkit-font-smoothing: antialiased;
  168.     text-indent: 8000px;
  169.     padding-left: 8px;
  170. }
  171.  
  172. .container > header nav a:hover:before {
  173.     color: #fff;
  174. }
  175.  
  176. .icon-drop:before {
  177.     content: "\e000";
  178. }
  179.  
  180. .icon-arrow-left:before {
  181.     content: "\f060";
  182. }
Advertisement
Add Comment
Please, Sign In to add comment