Advertisement
Guest User

Untitled

a guest
Jul 14th, 2013
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.83 KB | None | 0 0
  1. /*
  2. Theme Name: photobLAg
  3. Description: A simple one-page photo flow blog theme
  4. Version: 1.0
  5. Author: Roope Palomäki
  6. */
  7.  
  8. /*
  9. Colors:
  10. background  #eee
  11. black       #111
  12. white       #fffeee
  13. light blue  #76B1C4
  14. dark blue   #23353B
  15.  
  16. */
  17.  
  18. html, body, div, h1, h2, h3, p, ul, li, img {
  19.     margin: 0;
  20.     padding: 0;
  21.     border: 0;
  22. }
  23.  
  24. body {
  25.     background: #eee;
  26.     font:  14px "Helvetica Neue", Helvetica, Arial, sans-serif;
  27. }
  28.  
  29. a {
  30.     text-decoration: none;
  31. }
  32.  
  33.  
  34. #container {
  35.     position: relative;
  36.     width: 100%;
  37.     margin: 0 auto;
  38.     padding: 50px 0;
  39. }
  40.  
  41. #content-holder {
  42.     width: 100%;
  43. }
  44.  
  45. header {
  46.     width: 22%;
  47.     height: 11%;
  48.     min-height: 90px;
  49.     background: #111;
  50.     position: fixed;
  51.     right: 0;
  52.            
  53.     display: -webkit-box;
  54.     -webkit-box-align: center;
  55.     display: -moz-box;
  56.     -moz-box-align: center;
  57.     display: -ms-box;
  58.     -ms-box-align: center;
  59.     display: box;
  60.     box-align: center;
  61.    
  62.     -webkit-border-top-left-radius: 15px;
  63.     -webkit-border-bottom-left-radius: 15px;
  64.     -moz-border-radius-topleft: 15px;
  65.     -moz-border-radius-bottomleft: 15px;
  66.     border-top-left-radius: 15px;
  67.     border-bottom-left-radius: 15px;
  68. }
  69.  
  70. header a {
  71.     font: 30px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  72.     color: #fffeee;
  73.     margin-left: 30px;
  74. }
  75.  
  76. header span {
  77.     display: block;
  78.     color: #76B1C4;
  79.     margin-left: 30px;
  80.     font: 12px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  81.    
  82. }
  83.  
  84. .post-holder {
  85.     margin-bottom: 50px;
  86. /*  margin-left: 5%;*/
  87.     width: 100%;
  88.     position: relative;
  89.     display: -webkit-box;
  90.     -webkit-box-align: center;
  91.     display: -moz-box;
  92.     -moz-box-align: center;
  93.     display: -ms-box;
  94.     -ms-box-align: center;
  95.     display: box;
  96.     box-align: center;
  97. }
  98.  
  99. .post-image {
  100.     width: 75%;
  101. }
  102.  
  103. .post-image-sizer {
  104.     width: 100%;
  105.     padding-bottom: 56.25%;
  106.     position: relative;
  107. }
  108.  
  109. .post-image img {
  110.     -webkit-border-top-right-radius: 15px;
  111.     -webkit-border-bottom-right-radius: 15px;
  112.     -moz-border-radius-topright: 15px;
  113.     -moz-border-radius-bottomright: 15px;
  114.     border-top-right-radius: 15px;
  115.     border-bottom-right-radius: 15px;
  116.  
  117.     height: 100%;
  118.     width: 100%;
  119.     position: absolute;
  120.     top: 0;
  121.     left: 0;
  122.    
  123.    
  124.    
  125. }
  126.  
  127. .post-image {
  128.     filter: grayscale(1);
  129.     -webkit-filter: grayscale(1);
  130.     -moz-filter: grayscale(1);
  131.     -webkit-transition: all 0.5s;  /* Saf3.2+, Chrome */
  132.     -moz-transition: all 0.5s;  /* FF4+ */
  133.     -ms-transition: all 0.5s;  /* IE10 */
  134.     -o-transition: all 0.5s;  /* Opera 10.5+ */
  135.     transition: all 0.5s;
  136.    
  137.     -webkit-backface-visibility: hidden; /* Fix for transition flickering */
  138. }
  139.  
  140. .post-image:hover {
  141.     filter: grayscale(0);
  142.     -webkit-filter: grayscale(0);
  143.     -moz-filter: grayscale(0);
  144.     -webkit-transition: all 0.5s;  /* Saf3.2+, Chrome */
  145.     -moz-transition: all 0.5s;  /* FF4+ */
  146.     -ms-transition: all 0.5s;  /* IE10 */
  147.     -o-transition: all 0.5s;  /* Opera 10.5+ */
  148.     transition: all 0.5s;
  149. }
  150.  
  151. .actions {
  152.     position: absolute;
  153.     left: 50%;
  154.     bottom: 60px;
  155.     margin-left: -85px;
  156.     height: 70px;
  157.     width: 170px;
  158. }
  159.  
  160. .btn {
  161.     float: left;
  162. /*  height: 70px;*/
  163.     width: 70px;
  164.     background: #010101;
  165.     -webkit-border-radius: 100%;
  166.     -moz-border-radius: 100%;
  167.     -o-border-radius: 100%;
  168.     border-radius: 100%;
  169.    
  170.   visibility:hidden;
  171.   height:0;
  172.   opacity:0;
  173.   -webkit-transition: opacity .4s ease-in-out;
  174.   -moz-transition: opacity .4s ease-in-out;
  175.   -ms-transition: opacity .4s ease-in-out;
  176.   -o-transition: opacity .4s ease-in-out;
  177.   transition: opacity .4s ease-in-out;
  178. }
  179.  
  180. .post-image:hover .actions .btn {
  181.     visibility:visible;
  182.     height:70px;
  183.     opacity: 0.5;
  184.     -webkit-transition: opacity .2s ease-in;
  185.     -moz-transition: opacity .2s ease-in;
  186.     -ms-transition: opacity .2s ease-in;
  187.     -o-transition: opacity .2s ease-in;
  188.     transition: opacity .2s ease-in;
  189. }
  190.  
  191. .post-image:hover .actions .btn:hover {
  192.     cursor: pointer;
  193.     opacity: 1;
  194.     -webkit-transition: opacity .2s linear;
  195.     -moz-transition: opacity .2s linear;
  196.     -ms-transition: opacity .2s linear;
  197.     -o-transition: opacity .2s linear;
  198.     transition: opacity .2s linear;
  199. }
  200.  
  201. .download {
  202.     margin-right: 20px;
  203. }
  204.  
  205. .btn .centered {
  206.        display: -webkit-box;   /* OLD: Safari,  iOS, Android browser, older WebKit browsers.  */
  207.        display: -moz-box;      /* OLD: Firefox (buggy) */
  208.        display: -ms-flexbox;   /* MID: IE 10 */
  209.        display: -webkit-flex;  /* NEW, Chrome 21+ */
  210.        display: flex;          /* NEW: Opera 12.1, Firefox 22+ */
  211.    
  212.        -webkit-box-align: center; -moz-box-align: center; /* OLD… */
  213.        -ms-flex-align: center; /* You know the drill now… */
  214.        -webkit-align-items: center;
  215.        align-items: center;
  216.    
  217.        -webkit-box-pack: center; -moz-box-pack: center;
  218.        -ms-flex-pack: center;
  219.        -webkit-justify-content: center;
  220.        justify-content: center;
  221.    
  222.        margin: 0;
  223.        height: 100%;
  224.        width: 100%; /* needed for Firefox */
  225.        
  226.        color: #fffeee;
  227.        text-align: center;
  228. }
  229.  
  230.  
  231.  
  232. .post-info {
  233.     width: 8%;
  234.     float: right;
  235.     background: #111;
  236.     color: #fffeee;
  237.     position: absolute;
  238.     top: 20%;
  239.     bottom: 60%;
  240.     right: 24%;
  241.            
  242.     display: -webkit-box;
  243.     -webkit-box-align: center;
  244.     display: -moz-box;
  245.     -moz-box-align: center;
  246.     display: -ms-box;
  247.     -ms-box-align: center;
  248.     display: box;
  249.     box-align: center;
  250.    
  251.     -webkit-border-top-left-radius: 100%;
  252.     -webkit-border-bottom-left-radius: 100%;
  253.     -moz-border-radius-topleft: 100%;
  254.     -moz-border-radius-bottomleft: 100%;
  255.     border-top-left-radius: 100%;
  256.     border-bottom-left-radius: 100%;
  257.     -webkit-border-top-right-radius: 20px;
  258.     -webkit-border-bottom-right-radius: 20px;
  259.     -moz-border-radius-topright: 20px;
  260.     -moz-border-radius-bottomright: 20px;
  261.     border-top-right-radius: 20px;
  262.     border-bottom-right-radius: 20px;
  263.  
  264.     overflow: hidden;
  265. }
  266.  
  267. .post-title {
  268.     padding: 0 20px;
  269.     font: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  270.     font-weight: 600;
  271.     text-transform: uppercase;
  272. }
  273.  
  274. .post-date {
  275.     padding: 0 20px;
  276.     font: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  277.     font-weight: 600;
  278. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement