style.css 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. Theme Name: Loudness
  3. Theme URI: https://wordpress.com/loudness
  4. Author: Automattic
  5. Author URI: https://automattic.com
  6. Description: A theme for music-y stuff
  7. Requires at least: 5.8
  8. Tested up to: 5.9
  9. Requires PHP: 5.7
  10. Version: 0.0.5
  11. License: GNU General Public License v2 or later
  12. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  13. Text Domain: loudness
  14. Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
  15. */
  16. /*
  17. * Control the hover stylings of outline block style.
  18. */
  19. .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
  20. background-color: var(--wp--preset--color--primary);
  21. }
  22. /**
  23. * Currently table styles are only available with 'wp-block-styles' theme support (block css) thus the following needs to be included
  24. * since 'wp-block-styles' aren't used for this theme.
  25. */
  26. .wp-block-table thead {
  27. border-bottom: 3px solid;
  28. }
  29. .wp-block-table tfoot {
  30. border-top: 3px solid;
  31. }
  32. .wp-block-table td,
  33. .wp-block-table th {
  34. padding: var(--wp--preset--spacing--30);
  35. border: 1px solid;
  36. word-break: normal;
  37. }
  38. .wp-block-table figcaption {
  39. font-size: var(--wp--preset--font-size--small);
  40. text-align: center;
  41. }
  42. /*
  43. * Provide styles for a Block Style for navigation links
  44. */
  45. .wp-block-navigation-link.is-style-navigation-link-button a {
  46. background-color: var(--wp--preset--color--foreground);
  47. color: var(--wp--preset--color--background);
  48. padding: 20px 30px !important;
  49. }
  50. .wp-block-navigation-link.is-style-navigation-link-button a:hover {
  51. background-color: var(--wp--preset--color--primary);
  52. color: var(--wp--preset--color--foreground);
  53. }
  54. /*
  55. * Navigation
  56. */
  57. .wp-block-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
  58. background-color: var(--wp--preset--color--primary);
  59. }
  60. .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  61. font-size: var(--wp--preset--font-size--xx-large);
  62. font-family: var(--wp--preset--font-family--rubik);
  63. }
  64. .wp-block-navigation .wp-block-navigation__responsive-container-close {
  65. background-color: var(--wp--preset--color--foreground);
  66. color: var(--wp--preset--color--background);
  67. padding: var(--wp--preset--spacing--20);
  68. }
  69. .wp-block-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > *:not(:first-child) {
  70. border-top: solid;
  71. padding-top: 24px;
  72. width: 100%;
  73. }
  74. .wp-block-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  75. width: 100%;
  76. }