Advertisement
Guest User

Untitled

a guest
May 18th, 2017
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.85 KB | None | 0 0
  1. /*
  2. Theme Name: Layla
  3. Theme URI: https://smartcatdesign.net/smartcat-products/layla-wordpress-theme/
  4. Author: Smartcat
  5. Author URI: https://smartcatdesign.net/
  6. Description: Layla is a clean & responsive multi-purpose theme that is easy to use by users of all levels. Layla allows you to utilize your content into creating a powerful site for your business. This theme can be used to create a website or a landing page for your business, online store or product. Additionally it is very convinient for a start-up company.
  7. Version: 1.3.0
  8. License: GNU General Public License v3 or later
  9. License URI: https://www.gnu.org/licenses/gpl-3.0.txt
  10. Text Domain: layla
  11. Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-colors, featured-images, full-width-template, theme-options, translation-ready, blog, e-commerce, portfolio, custom-header, rtl-language-support
  12.  
  13. Copyright 2017 Smartcat
  14.  
  15. This theme, like WordPress, is licensed under the GPL.
  16. Use it to make something cool, have fun, and share what you've learned with others.
  17.  
  18. Layla is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
  19. Underscores is distributed under the terms of the GNU GPL v2 or later.
  20.  
  21. Normalizing styles have been helped along thanks to the fine work of
  22. Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
  23. */
  24.  
  25. /*--------------------------------------------------------------
  26. >>> TABLE OF CONTENTS:
  27. ----------------------------------------------------------------
  28. # Normalize
  29. # Typography
  30. # Elements
  31. # Forms
  32. # Navigation
  33. ## Links
  34. ## Menus
  35. # Accessibility
  36. # Alignments
  37. # Clearings
  38. # Widgets
  39. # Content
  40. ## Posts and pages
  41. ## Asides
  42. ## Comments
  43. # Infinite scroll
  44. # Media
  45. ## Captions
  46. ## Galleries
  47. --------------------------------------------------------------*/
  48.  
  49. /*--------------------------------------------------------------
  50. # Normalize
  51. --------------------------------------------------------------*/
  52. html {
  53. font-family: sans-serif;
  54. -webkit-text-size-adjust: 100%;
  55. -ms-text-size-adjust: 100%;
  56. }
  57.  
  58. body {
  59. margin: 0;
  60. }
  61.  
  62. article,
  63. aside,
  64. details,
  65. figcaption,
  66. figure,
  67. footer,
  68. header,
  69. main,
  70. menu,
  71. nav,
  72. section,
  73. summary {
  74. display: block;
  75. }
  76.  
  77. audio,
  78. canvas,
  79. progress,
  80. video {
  81. display: inline-block;
  82. vertical-align: baseline;
  83. }
  84.  
  85. audio:not([controls]) {
  86. display: none;
  87. height: 0;
  88. }
  89.  
  90. [hidden],
  91. template {
  92. display: none;
  93. }
  94.  
  95. a {
  96. background-color: transparent;
  97. }
  98.  
  99. a:active,
  100. a:hover {
  101. outline: 0;
  102. }
  103.  
  104. abbr[title] {
  105. border-bottom: 1px dotted;
  106. }
  107.  
  108. b,
  109. strong {
  110. font-weight: bold;
  111. }
  112.  
  113. dfn {
  114. font-style: italic;
  115. }
  116.  
  117. h1 {
  118. font-size: 2em;
  119. margin: 0.67em 0;
  120. }
  121.  
  122. mark {
  123. background: #ff0;
  124. color: #000;
  125. }
  126.  
  127. small {
  128. font-size: 80%;
  129. }
  130.  
  131. sub,
  132. sup {
  133. font-size: 75%;
  134. line-height: 0;
  135. position: relative;
  136. vertical-align: baseline;
  137. }
  138.  
  139. sup {
  140. top: -0.5em;
  141. }
  142.  
  143. sub {
  144. bottom: -0.25em;
  145. }
  146.  
  147. img {
  148. border: 0;
  149. }
  150.  
  151. svg:not(:root) {
  152. overflow: hidden;
  153. }
  154.  
  155. figure {
  156. margin: 1em 40px;
  157. }
  158.  
  159. hr {
  160. box-sizing: content-box;
  161. height: 0;
  162. }
  163.  
  164. pre {
  165. overflow: auto;
  166. }
  167.  
  168. code,
  169. kbd,
  170. pre,
  171. samp {
  172. font-family: monospace, monospace;
  173. font-size: 1em;
  174. }
  175.  
  176. button,
  177. input,
  178. optgroup,
  179. select,
  180. textarea {
  181. color: inherit;
  182. font: inherit;
  183. margin: 0;
  184. }
  185.  
  186. button {
  187. overflow: visible;
  188. }
  189.  
  190. button,
  191. select {
  192. text-transform: none;
  193. }
  194.  
  195. button,
  196. html input[type="button"],
  197. input[type="reset"],
  198. input[type="submit"] {
  199. -webkit-appearance: button;
  200. cursor: pointer;
  201. }
  202.  
  203. button[disabled],
  204. html input[disabled] {
  205. cursor: default;
  206. }
  207.  
  208. button::-moz-focus-inner,
  209. input::-moz-focus-inner {
  210. border: 0;
  211. padding: 0;
  212. }
  213.  
  214. input {
  215. line-height: normal;
  216. }
  217.  
  218. input[type="checkbox"],
  219. input[type="radio"] {
  220. box-sizing: border-box;
  221. padding: 0;
  222. }
  223.  
  224. input[type="number"]::-webkit-inner-spin-button,
  225. input[type="number"]::-webkit-outer-spin-button {
  226. height: auto;
  227. }
  228.  
  229. input[type="search"] {
  230. -webkit-appearance: textfield;
  231. box-sizing: content-box;
  232. }
  233.  
  234. input[type="search"]::-webkit-search-cancel-button,
  235. input[type="search"]::-webkit-search-decoration {
  236. -webkit-appearance: none;
  237. }
  238.  
  239. fieldset {
  240. border: 1px solid #c0c0c0;
  241. margin: 0 2px;
  242. padding: 0.35em 0.625em 0.75em;
  243. }
  244.  
  245. legend {
  246. border: 0;
  247. padding: 0;
  248. }
  249.  
  250. textarea {
  251. overflow: auto;
  252. }
  253.  
  254. optgroup {
  255. font-weight: bold;
  256. }
  257.  
  258. table {
  259. border-collapse: collapse;
  260. border-spacing: 0;
  261. }
  262.  
  263. td,
  264. th {
  265. padding: 0;
  266. }
  267.  
  268. /*--------------------------------------------------------------
  269. # Typography
  270. --------------------------------------------------------------*/
  271. body,
  272. button,
  273. input,
  274. select,
  275. textarea {
  276. color: #404040;
  277. font-family: sans-serif;
  278. font-size: 16px;
  279. font-size: 1rem;
  280. line-height: 1.5;
  281. }
  282.  
  283. h1,
  284. h2,
  285. h3,
  286. h4,
  287. h5,
  288. h6 {
  289. clear: both;
  290. }
  291.  
  292. p {
  293. margin-bottom: 1.5em;
  294. }
  295.  
  296. dfn,
  297. cite,
  298. em,
  299. i {
  300. font-style: italic;
  301. }
  302.  
  303. blockquote {
  304. margin: 0 1.5em;
  305. }
  306.  
  307. address {
  308. margin: 0 0 1.5em;
  309. }
  310.  
  311. pre {
  312. background: #eee;
  313. font-family: "Courier 10 Pitch", Courier, monospace;
  314. font-size: 15px;
  315. font-size: 0.9375rem;
  316. line-height: 1.6;
  317. margin-bottom: 1.6em;
  318. max-width: 100%;
  319. overflow: auto;
  320. padding: 1.6em;
  321. }
  322.  
  323. code,
  324. kbd,
  325. tt,
  326. var {
  327. font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  328. font-size: 15px;
  329. font-size: 0.9375rem;
  330. }
  331.  
  332. abbr,
  333. acronym {
  334. border-bottom: 1px dotted #666;
  335. cursor: help;
  336. }
  337.  
  338. mark,
  339. ins {
  340. background: #fff9c0;
  341. text-decoration: none;
  342. }
  343.  
  344. big {
  345. font-size: 125%;
  346. }
  347.  
  348. /*--------------------------------------------------------------
  349. # Elements
  350. --------------------------------------------------------------*/
  351. html {
  352. box-sizing: border-box;
  353. }
  354.  
  355. *,
  356. *:before,
  357. *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  358. box-sizing: inherit;
  359. }
  360.  
  361. body {
  362. background: #fff; /* Fallback for when there is no custom background color defined. */
  363. }
  364.  
  365. blockquote:before,
  366. blockquote:after,
  367. q:before,
  368. q:after {
  369. content: "";
  370. }
  371.  
  372. blockquote,
  373. q {
  374. quotes: "" "";
  375. }
  376.  
  377. hr {
  378. background-color: #ccc;
  379. border: 0;
  380. height: 1px;
  381. margin-bottom: 1.5em;
  382. }
  383.  
  384. ul,
  385. ol {
  386. margin: 0 0 1.5em 3em;
  387. }
  388.  
  389. ul {
  390. list-style: disc;
  391. }
  392.  
  393. ol {
  394. list-style: decimal;
  395. }
  396.  
  397. li > ul,
  398. li > ol {
  399. margin-bottom: 0;
  400. margin-left: 1.5em;
  401. }
  402.  
  403. dt {
  404. font-weight: bold;
  405. }
  406.  
  407. dd {
  408. margin: 0 1.5em 1.5em;
  409. }
  410.  
  411. img {
  412. height: auto; /* Make sure images are scaled correctly. */
  413. max-width: 100%; /* Adhere to container width. */
  414. }
  415.  
  416. table {
  417. margin: 0 0 1.5em;
  418. width: 100%;
  419. }
  420.  
  421. /*--------------------------------------------------------------
  422. # Forms
  423. --------------------------------------------------------------*/
  424. button,
  425. input[type="button"],
  426. input[type="reset"],
  427. input[type="submit"] {
  428. padding: 10px;
  429. color: #fff;
  430. background: #C8C8C8;
  431. background: rgba( 200, 200, 200, 0.9 );
  432. margin-right: 10px !important;
  433. display: inline-block;
  434. cursor: pointer;
  435. transition: 0.2s all ease-in-out;
  436. outline: none;
  437. border: none;
  438. }
  439.  
  440. button:hover,
  441. input[type="button"]:hover,
  442. input[type="reset"]:hover,
  443. input[type="submit"]:hover {
  444. color: #fff;
  445. background: #505050;
  446. }
  447.  
  448. button:focus,
  449. input[type="button"]:focus,
  450. input[type="reset"]:focus,
  451. input[type="submit"]:focus,
  452. button:active,
  453. input[type="button"]:active,
  454. input[type="reset"]:active,
  455. input[type="submit"]:active {
  456. /* border-color: #aaa #bbb #bbb;
  457. box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);*/
  458. }
  459.  
  460. input[type="text"],
  461. input[type="email"],
  462. input[type="url"],
  463. input[type="password"],
  464. input[type="search"],
  465. textarea {
  466. color: #666;
  467. border: 1px solid #ccc;
  468. border-radius: 3px;
  469. }
  470.  
  471. input[type="text"]:focus,
  472. input[type="email"]:focus,
  473. input[type="url"]:focus,
  474. input[type="password"]:focus,
  475. input[type="search"]:focus,
  476. textarea:focus {
  477. color: #111;
  478. }
  479.  
  480. input[type="text"],
  481. input[type="email"],
  482. input[type="url"],
  483. input[type="password"],
  484. input[type="search"] {
  485. padding: 3px;
  486. }
  487.  
  488. textarea {
  489. padding-left: 3px;
  490. width: 100%;
  491. }
  492.  
  493. /*--------------------------------------------------------------
  494. # Navigation
  495. --------------------------------------------------------------*/
  496. /*--------------------------------------------------------------
  497. ## Links
  498. --------------------------------------------------------------*/
  499. a {
  500. color: royalblue;
  501. }
  502.  
  503. a:visited {
  504. color: purple;
  505. }
  506.  
  507. a:hover,
  508. a:focus,
  509. a:active {
  510. color: midnightblue;
  511. }
  512.  
  513. a:focus {
  514. outline: thin dotted;
  515. }
  516.  
  517. a:hover,
  518. a:active {
  519. outline: 0;
  520. }
  521.  
  522. /*--------------------------------------------------------------
  523. ## Menus
  524. --------------------------------------------------------------*/
  525. .main-navigation {
  526. clear: both;
  527. display: block;
  528. float: left;
  529. width: 100%;
  530. }
  531.  
  532. .main-navigation ul {
  533. display: none;
  534. list-style: none;
  535. margin: 0;
  536. padding-left: 0;
  537. }
  538.  
  539. .main-navigation li {
  540. float: left;
  541. position: relative;
  542. }
  543.  
  544. .main-navigation a {
  545. display: block;
  546. text-decoration: none;
  547. }
  548.  
  549. .main-navigation ul ul {
  550. box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  551. float: left;
  552. position: absolute;
  553. top: 1.5em;
  554. left: -999em;
  555. z-index: 99999;
  556. }
  557.  
  558. .main-navigation ul ul ul {
  559. left: -999em;
  560. top: 0;
  561. }
  562.  
  563. .main-navigation ul ul a {
  564. width: 200px;
  565. }
  566.  
  567. .main-navigation ul ul li {
  568.  
  569. }
  570.  
  571. .main-navigation li:hover > a,
  572. .main-navigation li.focus > a {
  573. }
  574.  
  575. .main-navigation ul ul :hover > a,
  576. .main-navigation ul ul .focus > a {
  577. }
  578.  
  579. .main-navigation ul ul a:hover,
  580. .main-navigation ul ul a.focus {
  581. }
  582.  
  583. .main-navigation ul li:hover > ul,
  584. .main-navigation ul li.focus > ul {
  585. left: auto;
  586. }
  587.  
  588. .main-navigation ul ul li:hover > ul,
  589. .main-navigation ul ul li.focus > ul {
  590. left: 100%;
  591. }
  592.  
  593. .main-navigation .current_page_item > a,
  594. .main-navigation .current-menu-item > a,
  595. .main-navigation .current_page_ancestor > a {
  596. }
  597.  
  598. /* Small menu. */
  599. .menu-toggle,
  600. .main-navigation.toggled ul {
  601. display: block;
  602. }
  603.  
  604. @media screen and (min-width: 37.5em) {
  605. .menu-toggle {
  606. display: none;
  607. }
  608. .main-navigation ul {
  609. display: block;
  610. }
  611. }
  612.  
  613. .site-main .comment-navigation,
  614. .site-main .posts-navigation,
  615. .site-main .post-navigation {
  616. margin: 0 0 1.5em;
  617. overflow: hidden;
  618. }
  619.  
  620. .comment-navigation .nav-previous,
  621. .posts-navigation .nav-previous,
  622. .post-navigation .nav-previous {
  623. float: left;
  624. width: 50%;
  625. }
  626.  
  627. .comment-navigation .nav-next,
  628. .posts-navigation .nav-next,
  629. .post-navigation .nav-next {
  630. float: right;
  631. text-align: right;
  632. width: 50%;
  633. }
  634.  
  635. /*--------------------------------------------------------------
  636. # Accessibility
  637. --------------------------------------------------------------*/
  638. /* Text meant only for screen readers. */
  639. .screen-reader-text {
  640. clip: rect(1px, 1px, 1px, 1px);
  641. position: absolute !important;
  642. height: 1px;
  643. width: 1px;
  644. overflow: hidden;
  645. }
  646.  
  647. .screen-reader-text:focus {
  648. background-color: #f1f1f1;
  649. border-radius: 3px;
  650. box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  651. clip: auto !important;
  652. color: #21759b;
  653. display: block;
  654. font-size: 14px;
  655. font-size: 0.875rem;
  656. font-weight: bold;
  657. height: auto;
  658. left: 5px;
  659. line-height: normal;
  660. padding: 15px 23px 14px;
  661. text-decoration: none;
  662. top: 5px;
  663. width: auto;
  664. z-index: 100000; /* Above WP toolbar. */
  665. }
  666.  
  667. /*--------------------------------------------------------------
  668. # Alignments
  669. --------------------------------------------------------------*/
  670. .alignleft {
  671. display: inline;
  672. float: left;
  673. margin-right: 1.5em;
  674. }
  675.  
  676. .alignright {
  677. display: inline;
  678. float: right;
  679. margin-left: 1.5em;
  680. }
  681.  
  682. .aligncenter {
  683. clear: both;
  684. display: block;
  685. margin-left: auto;
  686. margin-right: auto;
  687. }
  688.  
  689. /*--------------------------------------------------------------
  690. # Clearings
  691. --------------------------------------------------------------*/
  692. .clear:before,
  693. .clear:after,
  694. .entry-content:before,
  695. .entry-content:after,
  696. .comment-content:before,
  697. .comment-content:after,
  698. .site-header:before,
  699. .site-header:after,
  700. .site-content:before,
  701. .site-content:after,
  702. .site-footer:before,
  703. .site-footer:after {
  704. content: "";
  705. display: table;
  706. }
  707.  
  708. .clear:after,
  709. .entry-content:after,
  710. .comment-content:after,
  711. .site-header:after,
  712. .site-content:after,
  713. .site-footer:after {
  714. clear: both;
  715. }
  716.  
  717. /*--------------------------------------------------------------
  718. # Widgets
  719. --------------------------------------------------------------*/
  720. .widget {
  721. margin: 0 0 1.5em;
  722. }
  723.  
  724. /* Make sure select elements fit in widgets. */
  725. .widget select {
  726. max-width: 100%;
  727. color: #4D5051;
  728. }
  729.  
  730. /* Search widget. */
  731. .widget_search .search-submit {
  732. display: none;
  733. }
  734.  
  735. /*--------------------------------------------------------------
  736. # Content
  737. --------------------------------------------------------------*/
  738. /*--------------------------------------------------------------
  739. ## Posts and pages
  740. --------------------------------------------------------------*/
  741. .sticky {
  742. display: block;
  743. }
  744.  
  745. .hentry {
  746. margin: 0 0 1.5em;
  747. }
  748.  
  749. .byline,
  750. .updated:not(.published) {
  751. display: none;
  752. }
  753.  
  754. .single .byline,
  755. .group-blog .byline {
  756. display: inline;
  757. }
  758.  
  759. .page-content,
  760. .entry-content,
  761. .entry-summary {
  762. margin: 1.5em 0 0;
  763. }
  764.  
  765. .page-links {
  766. clear: both;
  767. margin: 0 0 1.5em;
  768. }
  769.  
  770. /*--------------------------------------------------------------
  771. ## Asides
  772. --------------------------------------------------------------*/
  773. .blog .format-aside .entry-title,
  774. .archive .format-aside .entry-title {
  775. display: none;
  776. }
  777.  
  778. /*--------------------------------------------------------------
  779. ## Comments
  780. --------------------------------------------------------------*/
  781. .comment-content a {
  782. word-wrap: break-word;
  783. }
  784.  
  785. .bypostauthor {
  786. display: block;
  787. }
  788.  
  789. /*--------------------------------------------------------------
  790. # Infinite scroll
  791. --------------------------------------------------------------*/
  792. /* Globally hidden elements when Infinite Scroll is supported and in use. */
  793. .infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
  794. .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
  795. display: none;
  796. }
  797.  
  798. /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
  799. .infinity-end.neverending .site-footer {
  800. display: block;
  801. }
  802.  
  803. /*--------------------------------------------------------------
  804. # Media
  805. --------------------------------------------------------------*/
  806. .page-content .wp-smiley,
  807. .entry-content .wp-smiley,
  808. .comment-content .wp-smiley {
  809. border: none;
  810. margin-bottom: 0;
  811. margin-top: 0;
  812. padding: 0;
  813. }
  814.  
  815. /* Make sure embeds and iframes fit their containers. */
  816. embed,
  817. iframe,
  818. object {
  819. max-width: 100%;
  820. }
  821.  
  822. /*--------------------------------------------------------------
  823. ## Captions
  824. --------------------------------------------------------------*/
  825. .wp-caption {
  826. margin-bottom: 1.5em;
  827. max-width: 100%;
  828. }
  829.  
  830. .wp-caption img[class*="wp-image-"] {
  831. display: block;
  832. margin-left: auto;
  833. margin-right: auto;
  834. }
  835.  
  836. .wp-caption .wp-caption-text {
  837. margin: 0.8075em 0;
  838. }
  839.  
  840. .wp-caption-text {
  841. text-align: center;
  842. }
  843.  
  844. /*--------------------------------------------------------------
  845. ## Galleries
  846. --------------------------------------------------------------*/
  847. .gallery {
  848. margin-bottom: 1.5em;
  849. }
  850.  
  851. .gallery-item {
  852. display: inline-block;
  853. text-align: center;
  854. vertical-align: top;
  855. width: 100%;
  856. }
  857.  
  858. .gallery-columns-2 .gallery-item {
  859. max-width: 50%;
  860. }
  861.  
  862. .gallery-columns-3 .gallery-item {
  863. max-width: 33.33%;
  864. }
  865.  
  866. .gallery-columns-4 .gallery-item {
  867. max-width: 25%;
  868. }
  869.  
  870. .gallery-columns-5 .gallery-item {
  871. max-width: 20%;
  872. }
  873.  
  874. .gallery-columns-6 .gallery-item {
  875. max-width: 16.66%;
  876. }
  877.  
  878. .gallery-columns-7 .gallery-item {
  879. max-width: 14.28%;
  880. }
  881.  
  882. .gallery-columns-8 .gallery-item {
  883. max-width: 12.5%;
  884. }
  885.  
  886. .gallery-columns-9 .gallery-item {
  887. max-width: 11.11%;
  888. }
  889.  
  890. .gallery-caption {
  891. display: block;
  892. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement