Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.40 KB | None | 0 0
  1. /*
  2. Theme Name: Fifteen
  3. Theme URI: http://inkhive.com/product/fifteen/
  4. Author: Rohit Tripathi
  5. Author URI: http://inkhive.com/
  6. Description: Fifteen is the Photography or Portfolio based WordPress theme, best suitable for Professional Artists. This theme is built on the HTML5 and CSS3 Framework, Bootstrap 3.0 From Twitter. With a Very Modern Design, this theme is 100% Responsive. 3 Column Grid Layout for Home and Archive Pages, make it look very stunning. It supports Featured images, Custom Widgets, Cool Animations, Full Width Pages and much more.
  7. Version: 1.0.0.3
  8. License: GNU General Public License
  9. License URI: license.txt
  10. Text Domain: fifteen
  11. Domain Path: /languages/
  12. Tags: light, custom-background, two-columns, right-sidebar, responsive-layout, custom-menu, sticky-post, theme-options, threaded-comments, translation-ready, gray, left-sidebar, custom-menu, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, photoblogging
  13.  
  14. Fifteen is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.
  15. Fifteen WordPress Theme, Copyright 2013 Rohit Tripathi.
  16. Fifteen WordPress Theme is distributed under the terms of the GNU GPL v3.
  17. */
  18. /* =Reset
  19. -------------------------------------------------------------- */
  20.  
  21. html, body, div, span, applet, object, iframe,
  22. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  23. a, abbr, acronym, address, big, cite, code,
  24. del, dfn, em, font, ins, kbd, q, s, samp,
  25. small, strike, strong, sub, sup, tt, var,
  26. dl, dt, dd, ol, ul, li,
  27. fieldset, form, label, legend,
  28. table, caption, tbody, tfoot, thead, tr, th, td {
  29. border: 0;
  30. font-family: inherit;
  31. font-size: 100%;
  32. font-style: inherit;
  33. font-weight: inherit;
  34. margin: 0;
  35. outline: 0;
  36. padding: 0;
  37. vertical-align: baseline;
  38. }
  39. html {
  40. font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  41. overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
  42. -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  43. -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
  44. }
  45. body {
  46. word-wrap: break-word;
  47. -ms-word-wrap: break-word;
  48. }
  49. article,
  50. aside,
  51. details,
  52. figcaption,
  53. figure,
  54. footer,
  55. header,
  56. main,
  57. nav,
  58. section {
  59. display: block;
  60. }
  61. ol, ul {
  62. list-style: none;
  63. }
  64. table { /* tables still need 'cellspacing="0"' in the markup */
  65. border-collapse: separate;
  66. border-spacing: 0;
  67. }
  68. caption, th, td {
  69. font-weight: normal;
  70. text-align: left;
  71. }
  72. blockquote:before, blockquote:after,
  73. q:before, q:after {
  74. content: "";
  75. }
  76. blockquote, q {
  77. quotes: "" "";
  78. }
  79. a:focus {
  80. outline: thin dotted;
  81. }
  82. a:hover,
  83. a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
  84. outline: 0;
  85. }
  86. a img {
  87. border: 0;
  88. margin-top: 0.7em;
  89. margin-bottom: 0.7em;
  90. }
  91.  
  92.  
  93. /* =Global
  94. ----------------------------------------------- */
  95.  
  96. body,
  97. button,
  98. input,
  99. select,
  100. textarea {
  101. color: #404040;
  102. font-family: sans-serif;
  103. font-size: 16px;
  104. font-size: 1.6rem;
  105. line-height: 1.5;
  106. }
  107.  
  108. /* Headings */
  109. h1, h2, h3, h4, h5, h6 {
  110. clear: both;
  111. }
  112. hr {
  113. background-color: #ccc;
  114. border: 0;
  115. height: 1px;
  116. margin-bottom: 1.5em;
  117. }
  118.  
  119. /* Text elements */
  120. p {
  121. margin-bottom: 1.5em;
  122. }
  123. ul, ol {
  124. margin: 0 0 1.5em 3em;
  125. }
  126. ul {
  127. list-style: disc;
  128. }
  129. ol {
  130. list-style: decimal;
  131. }
  132. li > ul,
  133. li > ol {
  134. margin-bottom: 0;
  135. margin-left: 1.5em;
  136. }
  137. dt {
  138. font-weight: bold;
  139. }
  140. dd {
  141. margin: 0 1.5em 1.5em;
  142. }
  143. b, strong {
  144. font-weight: bold;
  145. }
  146. dfn, cite, em, i {
  147. font-style: italic;
  148. }
  149. blockquote {
  150. margin: 0 1.5em;
  151. }
  152. address {
  153. margin: 0 0 1.5em;
  154. }
  155. pre {
  156. background: #eee;
  157. font-family: "Courier 10 Pitch", Courier, monospace;
  158. font-size: 15px;
  159. font-size: 1.5rem;
  160. line-height: 1.6;
  161. margin-bottom: 1.6em;
  162. max-width: 100%;
  163. overflow: auto;
  164. padding: 1.6em;
  165. }
  166. code, kbd, tt, var {
  167. font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  168. }
  169. abbr, acronym {
  170. border-bottom: 1px dotted #666;
  171. cursor: help;
  172. }
  173. mark, ins {
  174. background: #fff9c0;
  175. text-decoration: none;
  176. }
  177. sup,
  178. sub {
  179. font-size: 75%;
  180. height: 0;
  181. line-height: 0;
  182. position: relative;
  183. vertical-align: baseline;
  184. }
  185. sup {
  186. bottom: 1ex;
  187. }
  188. sub {
  189. top: .5ex;
  190. }
  191. small {
  192. font-size: 75%;
  193. }
  194. big {
  195. font-size: 125%;
  196. }
  197. figure {
  198. margin: 0;
  199. }
  200. table {
  201. margin: 0 0 1.5em;
  202. width: 100%;
  203. }
  204. th {
  205. font-weight: bold;
  206. }
  207. img {
  208. height: auto; /* Make sure images are scaled correctly. */
  209. max-width: 100%; /* Adhere to container width. */
  210. }
  211. button,
  212. input,
  213. select,
  214. textarea {
  215. font-size: 100%; /* Corrects font size not being inherited in all browsers */
  216. margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
  217. vertical-align: baseline; /* Improves appearance and consistency in all browsers */
  218. *vertical-align: middle; /* Improves appearance and consistency in all browsers */
  219. }
  220. button,
  221. input {
  222. line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
  223. }
  224. button,
  225. html input[type="button"],
  226. input[type="reset"],
  227. input[type="submit"] {
  228. border: 1px solid #ccc;
  229. border-color: #ccc #ccc #bbb #ccc;
  230. border-radius: 3px;
  231. background: #e6e6e6;
  232. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
  233. color: rgba(0, 0, 0, .8);
  234. cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
  235. -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
  236. font-size: 12px;
  237. font-size: 1.2rem;
  238. line-height: 1;
  239. padding: .6em 1em .4em;
  240. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  241. }
  242. button:hover,
  243. html input[type="button"]:hover,
  244. input[type="reset"]:hover,
  245. input[type="submit"]:hover {
  246. border-color: #ccc #bbb #aaa #bbb;
  247. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
  248. }
  249. button:focus,
  250. html input[type="button"]:focus,
  251. input[type="reset"]:focus,
  252. input[type="submit"]:focus,
  253. button:active,
  254. html input[type="button"]:active,
  255. input[type="reset"]:active,
  256. input[type="submit"]:active {
  257. border-color: #aaa #bbb #bbb #bbb;
  258. box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
  259. }
  260. input[type="checkbox"],
  261. input[type="radio"] {
  262. box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
  263. padding: 0; /* Addresses excess padding in IE8/9 */
  264. }
  265. input[type="search"] {
  266. -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
  267. -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
  268. -moz-box-sizing: content-box;
  269. box-sizing: content-box;
  270. }
  271. input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
  272. -webkit-appearance: none;
  273. }
  274. button::-moz-focus-inner,
  275. input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
  276. border: 0;
  277. padding: 0;
  278. }
  279. input[type="text"],
  280. input[type="email"],
  281. input[type="url"],
  282. input[type="password"],
  283. input[type="search"],
  284. textarea {
  285. color: #666;
  286. border: 1px solid #ccc;
  287. border-radius: 3px;
  288. }
  289. input[type="text"]:focus,
  290. input[type="email"]:focus,
  291. input[type="url"]:focus,
  292. input[type="password"]:focus,
  293. input[type="search"]:focus,
  294. textarea:focus {
  295. color: #111;
  296. }
  297. input[type="text"],
  298. input[type="email"],
  299. input[type="url"],
  300. input[type="password"],
  301. input[type="search"] {
  302. padding: 3px;
  303. }
  304. textarea {
  305. overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
  306. padding-left: 3px;
  307. vertical-align: top; /* Improves readability and alignment in all browsers */
  308. width: 98%;
  309. }
  310.  
  311. /* Alignment */
  312. .alignleft {
  313. display: inline;
  314. float: left;
  315. margin-right: 1.5em;
  316. }
  317. .alignright {
  318. display: inline;
  319. float: right;
  320. margin-left: 1.5em;
  321. }
  322. .aligncenter {
  323. clear: both;
  324. display: block;
  325. margin: 0 auto;
  326. }
  327.  
  328. /* Text meant only for screen readers */
  329. .screen-reader-text {
  330. clip: rect(1px, 1px, 1px, 1px);
  331. position: absolute !important;
  332. }
  333.  
  334. .screen-reader-text:hover,
  335. .screen-reader-text:active,
  336. .screen-reader-text:focus {
  337. background-color: #f1f1f1;
  338. border-radius: 3px;
  339. box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  340. clip: auto !important;
  341. color: #21759b;
  342. display: block;
  343. font-size: 14px;
  344. font-weight: bold;
  345. height: auto;
  346. left: 5px;
  347. line-height: normal;
  348. padding: 15px 23px 14px;
  349. text-decoration: none;
  350. top: 5px;
  351. width: auto;
  352. z-index: 100000; /* Above WP toolbar */
  353. }
  354.  
  355. /* Clearing */
  356. .clear:before,
  357. .clear:after,
  358. .entry-content:before,
  359. .entry-content:after,
  360. .comment-content:before,
  361. .comment-content:after,
  362. .site-header:before,
  363. .site-header:after,
  364. .site-content:before,
  365. .site-content:after,
  366. .site-footer:before,
  367. .site-footer:after {
  368. content: '';
  369. display: table;
  370. }
  371.  
  372. .clear:after,
  373. .entry-content:after,
  374. .comment-content:after,
  375. .site-header:after,
  376. .site-content:after,
  377. .site-footer:after {
  378. clear: both;
  379. }
  380.  
  381.  
  382.  
  383. /* =Content
  384. ----------------------------------------------- */
  385.  
  386. .sticky {
  387. }
  388. .hentry {
  389. margin: 0 0 1.5em;
  390. }
  391. .byline,
  392. .updated {
  393. display: none;
  394. }
  395. .single .byline,
  396. .group-blog .byline {
  397. display: inline;
  398. }
  399. .page-content,
  400. .entry-content,
  401. .entry-summary {
  402. margin: 1.5em 0 0;
  403. }
  404. .page-links {
  405. clear: both;
  406. margin: 0 0 1.5em;
  407. }
  408.  
  409.  
  410. /* =Asides
  411. ----------------------------------------------- */
  412.  
  413. .blog .format-aside .entry-title,
  414. .archive .format-aside .entry-title {
  415. display: none;
  416. }
  417.  
  418.  
  419. /* =Media
  420. ----------------------------------------------- */
  421.  
  422. .page-content img.wp-smiley,
  423. .entry-content img.wp-smiley,
  424. .comment-content img.wp-smiley {
  425. border: none;
  426. margin-bottom: 0;
  427. margin-top: 0;
  428. padding: 0;
  429. }
  430. .wp-caption {
  431. border: 1px solid #ccc;
  432. margin-bottom: 1.5em;
  433. max-width: 100%;
  434. }
  435. .wp-caption img[class*="wp-image-"] {
  436. display: block;
  437. margin: 1.2% auto 0;
  438. max-width: 98%;
  439. }
  440. .wp-caption-text {
  441. text-align: center;
  442. }
  443. .wp-caption .wp-caption-text {
  444. margin: 0.8075em 0;
  445. }
  446. .site-main .gallery {
  447. margin-bottom: 1.5em;
  448. }
  449. .gallery-caption {
  450. }
  451. .site-main .gallery a img {
  452. border: none;
  453. height: auto;
  454. max-width: 90%;
  455. }
  456. .site-main .gallery dd {
  457. margin: 0;
  458. }
  459. .site-main .gallery-columns-4 .gallery-item {
  460. }
  461. .site-main .gallery-columns-4 .gallery-item img {
  462. }
  463.  
  464. /* Make sure embeds and iframes fit their containers */
  465. embed,
  466. iframe,
  467. object {
  468. max-width: 100%;
  469. }
  470.  
  471.  
  472. /* =Navigation
  473. ----------------------------------------------- */
  474.  
  475. .site-main [class*="navigation"] {
  476. margin: 0 0 1.5em;
  477. overflow: hidden;
  478. }
  479. [class*="navigation"] .nav-previous {
  480. float: left;
  481. width: 50%;
  482. }
  483. [class*="navigation"] .nav-next {
  484. float: right;
  485. text-align: right;
  486. width: 50%;
  487. }
  488.  
  489.  
  490. /* =Comments
  491. ----------------------------------------------- */
  492.  
  493. .comment-content a {
  494. word-wrap: break-word;
  495. }
  496. .bypostauthor {
  497. }
  498.  
  499.  
  500. /* =Widgets
  501. ----------------------------------------------- */
  502.  
  503. .widget {
  504. margin: 0 0 1.5em;
  505. }
  506.  
  507. /* Make sure select elements fit in widgets */
  508. .widget select {
  509. max-width: 100%;
  510. }
  511.  
  512. /* Search widget */
  513. .widget_search .search-submit {
  514. display: none;
  515. }
  516.  
  517.  
  518. /* =Infinite Scroll
  519. ----------------------------------------------- */
  520.  
  521. /* Globally hidden elements when Infinite Scroll is supported and in use. */
  522. .infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
  523. .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
  524. display: none;
  525. }
  526.  
  527. /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
  528. .infinity-end.neverending .site-footer {
  529. display: block;
  530. }
  531. .byline {
  532. display: inline !important;
  533. }
  534. ol.comment-list {
  535. margin-left: 0;
  536. }
  537. /* = Fix for equalHeights
  538. ----------------------------------------------- */
  539.  
  540. @media screen and (min-width: 1200px) {
  541. .featured-thumb {
  542. min-height: 207px !important;
  543. overflow: hidden;
  544. }
  545. }
  546. @media screen and (min-width: 992px) and (max-width: 1199px) {
  547. .featured-thumb {
  548. min-height: 170px !important;
  549. overflow: hidden;
  550. }
  551. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement