style.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*!
  2. Theme Name: LPS
  3. Theme URI: http://lps.davidwindham.com
  4. Author: windhamdavid
  5. Author URI: https://davidwindham.com
  6. Description: A Theme for Lakelands Plastic Surgery
  7. Version: 0.1.0
  8. Tags: Full Site Editing, Blocks, Patterns
  9. Requires PHP: 7.0
  10. Tested up to: 6.5
  11. License: GNU General Public License v2 or later
  12. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  13. Thanks:
  14. 2024 * GNU GPL v2 or later - https://github.com/WordPress/twentytwentyfour
  15. 2025 * GNU GPL v2 or later - https://github.com/WordPress/twentytwentyfive
  16. */
  17. .no-padding {
  18. margin-block-start: 0;
  19. }
  20. .wp-block-outermost-mega-menu__collapsed-link {
  21. color: var(--wp--preset--color--white);
  22. }
  23. /* https://wordpress.org/support/topic/wp-6-2-gutenberg-ul-has-background-sometimes-appears-and-sometimes-doesnt/ */
  24. /* https://github.com/WordPress/gutenberg/issues/50486 */
  25. ol.has-background, ul.has-background {
  26. padding: 0em !important;
  27. }
  28. /* unset padding on the navigation block */
  29. .wp-block-navigation ul {
  30. padding: unset;
  31. }
  32. @media (max-width: 800px) {
  33. .home-page-mobile {
  34. background: #f8f8f8a0;
  35. }
  36. .header-info {
  37. display: none !important;
  38. }
  39. }
  40. /* rm default from 600 to 800px */
  41. @media (min-width: 800px) {
  42. .wp-block-navigation__responsive-container-open:not(.always-shown) {
  43. display: none !important;
  44. }
  45. .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
  46. display: block !important;
  47. width: 100%;
  48. position: relative;
  49. z-index: auto;
  50. background-color: inherit;
  51. }
  52. }
  53. @media (min-width: 600px) {
  54. .wp-block-navigation__responsive-container-open:not(.always-shown) {
  55. display: flex;
  56. }
  57. .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
  58. display: none;
  59. }
  60. }