Advertisement
Carolaine_Vieira

nav

Apr 30th, 2016
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.73 KB | None | 0 0
  1. nav {
  2. width: 100%;
  3. background-color: #0b0b0b;
  4. position: fixed;
  5. bottom: 0;
  6. height: 100px;
  7. overflow: hidden;
  8. z-index:999;
  9. }
  10. nav ul {
  11. position: absolute;
  12. top: 0;
  13. left: 0;
  14. list-style-type: none;
  15. padding: 0;
  16. margin: 0;
  17. width: 140vw;
  18. }
  19. nav li a{
  20.  
  21. color:#888;
  22.  
  23. }
  24. nav li {
  25. margin: 0;
  26. float: left;
  27. display: inline-block;
  28. height: 98px;
  29. margin-bottom: 2px;
  30. line-height: 100px;
  31. width: 20vw;
  32. text-align: center;
  33. color: #555;
  34. transition: background-color 0.5s 0.2s ease, color 0.3s ease;
  35. cursor: pointer;
  36. font-size: 12px;
  37. text-transform: uppercase;
  38. letter-spacing: 4px;
  39. font-weight: 800;
  40. transform: translateY(100%);
  41. }
  42. nav li.active {
  43. background-color: #151515;
  44. color: #efefef;
  45. }
  46. nav li.active::after {
  47. content: "";
  48. position: absolute;
  49. bottom: -2px;
  50. left: 0;
  51. width: 100%;
  52. height: 2px;
  53. background-color: #f7ca18;
  54. }
  55. nav li:nth-child(1) {
  56. animation: pop 0.5s 0.15s 1 forwards;
  57. }
  58. nav li:nth-child(2) {
  59. animation: pop 0.5s 0.3s 1 forwards;
  60. }
  61. nav li:nth-child(3) {
  62. animation: pop 0.5s 0.45s 1 forwards;
  63. }
  64. nav li:nth-child(4) {
  65. animation: pop 0.5s 0.6s 1 forwards;
  66. }
  67. nav li:nth-child(5) {
  68. animation: pop 0.5s 0.75s 1 forwards;
  69. }
  70. nav li:nth-child(6) {
  71. animation: pop 0.5s 0.9s 1 forwards;
  72. }
  73. nav li:nth-child(7) {
  74. animation: pop 0.5s 1.05s 1 forwards;
  75. }
  76. nav li:hover {
  77. color: #ececec;
  78. }
  79. nav li:active {
  80. background-color: #222;
  81. }
  82. nav li:nth-child(1):hover ~ .slide {
  83. left: 0;
  84. }
  85. nav li:nth-child(2):hover ~ .slide {
  86. left: 20vw;
  87. }
  88. nav li:nth-child(3):hover ~ .slide {
  89. left: 40vw;
  90. }
  91. nav li:nth-child(4):hover ~ .slide {
  92. left: 60vw;
  93. }
  94. nav li:nth-child(5):hover ~ .slide {
  95. left: 80vw;
  96. }
  97. nav li:nth-child(6):hover ~ .slide {
  98. left: 100vw;
  99. }
  100. nav li:nth-child(7):hover ~ .slide {
  101. left: 120vw;
  102. }
  103. nav li.slide {
  104. position: absolute;
  105. left: -20vw;
  106. top: 0;
  107. background-color: #fff;
  108. z-index: -1;
  109. height: 2px;
  110. margin-top: 98px;
  111. transition: left 0.3s ease;
  112. transform: translateY(0);
  113. }
  114. @-moz-keyframes pop {
  115. 0% {
  116. transform: translateY(100%);
  117. }
  118. 100% {
  119. transform: translateY(0);
  120. }
  121. }
  122. @-webkit-keyframes pop {
  123. 0% {
  124. transform: translateY(100%);
  125. }
  126. 100% {
  127. transform: translateY(0);
  128. }
  129. }
  130. @-o-keyframes pop {
  131. 0% {
  132. transform: translateY(100%);
  133. }
  134. 100% {
  135. transform: translateY(0);
  136. }
  137. }
  138. @keyframes pop {
  139. 0% {
  140. transform: translateY(100%);
  141. }
  142. 100% {
  143. transform: translateY(0);
  144. }
  145. }
  146. @-moz-keyframes byBottom {
  147. 0% {
  148. transform: translateY(150%);
  149. }
  150. 100% {
  151. transform: translateY(0);
  152. }
  153. }
  154. @-webkit-keyframes byBottom {
  155. 0% {
  156. transform: translateY(150%);
  157. }
  158. 100% {
  159. transform: translateY(0);
  160. }
  161. }
  162. @-o-keyframes byBottom {
  163. 0% {
  164. transform: translateY(150%);
  165. }
  166. 100% {
  167. transform: translateY(0);
  168. }
  169. }
  170. @keyframes byBottom {
  171. 0% {
  172. transform: translateY(150%);
  173. }
  174. 100% {
  175. transform: translateY(0);
  176. }
  177. }
  178. @-moz-keyframes linkAfter {
  179. 0% {
  180. width: 0;
  181. }
  182. 100% {
  183. width: 30px;
  184. }
  185. }
  186. @-webkit-keyframes linkAfter {
  187. 0% {
  188. width: 0;
  189. }
  190. 100% {
  191. width: 30px;
  192. }
  193. }
  194. @-o-keyframes linkAfter {
  195. 0% {
  196. width: 0;
  197. }
  198. 100% {
  199. width: 30px;
  200. }
  201. }
  202. @keyframes linkAfter {
  203. 0% {
  204. width: 0;
  205. }
  206. 100% {
  207. width: 30px;
  208. }
  209. }
  210.  
  211.  
  212.  
  213.  
  214. <nav>
  215. <ul>
  216.  
  217. <li><a href="#personal" data-toggle="tab" class="active">Personal</a></li>
  218. <li><a href="#responsive" data-toggle="tab">Responsive</a></li>
  219. <li><a href="#premium" data-toggle="tab">Premium</a></li>
  220. <li><a href="#contact" data-toggle="tab">Contact</a></li>
  221. <li><a href="/">Back</a></li>
  222. <li class="slide"></li>
  223.  
  224. </ul>
  225. </nav>
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232. <style type="text/css">
  233.  
  234. @import url(http://fonts.googleapis.com/css?family=Oswald:400|Open+Sans:700);
  235.  
  236. @import url(http://weloveiconfonts.com/api/?family=fontawesome);
  237.  
  238. /* fontawesome */
  239. [class*="fontawesome-"]:before {
  240. font-family: 'FontAwesome', sans-serif;
  241. }
  242.  
  243. body {
  244. background: #e6e6d8 url('https://dl.dropboxusercontent.com/s/t0gu051d08sei65/bg-retro-noise.png');
  245. color: #121212;
  246. }
  247.  
  248. section.text {
  249. position: absolute;
  250. width: 100%;
  251. min-width: 800px;
  252. text-align: center;
  253. top: 50%;
  254. margin-top: -55px;
  255. }
  256.  
  257. h1 {
  258. font-family: "Oswald", Sans-serif;
  259. text-transform: uppercase;
  260. font-weight: 400;
  261. font-size: 70px;
  262. text-shadow: 4px 5px #e6e6d8, 6px 7px #c6a39a;
  263. }
  264.  
  265. h1 span {
  266. display: inline-block;
  267. vertical-align: middle;
  268. }
  269.  
  270. span.star {
  271. font-size: 20px;
  272. }
  273.  
  274. h3 {
  275. font-family: "Open Sans", Sans-serif;
  276. text-transform: uppercase;
  277. font-weight: 700;
  278. font-size: 20px;
  279. letter-spacing: 0.1em;
  280. margin-bottom: 10px;
  281. position: relative;
  282. }
  283.  
  284. h3:before, h3:after {
  285. content: " ";
  286. position: absolute;
  287. width: 100px;
  288. height: 4px;
  289. border-top: 2px solid #121212;
  290. border-bottom: 2px solid #121212;
  291. }
  292.  
  293. h3:before {
  294. margin: 5px 0 0 -110px;
  295. }
  296.  
  297. h3:after {
  298. margin: 5px 0 0 10px;
  299. }
  300.  
  301. </style>
  302.  
  303. <section class="text">
  304. <h3>Hey everyone look at this</h3>
  305. <h1><span class="fontawesome-star star"></span> <span>Awesome Vintage Title</span> <span class="fontawesome-star star"></span></h1>
  306. </section>
  307.  
  308.  
  309.  
  310. <div id="lado">
  311.  
  312. <div class="caixas">
  313.  
  314. <img class="perfil" src="{image:sidebar}" />
  315. <div class="description">{Description}</div>
  316. <div class="sociallinks">
  317. <a href="{text:Facebook Url}" title="Facebook"><li class="fa fa-facebook"></li>
  318. <a href="{text:Twitter Url}" title="Twitter"><li class="fa fa-twitter"></li>
  319. <a href="{text:Instagram Url}" title="Instagram"><li class="fa fa-instagram"></li>
  320. <a href="{text:WeHeartIt Url}" title="WeHeartIt"><li class="fa fa-heart"></li>
  321. </a>
  322. </div>
  323.  
  324. </div>
  325.  
  326. <div class="caixas">
  327.  
  328. <div class="caixatitulo">
  329. <div class="gd" style="margin-left:75px;">Perdido? Pesquise.</div>
  330. </div>
  331.  
  332. <form action="/search" method="get" class="sform" name="form">
  333. <input type="text" name="q" value="{SearchQuery}" class="sbox" placeholder="Palavra + enter"/></form>
  334.  
  335. </div>
  336.  
  337. <div class="caixas" style="margin-top:80px;">
  338. <div class="caixatitulo">
  339. <div class="gd" style="margin-left:50px;">Posts mais interessantes</div>
  340. </div>
  341.  
  342. <div style="margin-bottom:15px; text-transform:uppercase; font-weight:bold;">
  343. <a href="#">Melhores Saias</a>
  344. <div style="text-transform:none; font-style:italic; font-weight:normal;">By <a href="#">Carolaine</a></div></div>
  345.  
  346. <div style="margin-bottom:15px; text-transform:uppercase; font-weight:bold;">
  347. <a href="#">Tendências 2016</a>
  348. <div style="text-transform:none; font-style:italic; font-weight:normal;">By <a href="#">Carolaine</a></div></div>
  349.  
  350. <div style="margin-bottom:0px; text-transform:uppercase; font-weight:bold;">
  351. <a href="#">Como delinear</a>
  352. <div style="text-transform:none; font-style:italic; font-weight:normal;">By <a href="#">Carolaine</a></div></div>
  353.  
  354. </div>
  355.  
  356. <div class="caixas">
  357. <div class="caixatitulo">
  358. <div class="gd" style="margin-left:100px;">Instagram</div>
  359. </div>
  360.  
  361. <iframe src="http://widget.websta.me/in/jadepicon/?s=93&w=3&h=3&b=0&p=2&sb=off" allowtransparency="true" frameborder="0" scrolling="no" style="border:none;overflow:hidden;width:285px; height: 285px" ></iframe> <!-- websta - websta.me -->
  362.  
  363. </div>
  364.  
  365. <div class="caixas">
  366. <div class="caixatitulo">
  367. <div class="gd" style="margin-left:90px;">Twitter feed</div>
  368. </div>
  369.  
  370. <a class="twitter-timeline" href="https://twitter.com/Carols_Vieira_" data-widget-id="718596702752653312">Tweets de @Carols_Vieira_</a>
  371. <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
  372.  
  373. </div>
  374.  
  375. <div class="caixas">
  376. <div class="caixatitulo">
  377. <div class="gd" style="margin-left:95px;">Publicidade</div>
  378. </div>
  379.  
  380. <a href="publicidade url"><img src="http://i.imgur.com/xCYjYFN.png" /></a>
  381.  
  382. </div>
  383.  
  384. <div class="caixas">
  385. <div class="caixatitulo">
  386. <div class="gd" style="margin-left:95px;">Marcadores</div>
  387. </div>
  388.  
  389. <div class="marcadores">
  390.  
  391. <a href="#">Saias</a>
  392. <a href="#">DIY</a>
  393. <a href="#">#SQN</a>
  394. <a href="#">Maquiagem</a>
  395. <a href="#">Looks</a>
  396. <a href="#">Jóias</a>
  397. <a href="#">Tendências</a>
  398.  
  399. </div>
  400.  
  401. </div>
  402.  
  403.  
  404. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement