Advertisement
xlrnxnlx

v?x01

May 16th, 2014
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.84 KB | None | 0 0
  1. @font-face {
  2.     font-family: 'indieflower';
  3.     src: url(../fonts/IndieFlower.ttf) format('truetype');
  4.     -webkit-font-smoothing: antialiased;
  5.      -moz-osx-font-smoothing: grayscale;
  6. }
  7.  
  8. @font-face {
  9.     font-family: 'fjalla';
  10.     src: url('..fonts/FjallaOne-Regular.ttf') format('truetype');
  11.     -webkit-font-smoothing: antialiased;
  12.      -moz-osx-font-smoothing: grayscale;
  13. }
  14.  
  15. @font-face {
  16.     font-family: 'yanone';
  17.     src: url('../fonts/YanoneKaffeesatz-Regular.ttf') format('truetype');
  18.     -webkit-font-smoothing: antialiased;
  19.      -moz-osx-font-smoothing: grayscale;
  20. }
  21.  
  22. @font-face {
  23.     font-family: 'ico';
  24.     src:url('../fonts/ico.eot?-vcwgg3');
  25.     src:url('../fonts/ico.eot?#iefix-vcwgg3') format('embedded-opentype'),
  26.         url('../fonts/ico.woff?-vcwgg3') format('woff'),
  27.         url('../fonts/ico.ttf?-vcwgg3') format('truetype'),
  28.         url('../fonts/ico.svg?-vcwgg3#ico') format('svg');
  29.     font-weight: normal;
  30.     font-style: normal;
  31. }
  32.  
  33. [class^="ico-"], [class*=" ico-"] {
  34.     font-family: 'ico';
  35.     speak: none;
  36.     font-style: normal;
  37.     font-weight: normal;
  38.     font-variant: normal;
  39.     text-transform: none;
  40.     line-height: 1;
  41.  
  42.     /* Better Font Rendering =========== */
  43.     -webkit-font-smoothing: antialiased;
  44.     -moz-osx-font-smoothing: grayscale;
  45. }
  46.  
  47. .ico-trophy:before {
  48.     content: "\e023";
  49. }
  50. .ico-gears:before {
  51.     content: "\e02b";
  52. }
  53. .ico-lightbulb:before {
  54.     content: "\e030";
  55. }
  56. .ico-paintbrush:before {
  57.     content: "\e036";
  58. }
  59. .ico-linegraph:before {
  60.     content: "\e039";
  61. }
  62. .ico-hotairballoon:before {
  63.     content: "\e044";
  64. }
  65. .ico-chat:before {
  66.     content: "\e049";
  67. }
  68. .ico-heart:before {
  69.     content: "\e04a";
  70. }
  71.  
  72. @keyframes stretch {
  73.     25% { transform: scaleY(1.3); }
  74.     30% { transform: scaleY(0.6); }
  75.     32% { transform: rotate(360deg); }
  76.     58% { transform: rotate(0deg); }
  77.     60% { transform: scaleY(0.6); }
  78.     75% { transform: scaleY(1.3); }
  79.     100%{ transform: scaleY(1); }
  80. }
  81.  
  82. *::selection {
  83.     background: #3ebd73;
  84.     color: #fff;
  85.     text-shadow: 0 0 2px #999;
  86. }
  87.  
  88. *::-moz-selection {
  89.     background: #3ebd73;
  90.     color: #fff;
  91.     text-shadow: 0 0 2px #999;
  92. }
  93. *, *::after, *::before {
  94.     margin: 0; padding: 0;
  95.     -webkit-box-sizing: border-box;
  96.        -moz-box-sizing: border-box;
  97.             box-sizing: border-box;
  98. }
  99. body {
  100.     min-height: 100%;
  101.     min-width: 100%;
  102. }
  103. body > aside {
  104.     position: fixed;
  105.     top: 0; left: 0; bottom: 0;
  106.     width: 250px;
  107.     background: #333;
  108.     z-index: 9999;
  109.     -webkit-box-shadow: 4px 0 10px 2px #000;
  110.             box-shadow: 4px 0 10px 2px #000;
  111.     -webkit-touch-callout: none;
  112.       -webkit-user-select: none;
  113.        -khtml-user-select: none;
  114.          -moz-user-select: none;
  115.           -ms-user-select: none;
  116. }
  117. body > section {
  118.     position: absolute;
  119.     top: 0; bottom: 0; right: 0;
  120.     left: 250px; /* Tamanho do ASIDE */
  121.     background: #333;
  122.     -webkit-perspective: 1000;
  123.             perspective: 1000;
  124. }
  125. /* LOGO */
  126. body aside > a {
  127.     margin-top: 50px;
  128.     display: block;
  129.     width: 250px;
  130.     padding: 25px 0;
  131.     text-align: center;
  132.     color: #fff;
  133.     text-decoration: none;
  134.     font-family: 'yanone';
  135.     font-size: 2em;
  136.     white-space: nowrap;
  137.     overflow: hidden;
  138.     //background: red; test
  139. }
  140.  
  141. body aside > a > h2,
  142. body aside > a > h2::after,
  143. body aside > a > h2::before {
  144.     display: inline-block;
  145.     margin: 0 6px;
  146. }
  147.  
  148. body aside > a > h2 {
  149.     text-decoration: underline;
  150. }
  151.  
  152. body aside > a > h2::after,
  153. body aside > a > h2::before {
  154.     color: #3ebd73;
  155.     -webkit-transition: all 200ms ease-in;
  156.        -moz-transition: all 200ms ease-in;
  157.          -o-transition: all 200ms ease-in;
  158.             transition: all 200ms ease-in;
  159. }
  160. body aside > a > h2::before {
  161.     content: "</";
  162.     -webkit-transform: translateX(-100px);
  163.             transform: translateX(-100px);
  164. }
  165. body aside > a > h2::after {
  166.     content: "!>";
  167.     -webkit-transform: translateX(100px);
  168.             transform: translateX(100px);
  169. }
  170. body aside > a:hover > h2 {
  171.     text-decoration: none;
  172.     -webkit-transform: rotateX(3600deg);
  173.             transform: rotateX(360deg);
  174.     -webkit-transition-duration: 0.5s;
  175.             transition-duration: 0.5s;
  176. }
  177. body aside > a:hover > h2::after,
  178. body aside > a:hover > h2::before {
  179.     -webkit-transform: translateX(0);
  180.             transform: translateX(0);
  181. }
  182. ul {
  183.     list-style: none;
  184. }
  185. body > aside > nav {
  186.     display: block;
  187.     width: 250px; /* tamanho do aside */
  188.     overflow: hidden;
  189.     padding: 10px 0;
  190.     margin-top: 50px;
  191.     //background: red; test
  192. }
  193. body > aside > nav a {
  194.     display: inline-block;
  195.     width: 100%;
  196.     color: #fff;
  197.     padding: 8px 0;
  198.     font-family: 'yanone';
  199.     font-size: 1.8em;
  200.     text-transform: uppercase;
  201.     text-decoration: none;
  202.     text-align: center;
  203. }
  204.  
  205. body > aside > nav a p::before {
  206.     font-family: 'ico';
  207.     display: inline-block;
  208.     color: #3ebd73;
  209.     margin-right: 12px;
  210.     -webkit-transition: all 250ms ease-in;
  211.        -moz-transition: all 250ms ease-in;
  212.          -o-transition: all 250ms ease-in;
  213.             transition: all 250ms ease-in;
  214. }
  215.  
  216. body > aside > nav li:nth-child(1) > a > p::before {
  217.     content: '\e023';
  218. }
  219.  
  220. body > aside > nav li:nth-child(2) > a > p::before {
  221.     content: '\e044';
  222. }
  223.  
  224. body > aside > nav li:nth-child(3) > a > p::before {
  225.     content: '\e049';
  226. }
  227.  
  228.  
  229. body > aside > nav a:hover {
  230.     background: #3ebd73;
  231.     color: #333;
  232.     box-shadow: 0 0 10px 4px rgba(0,0,0,0.6);
  233. }
  234.  
  235. body > aside > nav a:hover p {
  236.     text-shadow: 0 0 10px rgba(0,0,0,0.4);
  237. }
  238.  
  239. body > aside > nav a:hover p::before {
  240.     color: #fff;
  241.     text-shadow: 0 0 4px rgba(0,0,0,0.2);
  242.     animation: stretch 1s;
  243.     animation-delay: 0.2s;
  244. }
  245.  
  246. .slowly {
  247.     -webkit-transition: all 250ms ease-in;
  248.        -moz-transition: all 250ms ease-in;
  249.          -o-transition: all 250ms ease-in;
  250.             transition: all 250ms ease-in;
  251. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement