Guest User

css

a guest
May 15th, 2015
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.83 KB | None | 0 0
  1. #header_1 {
  2. position: relative;
  3. z-index: -1;
  4. width: 150%;
  5. margin-left: -30%;
  6. margin-top: 5%;
  7.  
  8. }
  9.  
  10. #header_2 {
  11. height: 750px;
  12. width: 100%;
  13. margin-top:-10px;
  14. background-image: url(portfolio/2/header.jpg);
  15. background-color: #ffffff;
  16. position: relative;
  17. margin-top: -3%;
  18. margin-left: -33%;
  19. z-index: -1;
  20. background-repeat: no-repeat;
  21.  
  22. }
  23.  
  24. #header_3 {
  25. height: 800px;
  26. width: 165%;
  27. margin-top:10px;
  28. background-image: url(portfolio/3/header.png);
  29. background-color: #ffffff;
  30. position: relative;
  31. margin-top: -3%;
  32. margin-left: -33%;
  33. z-index: -1;
  34. background-repeat: no-repeat;
  35.  
  36.  
  37. }
  38.  
  39. #header_4 {
  40. height: 800px;
  41. width: 165%;
  42. margin-top:-3%;
  43. margin-left: -33%;
  44. background-image: url(portfolio/4/header.png);
  45. background-color: #aeaaab;
  46. position: relative;
  47. z-index: 1;
  48. background-repeat: no-repeat;
  49. float: left;
  50.  
  51. }
  52.  
  53. #header_5 {
  54. height: 720px;
  55. width: 166%;
  56. margin-top:10px;
  57. background-image: url(portfolio/5/header.png);
  58. background-color: #ffffff;
  59. position: relative;
  60. margin-top: -3%;
  61. margin-left: -33%;
  62. z-index: -1;
  63. background-repeat: no-repeat;
  64.  
  65.  
  66. }
  67.  
  68. #logo{
  69. height: 100%;
  70. width: 100%;
  71. background-image: url(portfolio/1/title.png);
  72. position: fixed;
  73. left: 10%;
  74. top: 20%;
  75. background-repeat: no-repeat;
  76. }
  77.  
  78. #me{
  79.  
  80. height: 100%;
  81. width: 75%;
  82. background-image: url(1/me.png);
  83. position: fixed;
  84. left: 65%;
  85. top: 10%;
  86. background-repeat: no-repeat;
  87. z-index: 1;
  88. }
  89.  
  90. #text_1{
  91. font-family: hero;
  92. color: #ed5757;
  93. position: absolute;
  94. top: 10%;
  95. left: -20%;
  96. text-align: center;
  97. font-size: 150%;
  98.  
  99. }
  100.  
  101. #text_2{
  102. font-family: hero;
  103. color: #ffffff;
  104. position: absolute;
  105. top: 10%;
  106. left: -20% ;
  107. text-align: center;
  108. font-size: 150%;
  109.  
  110. }
  111.  
  112. #text_3{
  113. font-family: hero;
  114. color: #ffffff;
  115. position: absolute;
  116. top: 20%;
  117. left: 2%;
  118. text-align: left;
  119. font-size: 250%;
  120. z-index: 2;
  121.  
  122. }
  123.  
  124. #text_4{
  125. font-family: hero;
  126. color: #d2d0d0;
  127. position: absolute;
  128. top: 50%;
  129. left: 15%;
  130. text-align: center;
  131. font-size: 200%;
  132.  
  133. }
  134.  
  135. #social{
  136. position: absolute;
  137. top: 50%;
  138. left: -10%;
  139. }
  140.  
  141.  
  142.  
  143. * {margin: 0; padding: 0; outline: 0;}
  144.  
  145.  
  146. @import url(http://fonts.googleapis.com/css?family=Varela+Round);
  147.  
  148. html, body { background: #333 url("http://codepen.io/images/classy_fabric.png"); }
  149.  
  150. .slides {
  151. padding: 0;
  152. width: 609px;
  153. height: 420px;
  154. display: block;
  155. margin: 0 auto;
  156. position: absolute;
  157. z-index: 1000;
  158. }
  159.  
  160. .slides * {
  161. user-select: none;
  162. -ms-user-select: none;
  163. -moz-user-select: none;
  164. -khtml-user-select: none;
  165. -webkit-user-select: none;
  166. -webkit-touch-callout: none;
  167. }
  168.  
  169. .slides input { display: none; }
  170.  
  171. .slide-container { display: block; }
  172.  
  173. .slide {
  174. top: 5%;
  175. left: 40%;
  176. opacity: 0;
  177. width: 609px;
  178. height: 420px;
  179. display: block;
  180. position: absolute;
  181. z-index: 1000;
  182.  
  183. transform: scale(0);
  184.  
  185. transition: all .7s ease-in-out;
  186. }
  187.  
  188. .slide img {
  189. width: 100%;
  190. height: 100%;
  191. }
  192.  
  193. .nav label {
  194. width: 200px;
  195. height: 100%;
  196. display: none;
  197. position: absolute;
  198.  
  199.  
  200. opacity: 0;
  201. z-index: 9;
  202. cursor: pointer;
  203.  
  204. transition: opacity .2s;
  205.  
  206. color: #FFF;
  207. font-size: 156pt;
  208. text-align: center;
  209. line-height: 380px;
  210. font-family: "Varela Round", sans-serif;
  211. background-color: rgba(255, 255, 255, .3);
  212. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  213. }
  214.  
  215.  
  216.  
  217. .slide:hover + .nav label { opacity: 0.5; }
  218.  
  219. .nav label:hover { opacity: 1; }
  220.  
  221. .nav .next { right: 0; }
  222.  
  223. input:checked + .slide-container .slide {
  224. opacity: 1;
  225.  
  226. transform: scale(1);
  227.  
  228. transition: opacity 1s ease-in-out;
  229. }
  230.  
  231. input:checked + .slide-container .nav label { display: block; }
  232.  
  233. .nav-dots {
  234. width: 100%;
  235. bottom: 9px;
  236. height: 11px;
  237. display: block;
  238. position: absolute;
  239. text-align: center;
  240. left: 40%;
  241. top: 110%;
  242. }
  243.  
  244.  
  245.  
  246. .nav-dots .nav-dot {
  247. top: -5px;
  248. width: 11px;
  249. height: 11px;
  250. margin: 0 4px;
  251. position: relative;
  252. border-radius: 100%;
  253. display: inline-block;
  254. background-color: rgba(0, 0, 0, 0.6);
  255. }
  256.  
  257.  
  258. .nav-dots .nav-dot:hover {
  259. cursor: pointer;
  260. background-color: rgba(0, 0, 0, 0.8);
  261. }
  262.  
  263.  
  264.  
  265. input#img-1:checked ~ .nav-dots label#img-dot-1,
  266. input#img-2:checked ~ .nav-dots label#img-dot-2,
  267. input#img-3:checked ~ .nav-dots label#img-dot-3,
  268. input#img-4:checked ~ .nav-dots label#img-dot-4,
  269. input#img-5:checked ~ .nav-dots label#img-dot-5,
  270. input#img-6:checked ~ .nav-dots label#img-dot-6,
  271. input#img-7:checked ~ .nav-dots label#img-dot-7,
  272. input#img-8:checked ~ .nav-dots label#img-dot-8{
  273. background: rgba(0, 0, 0, 0.8);
  274. }
  275.  
  276.  
  277.  
  278. body {
  279. font-family: hero, hero, hero, hero;
  280. color: #e5e5e5;
  281. font-size: 12px;
  282. background:#e6e6e6;
  283. margin: 0;
  284. padding: 0;
  285. overflow: hidden;
  286.  
  287.  
  288.  
  289. }
  290.  
  291.  
  292. h1, h2 {
  293. font-family: 'Open Sans', sans-serif;
  294. font-weight: 300;
  295. margin:0 0 15px 0;
  296. }
  297.  
  298.  
  299. h1 {
  300. font-size: 36px;
  301. letter-spacing: -1px;
  302. line-height: 100%;
  303. }
  304.  
  305.  
  306. h2 {
  307. font-size: 24px;
  308. }
  309.  
  310.  
  311. p {
  312. margin: 0 0 15px 0;
  313. }
  314.  
  315. a {
  316. color: #3e3e3e;
  317. }
  318.  
  319.  
  320.  
  321. .clear {
  322. clear: both;
  323. }
  324. .wrap {
  325. width: 100%;
  326. max-width: 1600px;
  327. min-width: 960px;
  328. min-height: 960px;
  329. z-index: 10;
  330. position: relative;
  331. margin: 0 auto;
  332. padding: 0;
  333.  
  334. }
  335.  
  336.  
  337.  
  338. .section {
  339. width: 100%;
  340. max-width: 1600px;
  341. min-width: 960px;
  342. z-index: 10;
  343. position: relative;
  344. margin: 0 auto;
  345. padding: 0 0 20px 0;
  346. height: 750px;
  347. }
  348.  
  349.  
  350. .inner {
  351. width: 960px;
  352. margin: 0 auto;
  353. position: relative;
  354. min-height: 50px;
  355. padding:30px 0;
  356. font-size: 18px;
  357. font-family: 'Open Sans', sans-serif;
  358. font-weight: 300;
  359. }
  360.  
  361. .inner:after {
  362. content: "";
  363. display: table;
  364. clear: both;
  365. }
  366.  
  367.  
  368. .subMenu {
  369. height: 50px;
  370. z-index: 1000;
  371. width: 100%;
  372. background: #c1c1c1;
  373. }
  374.  
  375. .subMenu .inner {
  376. padding:0;
  377. font-weight: 400;
  378. margin: 0 auto;
  379. }
  380.  
  381.  
  382. .subNavBtn {
  383. display: block;
  384. height: 35px;
  385. width: 10%;
  386. float: left;
  387. margin: 0px 0px 0 0;
  388. text-decoration: none;
  389. font-size: 14px;
  390. padding: 15px 2% 0 2%;
  391. text-align: center;
  392.  
  393. color: #fff;
  394. }
  395. .subMenu a:hover {
  396. background: #ed5757;
  397. }
  398.  
  399. .active {
  400. background: #d44a4a;
  401. }
  402. .end {
  403. margin: 0;
  404. }
  405.  
  406.  
  407.  
  408.  
  409. /* SECTIONS */
  410.  
  411.  
  412.  
  413.  
  414. .s1 {
  415. background:#ed5757;
  416. color: #ed5757;
  417.  
  418.  
  419. }
  420.  
  421.  
  422. .s2 {
  423. background: #ffffff;
  424.  
  425. }
  426. .s2 a {
  427. color: #c1c1c1;
  428.  
  429. }
  430.  
  431. .s3 {
  432. background: #c1c1c1;
  433. color: #c1c1c1;
  434.  
  435. }
  436.  
  437.  
  438. .s4 {
  439. background: #aeaaab;
  440.  
  441.  
  442. }
  443.  
  444. .s5 {
  445. background: #ffffff;
  446.  
  447. }
Advertisement
Add Comment
Please, Sign In to add comment