style.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /*
  2. Theme Name: Portia
  3. Theme URI: https://themeshaper.com/portia/
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Portia is a simple business theme for a legal service.
  7. Requires at least: 6.0
  8. Tested up to: 6.5
  9. Requires PHP: 5.7
  10. Version: 1.0.2
  11. License: GNU General Public License v2 or later
  12. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  13. Text Domain: portia
  14. Tags: one-column, wide-blocks, block-patterns, block-styles, full-site-editing, rtl-language-support, threaded-comments, translation-ready
  15. */
  16. /* Progresive enhancement to reduce widows and orphans. */
  17. h1, h2, h3, h4, h5, h6, blockquote {
  18. text-wrap: balance;
  19. }
  20. p {
  21. text-wrap: pretty;
  22. }
  23. /*
  24. * Control the hover stylings of outline block style.
  25. * Unnecessary once block styles are configurable via theme.json
  26. * https://github.com/WordPress/gutenberg/issues/42794
  27. */
  28. .wp-block-button.is-style-outline >.wp-block-button__link:not(.has-background):hover {
  29. background-color: var(--wp--preset--color--theme-4);
  30. border-color: var(--wp--preset--color--theme-4);
  31. color: var(--wp--preset--color--theme-1);
  32. }
  33. /*
  34. * Link styles
  35. * https://github.com/WordPress/gutenberg/issues/42319
  36. */
  37. a {
  38. text-decoration-thickness: 1px !important;
  39. text-decoration-style: solid !important;
  40. text-underline-offset: 3px;
  41. }
  42. /*
  43. * Navigation Block
  44. * Reset the padding from List block
  45. * https://github.com/WordPress/gutenberg/issues/50486
  46. */
  47. .wp-block-navigation ul {
  48. padding: unset;
  49. }
  50. /*
  51. * Pull quote Block
  52. * Reset the browser default margins for blockquote and paragraph element
  53. * https://github.com/WordPress/gutenberg/issues/44129
  54. */
  55. .wp-block-pullquote blockquote,
  56. .wp-block-pullquote p {
  57. margin: 0;
  58. }
  59. /*
  60. * Jetpack Contact Form Block
  61. */
  62. .contact-form label,
  63. .wp-block-jetpack-contact-form label,
  64. .jetpack-field-label .rich-text.jetpack-field-label__input {
  65. font-weight: 500;
  66. }
  67. .contact-form__input-error {
  68. font-size: var(--wp--preset--font-size--small);
  69. }
  70. :where(.contact-form input[type=text],.contact-form input[type=email],.contact-form input[type=tel],.contact-form input[type=url],.contact-form textarea) {
  71. padding: 8px;
  72. }