style.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /*
  2. Theme Name: Blank Canvas
  3. Theme URI: https://github.com/Automattic/themes/blank-canvas
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Blank Canvas is a minimalist theme, designed for single-page websites. Its single post and page layouts have no header, navigation menus, or widgets, so the page you design in the WordPress editor is the same page you’ll see on the front end. The theme’s default styles are conservative, relying on simple sans-serif fonts and a subtle blue highlight color. Blank Canvas is ready for your customizations.
  7. Requires at least: 4.9.6
  8. Tested up to: 5.6
  9. Requires PHP: 5.6.2
  10. Version: 1.1
  11. License: GNU General Public License v2 or later
  12. License URI: LICENSE
  13. Template: seedlet
  14. Text Domain: blank-canvas
  15. Tags: one-column, accessibility-ready, custom-colors, editor-style, featured-images, rtl-language-support, sticky-post, translation-ready
  16. Blank Canvas WordPress Theme, (C) 2021 Automattic, Inc.
  17. Blank Canvas is distributed under the terms of the GNU GPL.
  18. This program is free software: you can redistribute it and/or modify
  19. it under the terms of the GNU General Public License as published by
  20. the Free Software Foundation, either version 2 of the License, or
  21. (at your option) any later version.
  22. This program is distributed in the hope that it will be useful,
  23. but WITHOUT ANY WARRANTY; without even the implied warranty of
  24. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25. GNU General Public License for more details.
  26. Blank Canvas is derived from Seedlet. 2020-2021 Automattic
  27. Seedlet is distributed under the terms of the GNU GPL v2 or later.
  28. Images from stocksnap.io
  29. License: CC0
  30. - Sarah Pflug: https://stocksnap.io/photo/hand-sign-BPQSX1BQTF
  31. - Clem Onojeghuo: https://stocksnap.io/photo/beanie-scarf-M2U9VL0ZWG
  32. - Brooke Cagle: https://stocksnap.io/photo/people-woman-MU7G67710S
  33. - Daria Shevtsova: https://stocksnap.io/photo/girl-camera-AZED07HITL
  34. - Benjamin Voros: https://stocksnap.io/photo/blue-denim-BWPRK5DEF0
  35. - Artsy Crafty: https://stocksnap.io/photo/office-supplies-BDVUKQ4BBF
  36. Used as block pattern images.
  37. Image from foodiesfeed.com
  38. License: CC0
  39. https://www.foodiesfeed.com/free-food-photo/watermelon-juice-2/
  40. Used as block pattern image.
  41. */
  42. @import "variables.css";
  43. /* Remove extra margin from articles on single post pages. */
  44. .single .site-main > article,
  45. .page .site-main > article {
  46. margin-bottom: 0;
  47. }
  48. /* Remove some top padding if the first block on the page is a full-width image, cover, media & text, or group block. */
  49. .single .entry-content > .wp-block-image.alignfull:first-child,
  50. .page .entry-content > .wp-block-image.alignfull:first-child,
  51. .single .entry-content > .wp-block-cover.alignfull:first-child,
  52. .page .entry-content > .wp-block-cover.alignfull:first-child,
  53. .single .entry-content > .wp-block-media-text.alignfull:first-child,
  54. .page .entry-content > .wp-block-media-text.alignfull:first-child,
  55. .single .entry-content > .wp-block-group.has-background.alignfull:first-child,
  56. .page .entry-content > .wp-block-group.has-background.alignfull:first-child {
  57. margin-top: calc(-1 * var(--global--spacing-vertical));
  58. }
  59. /* Add some top padding for archive pages. */
  60. body:not(.single):not(.page),
  61. body:not(.single):not(.page) .site-content {
  62. padding-top: var(--global--spacing-vertical);
  63. }
  64. @media screen and (min-width: 580px) {
  65. body:not(.single):not(.page),
  66. body:not(.single):not(.page) .site-content {
  67. padding-top: calc(3 * var(--global--spacing-vertical));
  68. }
  69. }
  70. /* Remove the top border from the entry-footer. */
  71. .site-main > article > .entry-footer {
  72. border-top-width: 0
  73. }
  74. /* Center-align headers and footers. */
  75. .entry-header,
  76. .page-title,
  77. .entry-footer,
  78. .site-info {
  79. text-align: center;
  80. }