Advertisement
Guest User

Untitled

a guest
Feb 29th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.91 KB | None | 0 0
  1. /* ----|| PORTFOLIO ||---- */
  2.  
  3. .portfolio-content { width:100%; }
  4. .pf-block { width:100%; margin-left:0; margin-bottom:30px; position:relative; }
  5. .pf-block-wide { width:100%; margin-left:0; }
  6.  
  7. .pf-header { margin-left:0; }
  8. .pf-header-wide { margin-left:0; }
  9. .pf-block p { margin-left:0; font-family:"Cousine", Consolas, "Anonymous Pro", monospace; font-size:15px; font-weight:normal; line-height:20px; color:#212222; }
  10. .pf-block-wide p { margin-left:0; }
  11. .pf-block-wide .footnote-list { margin:18px 0 0 0; }
  12.  
  13. .pf-secondary { margin-top:18px; }
  14.  
  15. .pf-txt-left-col { width:100%; margin-left:0; float:none; }
  16. .pf-txt-left-col p { margin-left:0; }
  17.  
  18. .pf-screen { margin-left:0; float:none; }
  19. .pf-screen-2 { width:100%; }
  20. .pf-screen-3 { width:45%; margin-right:2.5%; float:left; }
  21. .pf-screen-3:nth-child(4) { width:100%; }
  22. .pf-screen-3:nth-child(4) img { width:45%; margin-right:2.5%; float:left; }
  23. .pf-screen-3:nth-child(4) img:nth-child(odd) { clear:left; }
  24. .pf-screen-4 { width:100%; }
  25.  
  26. .pf-screen img { display:block; max-width:100%; margin:0 0 18px 0; padding:0; position:relative; }
  27.  
  28. .pf-placed-iphone { width:100%; }
  29. .pf-placed-iphone img { display:block; width:100%; margin:0 0 18px 0; padding:0; }
  30. .pf-placed-single-left { display:none; }
  31. .pf-placed-bent-wireframe-text { width:100%; }
  32.        
  33.  
  34. /*------------
  35.     TARGET = smart phones - landscape mode */
  36.     @media (min-width:480px) {
  37.         .pf-screen-4 { width:45%; margin-right:2.5%; float:left; }
  38.     }
  39.  
  40.  
  41. /*------------
  42.     TARGET = SPECIAL breakpoint - Portfolio */
  43.     @media (min-width:530px) {
  44.         .pf-screen-2 { width:45%; margin-right:2.5%; float:left; }
  45.         .pf-placed-iphone { width:45%; }
  46.     }
  47.    
  48.  
  49. /*------------
  50.     TARGET = Tablets - portrait mode */
  51.     @media (min-width:768px) {
  52.         .page-portfolio .site-further-details { display:block; width:100%; position:static; }
  53.        
  54.         .portfolio-content { max-width:842px; width:77.963%;/*842*/ margin:0 0 0 22.037%; /*238*/ }
  55.        
  56.         .pf-block { width:102.138%; /*860/842*/ margin-left:-2.138%; /*18/842*/ margin-bottom:60px; position:relative; }
  57.         .pf-block-wide { width:130.404%; /*1098/842*/ margin-left:-30.404%; /*256/842*/ }
  58.        
  59.         .pf-header { margin-left:2.093%; /*18/860*/ }
  60.         .pf-header-wide { margin-left:23.315%; /*256/1098*/ }
  61.         .pf-block p { margin-left:2.093%; /*18/860*/ font-family:"Cousine", Consolas, "Anonymous Pro", monospace; font-size:15px; font-weight:normal; line-height:20px; color:#212222; }
  62.         .pf-block-wide p { margin-left:23.315%; /*256/1098*/ }
  63.         .pf-block-wide .footnote-list { margin:24px 0 0 23.315%; /*256/1098*/ }
  64.        
  65.         .pf-txt-left-col { width:100%; margin-left:0; float:none; }
  66.         .pf-txt-left-col p { margin-left:9px; }
  67.        
  68.         .pf-screen { margin-left:2.093%; /*18/860*/ float:left; }
  69.         .pf-block-wide .pf-screen { margin-left:1.640%; /*18/1098*/ }
  70.         .pf-screen-2 { max-width:412px; width:47.907%; /*412/860*/ margin-right:0; }
  71.         .pf-screen-3 { width:45%; margin-right:2.5%; float:left; }
  72.         .pf-screen-3:nth-child(4) { width:100%; }
  73.         .pf-screen-3:nth-child(4) img { width:45%; margin-right:2.5%; float:left; }
  74.         .pf-screen-3:nth-child(4) img:nth-child(odd) { clear:left; }
  75.         .pf-screen-4 { max-width:256px; width:23.315%; /*256/1098*/ margin-right:0; }
  76.        
  77.         .pf-screen img { display:block; max-width:100%; margin:0 0 18px 0; padding:0; }
  78.  
  79.         .pf-placed-iphone { width:382px; position:absolute; right:-68px; bottom:-48px; }
  80.         .pf-placed-single-left { display:none; }
  81.  
  82.         .pf-placed-bent-wireframe-text { width:75.581%; /*650/860*/ position:absolute; left:-27.674%; /*238/860*/ bottom:0; }
  83.         .pf-placed-bent-wireframe-text p { font-size:13px; line-height:18px; }
  84.     }
  85.  
  86. /*------------
  87.     TARGET = SPECIAL breakpoint - Portfolio */
  88.     @media (min-width:800px) {
  89.         .pf-screen-3 { max-width:268px; width:24.408%; /*268/1098*/ margin-right:0; }
  90.         .pf-screen-3:nth-child(4) { max-width:268px; width:24.408%; /*268/1098*/ }
  91.         .pf-screen-3:nth-child(4) img { max-width:268px; width:100%; float:none; }
  92.         .pf-screen-3:nth-child(4) img:nth-child(odd) { clear:none; }
  93.     }
  94.  
  95. /*------------
  96.     TARGET = SPECIAL breakpoint - Portfolio */
  97.     @media (min-width:990px) {     
  98.         .pf-txt-left-col { width:20.036%; /*220/1098*/ margin-left:1.730%; /*19/1098*/ float:left; }
  99.         .pf-txt-left-col p { margin-left:0; font-size:12px; line-height:16px; }
  100.     }
  101.    
  102.  
  103. /*------------
  104.     TARGET = Tablets - landscape mode */
  105.     @media (min-width:1024px) {
  106.         .pf-txt-left-col p { font-size:13px; line-height:18px; }
  107.  
  108.         .pf-placed-bent-wireframe-text p { font-size:15px; line-height:20px; }
  109.     }
  110.  
  111.  
  112. /*------------
  113.     TARGET = Desktops */
  114.     @media (min-width:1278px) {
  115.         .page-portfolio .site-further-details { width:20.370%; /*220*/ position:absolute; left:0; top:400px; }
  116.        
  117.         .pf-txt-left-col p { font-size:15px; line-height:20px; }
  118.        
  119.         .pf-placed-single-left { display:block; position:absolute; left:-220px; bottom:249px; }
  120.  
  121.         .pf-placed-bent-wireframe-text { width:75.581%; /*650/860*/position:absolute; left:-27.674%; /*238/860*/ bottom:auto; top:1528px; }
  122.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement