Advertisement
Guest User

Hover 1

a guest
Nov 26th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 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: 'codropsicons';
  6. src:url('../fonts/codropsicons/codropsicons.eot');
  7. src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
  8. url('../fonts/codropsicons/codropsicons.woff') format('woff'),
  9. url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
  10. url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
  11. font-weight: normal;
  12. font-style: normal;
  13. }
  14.  
  15. *, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
  16. body, html {
  17. font-size: 90%;
  18. padding: 0;
  19. margin: 0;
  20. }
  21.  
  22. /* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
  23. .clearfix:before, .clearfix:after { content: " "; display: table; }
  24. .clearfix:after { clear: both; }
  25.  
  26. body {
  27. font-family: 'Lato', Calibri, Arial, sans-serif;
  28. color: #b3b9bf;
  29. background: #FFFFFF;
  30. }
  31.  
  32. a {
  33. color: #888;
  34. text-decoration: none;
  35. }
  36.  
  37. a:hover,
  38. a:active {
  39. color: #333;
  40. }
  41.  
  42. /* Header Style */
  43. .container > header {
  44. margin: 0 auto;
  45. padding: 2em;
  46. text-align: center;
  47. background: rgba(0,0,0,0.01);
  48. }
  49.  
  50. .container > header h1 {
  51. font-size: 2.625em;
  52. line-height: 1.3;
  53. margin: 0;
  54. font-weight: 300;
  55. }
  56.  
  57. /* To Navigation Style */
  58. .codrops-top {
  59. background: #fff;
  60. background: rgba(255, 255, 255, 0.6);
  61. text-transform: uppercase;
  62. width: 100%;
  63. font-size: 0.69em;
  64. line-height: 2.2;
  65. }
  66.  
  67. .codrops-top a {
  68. padding: 0 1em;
  69. letter-spacing: 0.1em;
  70. color: #888;
  71. display: inline-block;
  72. }
  73.  
  74. .codrops-top a:hover {
  75. background: rgba(255,255,255,0.95);
  76. color: #333;
  77. }
  78.  
  79. .codrops-top span.right {
  80. float: right;
  81. }
  82.  
  83. .codrops-top span.right a {
  84. float: left;
  85. display: block;
  86. }
  87.  
  88. .codrops-icon:before {
  89. font-family: 'codropsicons';
  90. margin: 0 4px;
  91. speak: none;
  92. font-style: normal;
  93. font-weight: normal;
  94. font-variant: normal;
  95. text-transform: none;
  96. line-height: 1;
  97. -webkit-font-smoothing: antialiased;
  98. }
  99.  
  100. .codrops-icon-drop:before {
  101. content: "\e001";
  102. }
  103.  
  104. .codrops-icon-prev:before {
  105. content: "\e004";
  106. }
  107.  
  108. .codrops-icon-archive:before {
  109. content: "\e002";
  110. }
  111.  
  112. .codrops-icon-next:before {
  113. content: "\e000";
  114. }
  115.  
  116. .codrops-icon-about:before {
  117. content: "\e003";
  118. }
  119.  
  120. /* Demo Buttons Style */
  121. .codrops-demos {
  122. padding-top: 1em;
  123. font-size: 0.9em;
  124. }
  125.  
  126. .codrops-demos a {
  127. display: inline-block;
  128. margin: 0.5em;
  129. padding: 0.7em 1.1em;
  130. border: 3px solid #b3b9bf;
  131. color: #b3b9bf;
  132. font-weight: 700;
  133. }
  134.  
  135. .codrops-demos a:hover,
  136. .codrops-demos a.current-demo,
  137. .codrops-demos a.current-demo:hover {
  138. border-color: #2c3f52;
  139. color: #2c3f52;
  140. }
  141.  
  142. @media screen and (max-width: 25em) {
  143.  
  144. .codrops-icon span {
  145. display: none;
  146. }
  147.  
  148. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement