style.css 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /*
  2. Theme Name: Loudness
  3. Theme URI: https://wordpress.com/theme/loudness/
  4. Author: Automattic
  5. Author URI: https://automattic.com
  6. Description: A bold opinionated theme for music and learning
  7. Requires at least: 6.0
  8. Tested up to: 6.1
  9. Requires PHP: 5.7
  10. Version: 1.0.10
  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 .wp-block-navigation__responsive-container:not(.is-menu-open) .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 .wp-block-navigation__responsive-container:not(.is-menu-open) .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. * Links in containers with the primary background color get special treatment
  56. */
  57. .has-primary-background-color a:hover {
  58. --wp--preset--color--primary: var(--wp--preset--color--background);
  59. }
  60. /*
  61. * Navigation
  62. */
  63. .wp-block-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
  64. background-color: var(--wp--preset--color--primary);
  65. }
  66. .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  67. font-size: var(--wp--preset--font-size--xx-large);
  68. font-family: var(--wp--preset--font-family--rubik);
  69. }
  70. .wp-block-navigation .wp-block-navigation__responsive-container-close {
  71. background-color: var(--wp--preset--color--foreground);
  72. color: var(--wp--preset--color--background);
  73. padding: var(--wp--preset--spacing--20);
  74. }
  75. .wp-block-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > *:not(:first-child) {
  76. border-top: solid;
  77. padding-top: 24px;
  78. width: 100%;
  79. }
  80. .wp-block-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  81. width: 100%;
  82. }