style.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /*
  2. Theme Name: CTLG
  3. Theme URI: https://wordpress.com/theme/ctlg
  4. Author: Automattic
  5. Author URI: https://automattic.com
  6. Description: CTLG is a free WordPress block theme that is specifically designed for creating lists, directories, and catalogs. It comes with a variety of pre-designed block templates and style variations.
  7. Requires at least: 5.8
  8. Tested up to: 5.9
  9. Requires PHP: 5.7
  10. Version: 1.0.0
  11. License: GNU General Public License v2 or later
  12. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  13. Text Domain: ctlg
  14. Tags: blog, portfolio, one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, theme-options, translation-ready
  15. *//*
  16. * Font smoothing
  17. */
  18. body {
  19. -moz-osx-font-smoothing: grayscale;
  20. -webkit-font-smoothing: antialiased;
  21. }
  22. /*
  23. * Responsive menu container padding.
  24. * This ensures the responsive container inherits the same
  25. * spacing defined above. This behavior may be built into
  26. * the Block Editor in the future.
  27. */
  28. .wp-block-navigation__responsive-container.is-menu-open {
  29. padding-top: var(--wp--preset--spacing--50);
  30. padding-bottom: var(--wp--preset--spacing--50);
  31. padding-right: var(--wp--preset--spacing--50);
  32. padding-left: var(--wp--preset--spacing--50);
  33. }
  34. /*
  35. * Control the hover stylings of outline block style.
  36. * Unnecessary once block styles are configurable via theme.json
  37. */
  38. .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
  39. background-color: var(--wp--preset--color--secondary);
  40. color: var(--wp--preset--color--background);
  41. border-color: var(--wp--preset--color--secondary);
  42. }
  43. /**
  44. * Currently table styles are only available with 'wp-block-styles' theme support (block css) thus the following needs to be included
  45. * since 'wp-block-styles' aren't used for this theme.
  46. */
  47. .wp-block-table thead {
  48. border-bottom: 3px solid;
  49. }
  50. .wp-block-table tfoot {
  51. border-top: 3px solid;
  52. }
  53. .wp-block-table td,
  54. .wp-block-table th {
  55. padding: var(--wp--preset--spacing--30);
  56. border: 1px solid;
  57. word-break: normal;
  58. }
  59. .wp-block-table figcaption {
  60. font-size: var(--wp--preset--font-size--small);
  61. text-align: center;
  62. }
  63. /*
  64. * Link styles
  65. */
  66. a {
  67. text-decoration-thickness: .0625em !important;
  68. text-underline-offset: .15em
  69. }