Changeset 353616
- Timestamp:
- 10/14/2026 04:33:08 AM (2 weeks ago)
- Location:
- stoat/1.7
- Files:
-
- 1 added
- 6 edited
- 1 copied
-
. (copied) (copied from stoat/1.6.1 )
-
comments.php (modified) (1 diff)
-
editor.css (modified) (7 diffs)
-
inc/theme-page.php (modified) (1 diff)
-
languages/stoat.pot (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
style.css (modified) (32 diffs)
-
wpml-config.xml (added)
Legend:
- Unmodified
- Added
- Removed
-
stoat/1.7/comments.php
r334595 r353616 49 49 // Pagination (only when comments are split across pages). 50 50 $stoat_comment_nav = get_the_comments_navigation( array( 51 'prev_text' => '← '. esc_html__( 'Older comments', 'stoat' ),52 'next_text' => esc_html__( 'Newer comments', 'stoat' ) . ' →',51 'prev_text' => ( is_rtl() ? '→ ' : '← ' ) . esc_html__( 'Older comments', 'stoat' ), 52 'next_text' => esc_html__( 'Newer comments', 'stoat' ) . ( is_rtl() ? ' ←' : ' →' ), 53 53 ) ); 54 54 if ( $stoat_comment_nav ) { -
stoat/1.7/editor.css
r353520 r353616 92 92 .wp-block { 93 93 max-width: var(--reading); 94 margin- left: auto;95 margin- right: auto;94 margin-inline-start: auto; 95 margin-inline-end: auto; 96 96 } 97 97 … … 262 262 -------------------------------------------- */ 263 263 .alignleft { 264 float: left;264 float: inline-start; 265 265 margin: 0.5em 1.5em 1em 0; 266 266 } 267 267 268 268 .alignright { 269 float: right;269 float: inline-end; 270 270 margin: 0.5em 0 1em 1.5em; 271 271 } … … 273 273 .aligncenter { 274 274 display: block; 275 margin- left: auto;276 margin- right: auto;275 margin-inline-start: auto; 276 margin-inline-end: auto; 277 277 } 278 278 … … 526 526 body.is-stoat-writing ul, 527 527 body.is-stoat-writing ol { 528 padding- left: 1.4em;528 padding-inline-start: 1.4em; 529 529 } 530 530 body.is-stoat-writing li { … … 542 542 someone else's voice, not a louder version of the writer's. 543 543 544 Fern writes the indent as `margin- left: 0`, which is right there and wrong544 Fern writes the indent as `margin-inline-start: 0`, which is right there and wrong 545 545 here — section 2 centres every block with auto margins, and a flat 0 at 546 546 this specificity outranks it and drags quotes out of the column and hard … … 551 551 margin-inline: auto; 552 552 padding: 0 0 0 1.5rem; 553 border- left: 2px solid var(--rule);553 border-inline-start: 2px solid var(--rule); 554 554 color: #45484f; 555 555 font-style: normal; … … 655 655 body.is-stoat-fullwidth .editor-visual-editor__post-title-wrapper, 656 656 body.is-stoat-fullwidth .edit-post-visual-editor__post-title-wrapper { 657 padding- left: var(--full-editor-gutter);658 padding- right: var(--full-editor-gutter);657 padding-inline-start: var(--full-editor-gutter); 658 padding-inline-end: var(--full-editor-gutter); 659 659 } 660 660 body.is-stoat-fullwidth { -
stoat/1.7/inc/theme-page.php
r353520 r353616 308 308 // middle of the title text sits 24px down and a 36px mark has to 309 309 // start 6px down to meet it. 310 '.stoat-theme-page .stoat-brand{float: left;display:block;margin:6px 10px 0 0;line-height:0}'310 '.stoat-theme-page .stoat-brand{float:inline-start;display:block;margin:6px 0 0;margin-inline-end:10px;line-height:0}' 311 311 . '.stoat-theme-page .stoat-brand__mark{display:block;width:36px;height:36px;' 312 312 . 'background:#fff;border:1px solid #c3c4c7;border-radius:4px;object-fit:cover}' -
stoat/1.7/languages/stoat.pot
r353520 r353616 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Stoat 1. 6.1\n"5 "Project-Id-Version: Stoat 1.7\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/stoat\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-10-13T1 1:24:14+00:00\n"12 "POT-Creation-Date: 2026-10-13T18:34:42+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 30 30 #. Description of the theme 31 31 #: style.css 32 msgid "Stoat is a clean, minimal and lightweight WordPress blog theme for personal blogs, writers, authors, creators and newsletters. Free starter demos import in a few clicks, from food, travel and lifestyle blogs to fashion, photography and book blogs. What makes it different? (1) Fast: no page builder, self-hosted fonts only (no Google Fonts) and one small script. (2) Accessibility and SEO friendly. (3) Modern native Gutenberg editor. (4) Many options in the native WP Customizer: three header layouts, a left or right sidebar, list or stacked posts, colors, fonts and a dark header skin. Live preview: https://stoat.owldraft.com"32 msgid "Stoat is a clean, minimal and lightweight WordPress blog theme for a personal blog, a writer or author website, and a newsletter. Start from a free demo, imported in a few clicks: a food blog, recipe blog, travel blog, lifestyle blog, fashion blog, beauty blog, parenting blog, fitness blog, photography blog, book blog, gardening blog, DIY blog, home decor blog, personal finance blog, pet blog, developer blog and more. What makes it different? (1) Fast: no page builder, self-hosted fonts only (no Google Fonts) and one small script. (2) Accessibility and SEO friendly. (3) Modern native Gutenberg editor. (4) Many options in the native WP Customizer: three header layouts, a left or right sidebar, list or stacked posts, colors, fonts and a dark header skin. (5) RTL-ready for Arabic, Hebrew, Persian and Urdu sites, and multilingual with WPML and Polylang. Live preview: https://stoat.owldraft.com" 33 33 msgstr "" 34 34 -
stoat/1.7/readme.txt
r353520 r353616 4 4 Tested up to: 7.1 5 5 Requires PHP: 7.4 6 Stable tag: 1. 6.16 Stable tag: 1.7 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html 9 Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, block-styles, wide-blocks, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready10 11 Stoat is a clean, minimal and lightweight WordPress blog theme for personal blogs, writers and newsletters, with free food, travel and lifestyle blog demos you can importin a few clicks.9 Tags: blog, food-and-drink, photography, one-column, two-columns, left-sidebar, right-sidebar, block-styles, wide-blocks, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, rtl-language-support, translation-ready 10 11 Stoat is a clean, minimal and lightweight WordPress blog theme for personal blogs, writers and newsletters, with free demos for a food blog, travel blog, lifestyle blog, fashion blog, parenting blog and more, imported in a few clicks. 12 12 13 13 == Description == 14 14 15 Stoat is a clean, minimal and lightweight WordPress blog theme for personal blogs, writers, authors, creators and newsletters. Free starter demos import in a few clicks, from food, travel and lifestyle blogs to fashion, photography and book blogs. What makes it different? (1) Fast: no page builder, self-hosted fonts only (no Google Fonts) and one small script. (2) Accessibility and SEO friendly. (3) Modern native Gutenberg editor. (4) Many options in the native WP Customizer: three header layouts, a left or right sidebar, list or stacked posts, colors, fonts and a dark header skin. Live preview: https://stoat.owldraft.com16 17 It also suits portfolios and simple marketing pages. No page builder, no external fonts or scripts, and a single compact stylesheet.15 Stoat is a clean, minimal and lightweight WordPress blog theme for a personal blog, a writer or author website, and a newsletter. Start from a free demo, imported in a few clicks: a food blog, recipe blog, travel blog, lifestyle blog, fashion blog, beauty blog, parenting blog, fitness blog, photography blog, book blog, gardening blog, DIY blog, home decor blog, personal finance blog, pet blog, developer blog and more. What makes it different? (1) Fast: no page builder, self-hosted fonts only (no Google Fonts) and one small script. (2) Accessibility and SEO friendly. (3) Modern native Gutenberg editor. (4) Many options in the native WP Customizer: three header layouts, a left or right sidebar, list or stacked posts, colors, fonts and a dark header skin. Live preview: https://stoat.owldraft.com 16 17 RTL-ready: Arabic, Hebrew, Persian and Urdu sites mirror the whole layout, and it works with WPML and Polylang for multilingual sites. It also suits portfolios and simple marketing pages. No page builder, no external fonts or scripts, and a single compact stylesheet. 18 18 19 19 Start from a demo: after activating Stoat, the welcome notice offers to set your site up like one of the Stoat demos, with posts, pages, menus, widgets and settings in place. It uses Owldraft Starter Sites, a free plugin from WordPress.org, and installs nothing until you click. … … 23 23 Features: 24 24 25 * RTL language support (Arabic, Hebrew, Persian, Urdu): the layout, menus, sidebar, search dialog and mobile menu mirror automatically, in the editor too. 26 * Multilingual ready: WPML compatible (wpml-config.xml registers the copyright line and the header button for translation), and Polylang compatible. 25 27 * Tested with WordPress 7.1; runs on PHP 7.4 and newer, including PHP 8. 26 28 * No page builder, no external requests. Compact CSS in a single stylesheet and one small front-end script (js/modal.js) that drives the search dialog and the mobile menu. … … 87 89 == Changelog == 88 90 91 = 1.7 = 92 * Released: October 14, 2026 93 * New: RTL language support (tag rtl-language-support). The stylesheet uses logical properties, so Arabic, Hebrew, Persian and Urdu sites mirror the header, menus, sidebar, post list, comments, search dialog and mobile menu without a separate rtl.css. The block editor mirrors too. 94 * New: WPML compatible. wpml-config.xml registers the copyright line, the header button text and its link, and the footer, sidebar and after-featured widget areas for translation. 95 * Change: the comment pagination arrows point the right way in RTL; letter-spacing is switched off in RTL, because it breaks joined Arabic letters. 96 * Change: the theme description now mentions RTL and multilingual sites. 97 98 = 1.6.2 = 99 * Released: October 13, 2026 100 * Change: The theme description names the kinds of blog the free demos cover: food, recipe, travel, lifestyle, fashion, beauty, parenting, fitness, photography, books, gardening, DIY, home decor, personal finance, pets and developer blogs. 101 * Change: New subject tags: food-and-drink, photography. 102 89 103 = 1.6.1 = 90 104 * Released: October 13, 2026 -
stoat/1.7/style.css
r353520 r353616 5 5 Author: Owldraft 6 6 Author URI: https://owldraft.com 7 Description: Stoat is a clean, minimal and lightweight WordPress blog theme for personal blogs, writers, authors, creators and newsletters. Free starter demos import in a few clicks, from food, travel and lifestyle blogs to fashion, photography and book blogs. What makes it different? (1) Fast: no page builder, self-hosted fonts only (no Google Fonts) and one small script. (2) Accessibility and SEO friendly. (3) Modern native Gutenberg editor. (4) Many options in the native WP Customizer: three header layouts, a left or right sidebar, list or stacked posts, colors, fonts and a dark header skin. Live preview: https://stoat.owldraft.com7 Description: Stoat is a clean, minimal and lightweight WordPress blog theme for a personal blog, a writer or author website, and a newsletter. Start from a free demo, imported in a few clicks: a food blog, recipe blog, travel blog, lifestyle blog, fashion blog, beauty blog, parenting blog, fitness blog, photography blog, book blog, gardening blog, DIY blog, home decor blog, personal finance blog, pet blog, developer blog and more. What makes it different? (1) Fast: no page builder, self-hosted fonts only (no Google Fonts) and one small script. (2) Accessibility and SEO friendly. (3) Modern native Gutenberg editor. (4) Many options in the native WP Customizer: three header layouts, a left or right sidebar, list or stacked posts, colors, fonts and a dark header skin. (5) RTL-ready for Arabic, Hebrew, Persian and Urdu sites, and multilingual with WPML and Polylang. Live preview: https://stoat.owldraft.com 8 8 Requires at least: 6.5 9 9 Tested up to: 7.1 10 10 Requires PHP: 7.4 11 Version: 1. 6.111 Version: 1.7 12 12 License: GNU General Public License v2 or later 13 13 License URI: https://www.gnu.org/licenses/gpl-2.0.html 14 14 Text Domain: stoat 15 Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, block-styles, wide-blocks, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready15 Tags: blog, food-and-drink, photography, one-column, two-columns, left-sidebar, right-sidebar, block-styles, wide-blocks, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, rtl-language-support, translation-ready 16 16 */ 17 17 /* ============================================================================= … … 367 367 */ 368 368 :root { 369 --dir: 1; /* 1 = LTR, -1 = RTL: flips slide-ins and centring offsets */ 369 370 --container-width: 1170px; 370 371 --reading: 640px; … … 544 545 /* lists - indent and space their items */ 545 546 ul, ol { 546 padding- left: 1.5em;547 padding-inline-start: 1.5em; 547 548 } 548 549 … … 593 594 position: fixed; 594 595 top: 8px; 595 left: 8px;596 inset-inline-start: 8px; 596 597 z-index: 100000; 597 598 width: auto; … … 806 807 /* alignment - classic editor & gutenberg use the same classes */ 807 808 .alignleft { 808 float: left;809 float: inline-start; 809 810 max-width: 50%; 810 margin: 0.5em 1.5em 1em 0; 811 margin: 0.5em 0 1em; 812 margin-inline: 0 1.5em; 811 813 } 812 814 813 815 .alignright { 814 float: right;816 float: inline-end; 815 817 max-width: 50%; 816 margin: 0.5em 0 1em 1.5em; 818 margin: 0.5em 0 1em; 819 margin-inline: 1.5em 0; 817 820 } 818 821 819 822 .aligncenter { 820 823 display: block; 821 margin- left: auto;822 margin- right: auto;824 margin-inline-start: auto; 825 margin-inline-end: auto; 823 826 } 824 827 … … 1058 1061 width: auto; 1059 1062 max-width: 100%; 1060 margin- left: 0;1063 margin-inline-start: 0; 1061 1064 transform: none; 1062 1065 } … … 1152 1155 see the block below. */ 1153 1156 .site-header.header-layout-default .stoat-branding { 1154 margin- right: auto;1157 margin-inline-end: auto; 1155 1158 } 1156 1159 … … 1205 1208 .site-header.header-layout-logo-center > .container > .primary-nav { 1206 1209 position: absolute; 1207 left: 0;1210 inset-inline-start: 0; 1208 1211 top: 50%; 1209 1212 transform: translateY(-50%); … … 1212 1215 .site-header.header-layout-logo-center > .container > .header-actions { 1213 1216 position: absolute; 1214 right: 0;1217 inset-inline-end: 0; 1215 1218 top: 50%; 1216 1219 transform: translateY(-50%); … … 1245 1248 1246 1249 .site-header.header-layout-nav-below .header-actions__start { 1247 left: 0;1250 inset-inline-start: 0; 1248 1251 } 1249 1252 1250 1253 .site-header.header-layout-nav-below .header-actions__end { 1251 right: 0;1254 inset-inline-end: 0; 1252 1255 } 1253 1256 … … 1307 1310 flex-direction: row; 1308 1311 gap: 10px; 1309 text-align: left;1310 margin- right: auto;1312 text-align: start; 1313 margin-inline-end: auto; 1311 1314 } 1312 1315 /* The strip goes with the menu it holds - hiding only the nav inside would … … 1503 1506 @media (max-width: 767.98px) { 1504 1507 .header-actions + .header-icons { 1505 margin- left: -1.25rem;1508 margin-inline-start: -1.25rem; 1506 1509 } 1507 1510 } … … 1630 1633 .site-header .primary-nav .menu > .menu-item-has-children > a:after { 1631 1634 content: "▾"; /* ▾ */ 1632 margin- left: 2px;1635 margin-inline-start: 2px; 1633 1636 font-size: 1.1em; 1634 1637 opacity: 0.3; … … 1639 1642 z-index: 999; 1640 1643 top: 100%; 1641 left: 0;1644 inset-inline-start: 0; 1642 1645 width: 160px; 1643 1646 background: var(--header-bg); … … 1652 1655 } 1653 1656 .site-header .primary-nav .menu ul ul { 1654 left: 100%;1657 inset-inline-start: 100%; 1655 1658 top: -1px; 1656 1659 } … … 1711 1714 /* sub-menus indent under their parent */ 1712 1715 .offcanvas-nav .sub-menu { 1713 padding- left: 1em;1716 padding-inline-start: 1em; 1714 1717 font-size: 0.95em; 1715 1718 } … … 2515 2518 } 2516 2519 .pagination .nav-links > * + * { 2517 margin- left: 1em;2520 margin-inline-start: 1em; 2518 2521 } 2519 2522 @media (max-width: 767.98px) { 2520 2523 .pagination .nav-links > * + * { 2521 margin- left: 0.5em;2524 margin-inline-start: 0.5em; 2522 2525 } 2523 2526 } … … 2736 2739 2737 2740 max-content, not fit-content: fit-content clamps to the space available, 2738 and margin- left:50% leaves only half the column, which would shrink every2741 and margin-inline-start:50% leaves only half the column, which would shrink every 2739 2742 image to that. max-content ignores available space - max-width is what 2740 2743 bounds it. … … 2748 2751 width: -moz-max-content; 2749 2752 width: max-content; 2750 margin- left: 50%;2751 transform: translateX( -50%);2753 margin-inline-start: 50%; 2754 transform: translateX(calc(-50% * var(--dir, 1))); 2752 2755 } 2753 2756 .single-thumbnail--wide img, … … 2874 2877 .entry-content .wp-block-gallery:not(.has-nested-images).alignwide, 2875 2878 .entry-content .wp-block-gallery:not(.has-nested-images).alignfull { 2876 margin- left: 50%;2877 transform: translateX( -50%);2879 margin-inline-start: 50%; 2880 transform: translateX(calc(-50% * var(--dir, 1))); 2878 2881 /* The caption stays at reading width. A caption is prose, and a 2879 2882 single line of it set across a 1200px image is unreadable - so … … 2935 2938 } 2936 2939 .entry-content blockquote { 2937 margin- left: 0;2938 padding- left: 1em;2939 border- left: 2px solid var(--border);2940 margin-inline-start: 0; 2941 padding-inline-start: 1em; 2942 border-inline-start: 2px solid var(--border); 2940 2943 color: var(--gray); 2941 2944 } … … 2965 2968 } 2966 2969 .entry-tags a { 2967 margin- left: 1em;2970 margin-inline-start: 1em; 2968 2971 } 2969 2972 … … 2995 2998 list-style: none; 2996 2999 margin: 0; 2997 padding- left: 1.5em; /* indent replies */3000 padding-inline-start: 1.5em; /* indent replies */ 2998 3001 /* The indent compounds - WordPress threads five deep by default, so the 2999 3002 deepest reply starts 7.5em in. That is most of a phone's column spent on … … 3003 3006 @media (max-width: 767.98px) { 3004 3007 .comment-list ol.children { 3005 padding- left: 0.75em;3008 padding-inline-start: 0.75em; 3006 3009 } 3007 3010 } … … 3084 3087 .bypostauthor > .comment-body { 3085 3088 /* a subtle cue that the author replied */ 3086 border- left: 2px solid var(--accent);3087 padding- left: 1em;3089 border-inline-start: 2px solid var(--accent); 3090 padding-inline-start: 1em; 3088 3091 } 3089 3092 … … 3100 3103 } 3101 3104 .comment-navigation .nav-previous { 3102 margin- right: 1em;3105 margin-inline-end: 1em; 3103 3106 } 3104 3107 … … 3123 3126 } 3124 3127 .comment-reply-title small { 3125 margin- left: 1em;3128 margin-inline-start: 1em; 3126 3129 font-size: 0.7em; 3127 3130 font-weight: 400; … … 3203 3206 z-index: 1; 3204 3207 top: 0.4rem; 3205 right: 0.5rem;3208 inset-inline-end: 0.5rem; 3206 3209 } 3207 3210 … … 3211 3214 line-height: 1.2; 3212 3215 /* Clear of the close button, which sits in the same corner. */ 3213 padding- right: 2rem;3216 padding-inline-end: 2rem; 3214 3217 } 3215 3218 … … 3284 3287 top: 0; 3285 3288 bottom: 0; 3286 right: 0;3289 inset-inline-end: 0; 3287 3290 width: min(80vw, 320px); 3288 3291 padding: 3.2em 1.5em 1.5em; … … 3291 3294 background: var(--header-bg); 3292 3295 color: var(--header-text); 3293 box-shadow: -4px0 24px rgba(0, 0, 0, 0.12);3294 transform: translateX( 100%);3296 box-shadow: calc(-4px * var(--dir, 1)) 0 24px rgba(0, 0, 0, 0.12); 3297 transform: translateX(calc(100% * var(--dir, 1))); 3295 3298 transition: transform 0.25s ease; 3296 3299 } … … 3304 3307 overflow: hidden; 3305 3308 } 3309 [dir="rtl"] { 3310 --dir: -1; 3311 } 3312 3313 /* Arabic, Hebrew, Persian and Urdu letters join: any letter-spacing breaks the word apart. */ 3314 [dir="rtl"] * { 3315 letter-spacing: normal !important; 3316 } 3317 3318 /* Owldraft Newsletter hides its honeypot at left:-9999px; in RTL that widens the page by 10,000px. Push it off the start side instead. */ 3319 [dir="rtl"] .owldraft-newsletter-hp { 3320 left: auto; 3321 right: -9999px; 3322 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)