diff --git a/README.md b/README.md index 4029389..feff66c 100644 --- a/README.md +++ b/README.md @@ -58,9 +58,9 @@ Really Simple is a theme for bloggers and writers who need a ultra light and fas - [Monster Widget](https://wordpress.org/plugins/monster-widget/) > Validation +- [Theme Unit Test](https://codex.wordpress.org/Theme_Unit_Test) - [HTML](https://validator.w3.org/#validate_by_upload+with_options) - [CSS](https://jigsaw.w3.org/css-validator/#validate_by_upload) -- [Theme Unit Test](https://codex.wordpress.org/Theme_Unit_Test) ## Details / Suggestions diff --git a/readme.txt b/readme.txt index 56170da..2f963e7 100644 --- a/readme.txt +++ b/readme.txt @@ -1,9 +1,9 @@ === Really Simple === Requires at least: WordPress 5.3 -Tested up to: WordPress 6.2 +Tested up to: WordPress 6.7 Requires PHP: 7.0 -Version: 1.3.0 -Stable tag: 1.3.0 +Version: 1.3.1 +Stable tag: 1.3.1 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -66,6 +66,11 @@ Source: == Changelog == += 1.3.1 - November 23 2024 = +- Fixed: Stick icon paperclip +- Updated: readme.txt +- Updated: README.md + = 1.3.0 - July 17 2023 = - New: Footer (Date, Website title, Theme URL & Licence URL) - New: Function PX to REM (Sass) @@ -135,5 +140,7 @@ Source: == Credits == +* This amazing teacher helped change my life with WordPress https://www.linkedin.com/in/marceloxvieira/ * Based on Underscores https://underscores.me/, (C) 2012-2021 Automattic, Inc., [GPLv3 or later](https://www.gnu.org/licenses/gpl-3.0.html) * normalize.css https://necolas.github.io/normalize.css/, (C) 2012-2021 Nicolas Gallagher and Jonathan Neal, [MIT](https://opensource.org/licenses/MIT) +* Heroicons SVGs https://heroicons.com/ \ No newline at end of file diff --git a/sass/_2_components/_1_components.scss b/sass/_2_components/_1_components.scss index bfd3e66..fb959cb 100644 --- a/sass/_2_components/_1_components.scss +++ b/sass/_2_components/_1_components.scss @@ -282,20 +282,25 @@ color: $blue-dark; } +/* paperclip svg */ +.paperclip { + display: none; +} + /* sticky post */ .sticky { background: $gray-5; position: relative; } -.sticky .card-body::after { - /* paperclip emoji */ - content: "\1F4CE"; +.sticky .paperclip { + /* paperclip svg */ color: $black; - font-size: 1.1rem; + display: block; + width: 20px; position: absolute; - right: 7px; - top: 2px; + right: 8px; + top: 7px; } .updated:not(.published) { diff --git a/sass/style.scss b/sass/style.scss index f54e35c..911df2e 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -4,9 +4,9 @@ Theme URI: https://github.com/flaubert-dev/really-simple-theme#really-simple-the Author: Flaubert Henriques Author URI: https://profiles.wordpress.org/flauberthenriques/ Description: Really Simple is a theme for bloggers and writers who need a ultra light and fast theme. The theme focuses on simplicity and loading speed. Yes, Really Simple Theme is also fully AMP compatible. Check the >> readme.txt << file and leave the sidebar perfect after WordPress 5.8 update. -Version: 1.3.0 +Version: 1.3.1 Requires at least: WordPress 5.3 -Tested up to: WordPress 6.2 +Tested up to: WordPress 6.7 Requires PHP: 7.0 License: GNU General Public License v3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/style.css b/style.css index bbcd483..fa12da8 100644 --- a/style.css +++ b/style.css @@ -5,9 +5,9 @@ Theme URI: https://github.com/flaubert-dev/really-simple-theme#really-simple-the Author: Flaubert Henriques Author URI: https://profiles.wordpress.org/flauberthenriques/ Description: Really Simple is a theme for bloggers and writers who need a ultra light and fast theme. The theme focuses on simplicity and loading speed. Yes, Really Simple Theme is also fully AMP compatible. Check the >> readme.txt << file and leave the sidebar perfect after WordPress 5.8 update. -Version: 1.3.0 +Version: 1.3.1 Requires at least: WordPress 5.3 -Tested up to: WordPress 6.2 +Tested up to: WordPress 6.7 Requires PHP: 7.0 License: GNU General Public License v3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -109,7 +109,6 @@ h1 { * 2. Show the overflow in Edge and IE. */ hr { - -webkit-box-sizing: content-box; box-sizing: content-box; /* 1 */ height: 0; @@ -254,9 +253,9 @@ select { * Correct the inability to style clickable types in iOS and Safari. */ button, -[type="button"], -[type="reset"], -[type="submit"] { +[type=button], +[type=reset], +[type=submit] { -webkit-appearance: button; } @@ -264,9 +263,9 @@ button, * Remove the inner border and padding in Firefox. */ button::-moz-focus-inner, -[type="button"]::-moz-focus-inner, -[type="reset"]::-moz-focus-inner, -[type="submit"]::-moz-focus-inner { +[type=button]::-moz-focus-inner, +[type=reset]::-moz-focus-inner, +[type=submit]::-moz-focus-inner { border-style: none; padding: 0; } @@ -275,9 +274,9 @@ button::-moz-focus-inner, * Restore the focus styles unset by the previous rule. */ button:-moz-focusring, -[type="button"]:-moz-focusring, -[type="reset"]:-moz-focusring, -[type="submit"]:-moz-focusring { +[type=button]:-moz-focusring, +[type=reset]:-moz-focusring, +[type=submit]:-moz-focusring { outline: 1px dotted ButtonText; } @@ -295,7 +294,6 @@ fieldset { * `fieldset` elements in all browsers. */ legend { - -webkit-box-sizing: border-box; box-sizing: border-box; /* 1 */ color: inherit; @@ -328,9 +326,8 @@ textarea { * 1. Add the correct box sizing in IE 10. * 2. Remove the padding in IE 10. */ -[type="checkbox"], -[type="radio"] { - -webkit-box-sizing: border-box; +[type=checkbox], +[type=radio] { box-sizing: border-box; /* 1 */ padding: 0; @@ -340,8 +337,8 @@ textarea { /** * Correct the cursor style of increment and decrement buttons in Chrome. */ -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { +[type=number]::-webkit-inner-spin-button, +[type=number]::-webkit-outer-spin-button { height: auto; } @@ -349,7 +346,7 @@ textarea { * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ -[type="search"] { +[type=search] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; @@ -359,7 +356,7 @@ textarea { /** * Remove the inner padding in Chrome and Safari on macOS. */ -[type="search"]::-webkit-search-decoration { +[type=search]::-webkit-search-decoration { -webkit-appearance: none; } @@ -413,12 +410,10 @@ template { *, *::before, *::after { - -webkit-box-sizing: inherit; box-sizing: inherit; } html { - -webkit-box-sizing: border-box; box-sizing: border-box; } @@ -610,9 +605,9 @@ a:active { /* Forms --------------------------------------------- */ button, -input[type="button"], -input[type="reset"], -input[type="submit"] { +input[type=button], +input[type=reset], +input[type=submit] { border: 1px solid; border-color: #ccc #ccc #bbb; border-radius: 3px; @@ -623,38 +618,38 @@ input[type="submit"] { } button:hover, -input[type="button"]:hover, -input[type="reset"]:hover, -input[type="submit"]:hover { +input[type=button]:hover, +input[type=reset]:hover, +input[type=submit]:hover { border-color: #ccc #bbb #aaa; } button:active, button:focus, -input[type="button"]:active, -input[type="button"]:focus, -input[type="reset"]:active, -input[type="reset"]:focus, -input[type="submit"]:active, -input[type="submit"]:focus { +input[type=button]:active, +input[type=button]:focus, +input[type=reset]:active, +input[type=reset]:focus, +input[type=submit]:active, +input[type=submit]:focus { border-color: #aaa #bbb #bbb; } -input[type="text"], -input[type="email"], -input[type="url"], -input[type="password"], -input[type="search"], -input[type="number"], -input[type="tel"], -input[type="range"], -input[type="date"], -input[type="month"], -input[type="week"], -input[type="time"], -input[type="datetime"], -input[type="datetime-local"], -input[type="color"], +input[type=text], +input[type=email], +input[type=url], +input[type=password], +input[type=search], +input[type=number], +input[type=tel], +input[type=range], +input[type=date], +input[type=month], +input[type=week], +input[type=time], +input[type=datetime], +input[type=datetime-local], +input[type=color], textarea { color: #666; border: 1px solid #ccc; @@ -662,25 +657,25 @@ textarea { padding: 3px; } -input[type="search"] { +input[type=search] { padding: 3px 10px; } -input[type="text"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="password"]:focus, -input[type="search"]:focus, -input[type="number"]:focus, -input[type="tel"]:focus, -input[type="range"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="week"]:focus, -input[type="time"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="color"]:focus, +input[type=text]:focus, +input[type=email]:focus, +input[type=url]:focus, +input[type=password]:focus, +input[type=search]:focus, +input[type=number]:focus, +input[type=tel]:focus, +input[type=range]:focus, +input[type=date]:focus, +input[type=month]:focus, +input[type=week]:focus, +input[type=time]:focus, +input[type=datetime]:focus, +input[type=datetime-local]:focus, +input[type=color]:focus, textarea:focus { color: #111; } @@ -789,23 +784,23 @@ textarea { content: ""; } -[class*="menu-item-has-children"] a::after { - content: "\2304"; +[class*=menu-item-has-children] a::after { + content: "⌄"; margin-left: 5px; } -[class*="menu-item-has-children"] .sub-menu li:last-child { +[class*=menu-item-has-children] .sub-menu li:last-child { border-bottom: 1px solid rgba(38, 50, 56, 0.1); } -[class*="menu-item-has-children"] .sub-menu li a { +[class*=menu-item-has-children] .sub-menu li a { border-left: 1px solid rgba(38, 50, 56, 0.1); border-right: 1px solid rgba(38, 50, 56, 0.1); border-top: 1px solid rgba(38, 50, 56, 0.1); padding: 10px 15px; } -[class*="menu-item-has-children"] .sub-menu .menu-item .sub-menu { +[class*=menu-item-has-children] .sub-menu .menu-item .sub-menu { margin-left: 70px; } @@ -819,15 +814,11 @@ textarea { } .comment-navigation .nav-previous { - -webkit-box-flex: 1; - -ms-flex: 1 0 50%; flex: 1 0 50%; } .comment-navigation .nav-next { text-align: end; - -webkit-box-flex: 1; - -ms-flex: 1 0 50%; flex: 1 0 50%; } @@ -856,12 +847,12 @@ textarea { } .navigation .nav-links .nav-previous a::after { - content: "\21FE"; + content: "⇾"; margin-left: 10px; } .navigation .nav-links .nav-next a::before { - content: "\21FD"; + content: "⇽"; margin-right: 10px; } @@ -986,20 +977,25 @@ textarea { color: #191970; } +/* paperclip svg */ +.paperclip { + display: none; +} + /* sticky post */ .sticky { background: #e2e6e9; position: relative; } -.sticky .card-body::after { - /* paperclip emoji */ - content: "\1F4CE"; +.sticky .paperclip { + /* paperclip svg */ color: #0f161a; - font-size: 1.1rem; + display: block; + width: 20px; position: absolute; - right: 7px; - top: 2px; + right: 8px; + top: 7px; } .updated:not(.published) { @@ -1492,7 +1488,7 @@ textarea { max-width: 100%; } -.wp-caption img[class*="wp-image-"] { +.wp-caption img[class*=wp-image-] { display: block; margin-left: auto; margin-right: auto; @@ -1595,7 +1591,6 @@ textarea { grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); } } - @media only screen and (max-width: 1200px) { #primary { max-width: 800px; @@ -1646,7 +1641,6 @@ textarea { width: 100%; } } - /* Mobile --------------------------------------------- */ @media only screen and (max-width: 899px) { @@ -1738,16 +1732,16 @@ textarea { .really-first-menu .menu-item .sub-menu .menu-item .sub-menu .menu-item a { padding-left: 35px; } - [class*="menu-item-has-children"] .sub-menu li:last-child { + [class*=menu-item-has-children] .sub-menu li:last-child { border-bottom: none; } - [class*="menu-item-has-children"] .sub-menu li a { + [class*=menu-item-has-children] .sub-menu li a { border-bottom: none; border-left: none; border-right: none; border-top: none; } - [class*="menu-item-has-children"] .sub-menu .menu-item .sub-menu { + [class*=menu-item-has-children] .sub-menu .menu-item .sub-menu { margin-left: 0px; } .page .entry-body, @@ -1755,7 +1749,6 @@ textarea { padding: 20px; } } - @media only screen and (max-width: 820px) { #primary { max-width: 300px; @@ -1879,7 +1872,6 @@ textarea { width: 100%; } } - /*-------------------------------------------------------------- # Layouts --------------------------------------------------------------*/ @@ -1915,7 +1907,8 @@ textarea { .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); - clip-path: inset(50%); + -webkit-clip-path: inset(50%); + clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; @@ -1930,7 +1923,8 @@ textarea { border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; - clip-path: none; + -webkit-clip-path: none; + clip-path: none; color: #21759b; display: block; font-size: 0.875rem; @@ -2012,4 +2006,4 @@ a img.aligncenter { display: block; margin-left: auto; margin-right: auto; -} +} \ No newline at end of file diff --git a/template-parts/content.php b/template-parts/content.php index baf51f3..d74a415 100644 --- a/template-parts/content.php +++ b/template-parts/content.php @@ -48,6 +48,14 @@ - + + + +