Make WordPress Themes

Changeset 353616


Ignore:
Timestamp:
10/14/2026 04:33:08 AM (2 weeks ago)
Author:
themedropbox
Message:

New version of Stoat - 1.7

Location:
stoat/1.7
Files:
1 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • stoat/1.7/comments.php

    r334595 r353616  
    4949                // Pagination (only when comments are split across pages).
    5050                $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() ? ' ←' : ' →' ),
    5353                ) );
    5454                if ( $stoat_comment_nav ) {
  • stoat/1.7/editor.css

    r353520 r353616  
    9292.wp-block {
    9393  max-width: var(--reading);
    94   margin-left: auto;
    95   margin-right: auto;
     94  margin-inline-start: auto;
     95  margin-inline-end: auto;
    9696}
    9797
    … …  
    262262-------------------------------------------- */
    263263.alignleft {
    264   float: left;
     264  float: inline-start;
    265265  margin: 0.5em 1.5em 1em 0;
    266266}
    267267
    268268.alignright {
    269   float: right;
     269  float: inline-end;
    270270  margin: 0.5em 0 1em 1.5em;
    271271}
    … …  
    273273.aligncenter {
    274274  display: block;
    275   margin-left: auto;
    276   margin-right: auto;
     275  margin-inline-start: auto;
     276  margin-inline-end: auto;
    277277}
    278278
    … …  
    526526body.is-stoat-writing ul,
    527527body.is-stoat-writing ol {
    528   padding-left: 1.4em;
     528  padding-inline-start: 1.4em;
    529529}
    530530body.is-stoat-writing li {
    … …  
    542542     someone else's voice, not a louder version of the writer's.
    543543
    544      Fern writes the indent as `margin-left: 0`, which is right there and wrong
     544     Fern writes the indent as `margin-inline-start: 0`, which is right there and wrong
    545545     here — section 2 centres every block with auto margins, and a flat 0 at
    546546     this specificity outranks it and drags quotes out of the column and hard
    … …  
    551551  margin-inline: auto;
    552552  padding: 0 0 0 1.5rem;
    553   border-left: 2px solid var(--rule);
     553  border-inline-start: 2px solid var(--rule);
    554554  color: #45484f;
    555555  font-style: normal;
    … …  
    655655body.is-stoat-fullwidth .editor-visual-editor__post-title-wrapper,
    656656body.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);
    659659}
    660660body.is-stoat-fullwidth {
  • stoat/1.7/inc/theme-page.php

    r353520 r353616  
    308308                        // middle of the title text sits 24px down and a 36px mark has to
    309309                        // 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}'
    311311                        . '.stoat-theme-page .stoat-brand__mark{display:block;width:36px;height:36px;'
    312312                        . 'background:#fff;border:1px solid #c3c4c7;border-radius:4px;object-fit:cover}'
  • stoat/1.7/languages/stoat.pot

    r353520 r353616  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Stoat 1.6.1\n"
     5"Project-Id-Version: Stoat 1.7\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/stoat\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    … …  
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2026-10-13T11:24:14+00:00\n"
     12"POT-Creation-Date: 2026-10-13T18:34:42+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
    … …  
    3030#. Description of the theme
    3131#: 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"
     32msgid "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"
    3333msgstr ""
    3434
  • stoat/1.7/readme.txt

    r353520 r353616  
    44Tested up to: 7.1
    55Requires PHP: 7.4
    6 Stable tag: 1.6.1
     6Stable tag: 1.7
    77License: GPLv2 or later
    88License 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-ready
    10 
    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 import in a few clicks.
     9Tags: 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
     11Stoat 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.
    1212
    1313== Description ==
    1414
    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.com
    16 
    17 It also suits portfolios and simple marketing pages. No page builder, no external fonts or scripts, and a single compact stylesheet.
     15Stoat 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
     17RTL-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.
    1818
    1919Start 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.
    … …  
    2323Features:
    2424
     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.
    2527* Tested with WordPress 7.1; runs on PHP 7.4 and newer, including PHP 8.
    2628* 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.
    … …  
    8789== Changelog ==
    8890
     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
    89103= 1.6.1 =
    90104* Released: October 13, 2026
  • stoat/1.7/style.css

    r353520 r353616  
    55Author: Owldraft
    66Author 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.com
     7Description: 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
    88Requires at least: 6.5
    99Tested up to: 7.1
    1010Requires PHP: 7.4
    11 Version: 1.6.1
     11Version: 1.7
    1212License: GNU General Public License v2 or later
    1313License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1414Text 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-ready
     15Tags: 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
    1616*/
    1717/* =============================================================================
    … …  
    367367*/
    368368:root {
     369    --dir: 1; /* 1 = LTR, -1 = RTL: flips slide-ins and centring offsets */
    369370  --container-width: 1170px;
    370371  --reading: 640px;
    … …  
    544545/* lists - indent and space their items */
    545546ul, ol {
    546   padding-left: 1.5em;
     547  padding-inline-start: 1.5em;
    547548}
    548549
    … …  
    593594  position: fixed;
    594595  top: 8px;
    595   left: 8px;
     596  inset-inline-start: 8px;
    596597  z-index: 100000;
    597598  width: auto;
    … …  
    806807/* alignment - classic editor & gutenberg use the same classes */
    807808.alignleft {
    808   float: left;
     809  float: inline-start;
    809810  max-width: 50%;
    810   margin: 0.5em 1.5em 1em 0;
     811  margin: 0.5em 0 1em;
     812    margin-inline: 0 1.5em;
    811813}
    812814
    813815.alignright {
    814   float: right;
     816  float: inline-end;
    815817  max-width: 50%;
    816   margin: 0.5em 0 1em 1.5em;
     818  margin: 0.5em 0 1em;
     819    margin-inline: 1.5em 0;
    817820}
    818821
    819822.aligncenter {
    820823  display: block;
    821   margin-left: auto;
    822   margin-right: auto;
     824  margin-inline-start: auto;
     825  margin-inline-end: auto;
    823826}
    824827
    … …  
    10581061    width: auto;
    10591062    max-width: 100%;
    1060     margin-left: 0;
     1063    margin-inline-start: 0;
    10611064    transform: none;
    10621065  }
    … …  
    11521155   see the block below. */
    11531156.site-header.header-layout-default .stoat-branding {
    1154   margin-right: auto;
     1157  margin-inline-end: auto;
    11551158}
    11561159
    … …  
    12051208.site-header.header-layout-logo-center > .container > .primary-nav {
    12061209  position: absolute;
    1207   left: 0;
     1210  inset-inline-start: 0;
    12081211  top: 50%;
    12091212  transform: translateY(-50%);
    … …  
    12121215.site-header.header-layout-logo-center > .container > .header-actions {
    12131216  position: absolute;
    1214   right: 0;
     1217  inset-inline-end: 0;
    12151218  top: 50%;
    12161219  transform: translateY(-50%);
    … …  
    12451248
    12461249.site-header.header-layout-nav-below .header-actions__start {
    1247   left: 0;
     1250  inset-inline-start: 0;
    12481251}
    12491252
    12501253.site-header.header-layout-nav-below .header-actions__end {
    1251   right: 0;
     1254  inset-inline-end: 0;
    12521255}
    12531256
    … …  
    13071310    flex-direction: row;
    13081311    gap: 10px;
    1309     text-align: left;
    1310     margin-right: auto;
     1312    text-align: start;
     1313    margin-inline-end: auto;
    13111314  }
    13121315  /* The strip goes with the menu it holds - hiding only the nav inside would
    … …  
    15031506@media (max-width: 767.98px) {
    15041507  .header-actions + .header-icons {
    1505     margin-left: -1.25rem;
     1508    margin-inline-start: -1.25rem;
    15061509  }
    15071510}
    … …  
    16301633.site-header .primary-nav .menu > .menu-item-has-children > a:after {
    16311634  content: "▾"; /* ▾ */
    1632   margin-left: 2px;
     1635  margin-inline-start: 2px;
    16331636  font-size: 1.1em;
    16341637  opacity: 0.3;
    … …  
    16391642  z-index: 999;
    16401643  top: 100%;
    1641   left: 0;
     1644  inset-inline-start: 0;
    16421645  width: 160px;
    16431646  background: var(--header-bg);
    … …  
    16521655}
    16531656.site-header .primary-nav .menu ul ul {
    1654   left: 100%;
     1657  inset-inline-start: 100%;
    16551658  top: -1px;
    16561659}
    … …  
    17111714/* sub-menus indent under their parent */
    17121715.offcanvas-nav .sub-menu {
    1713   padding-left: 1em;
     1716  padding-inline-start: 1em;
    17141717  font-size: 0.95em;
    17151718}
    … …  
    25152518}
    25162519.pagination .nav-links > * + * {
    2517   margin-left: 1em;
     2520  margin-inline-start: 1em;
    25182521}
    25192522@media (max-width: 767.98px) {
    25202523  .pagination .nav-links > * + * {
    2521     margin-left: 0.5em;
     2524    margin-inline-start: 0.5em;
    25222525  }
    25232526}
    … …  
    27362739
    27372740   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 every
     2741   and margin-inline-start:50% leaves only half the column, which would shrink every
    27392742   image to that. max-content ignores available space - max-width is what
    27402743   bounds it.
    … …  
    27482751  width: -moz-max-content;
    27492752  width: max-content;
    2750   margin-left: 50%;
    2751   transform: translateX(-50%);
     2753  margin-inline-start: 50%;
     2754  transform: translateX(calc(-50% * var(--dir, 1)));
    27522755}
    27532756.single-thumbnail--wide img,
    … …  
    28742877  .entry-content .wp-block-gallery:not(.has-nested-images).alignwide,
    28752878  .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)));
    28782881    /* The caption stays at reading width. A caption is prose, and a
    28792882       single line of it set across a 1200px image is unreadable - so
    … …  
    29352938}
    29362939.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);
    29402943  color: var(--gray);
    29412944}
    … …  
    29652968}
    29662969.entry-tags a {
    2967   margin-left: 1em;
     2970  margin-inline-start: 1em;
    29682971}
    29692972
    … …  
    29952998  list-style: none;
    29962999  margin: 0;
    2997   padding-left: 1.5em; /* indent replies */
     3000  padding-inline-start: 1.5em; /* indent replies */
    29983001  /* The indent compounds - WordPress threads five deep by default, so the
    29993002     deepest reply starts 7.5em in. That is most of a phone's column spent on
    … …  
    30033006@media (max-width: 767.98px) {
    30043007  .comment-list ol.children {
    3005     padding-left: 0.75em;
     3008    padding-inline-start: 0.75em;
    30063009  }
    30073010}
    … …  
    30843087.bypostauthor > .comment-body {
    30853088  /* 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;
    30883091}
    30893092
    … …  
    31003103}
    31013104.comment-navigation .nav-previous {
    3102   margin-right: 1em;
     3105  margin-inline-end: 1em;
    31033106}
    31043107
    … …  
    31233126}
    31243127.comment-reply-title small {
    3125   margin-left: 1em;
     3128  margin-inline-start: 1em;
    31263129  font-size: 0.7em;
    31273130  font-weight: 400;
    … …  
    32033206  z-index: 1;
    32043207  top: 0.4rem;
    3205   right: 0.5rem;
     3208  inset-inline-end: 0.5rem;
    32063209}
    32073210
    … …  
    32113214  line-height: 1.2;
    32123215  /* Clear of the close button, which sits in the same corner. */
    3213   padding-right: 2rem;
     3216  padding-inline-end: 2rem;
    32143217}
    32153218
    … …  
    32843287  top: 0;
    32853288  bottom: 0;
    3286   right: 0;
     3289  inset-inline-end: 0;
    32873290  width: min(80vw, 320px);
    32883291  padding: 3.2em 1.5em 1.5em;
    … …  
    32913294  background: var(--header-bg);
    32923295  color: var(--header-text);
    3293   box-shadow: -4px 0 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)));
    32953298  transition: transform 0.25s ease;
    32963299}
    … …  
    33043307  overflow: hidden;
    33053308}
     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.