Repository: terrylinooo/mynote Branch: master Commit: 25fa38f024c2 Files: 117 Total size: 442.8 KB Directory structure: gitextract_sah6h9cm/ ├── .github/ │ └── ISSUE_TEMPLATE/ │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── 404.php ├── LICENSE ├── README.md ├── README.txt ├── archive-product.php ├── archive.php ├── assets/ │ ├── css/ │ │ └── index.html │ ├── images/ │ │ └── index.html │ ├── index.html │ └── js/ │ └── index.html ├── author.php ├── category.php ├── comments.php ├── composer.json ├── custom-landing-page-full.php ├── custom-landing-page-simple.php ├── editor-style.css ├── footer.php ├── functions.php ├── header.php ├── inc/ │ ├── assets/ │ │ ├── css/ │ │ │ ├── index.html │ │ │ ├── mynote-alpha-color-picker.css │ │ │ ├── mynote-image-radio.css │ │ │ └── mynote-toggle.css │ │ ├── images/ │ │ │ └── index.html │ │ ├── index.html │ │ ├── js/ │ │ │ ├── index.html │ │ │ ├── mynote-alpha-color-picker.js │ │ │ └── mynote-image-radio.js │ │ └── scss/ │ │ ├── config.rb │ │ ├── index.html │ │ ├── mynote-alpha-color-picker.scss │ │ ├── mynote-image-radio.scss │ │ └── mynote-toggle.scss │ ├── classes/ │ │ ├── customizer/ │ │ │ ├── class-customize-alpha-color-control.php │ │ │ ├── class-customize-content-control.php │ │ │ ├── class-customize-image-radio-control.php │ │ │ ├── class-customize-toggle-control.php │ │ │ └── index.html │ │ ├── index.html │ │ ├── navbar/ │ │ │ ├── class-mynote-walker.php │ │ │ └── index.html │ │ └── widgets/ │ │ └── class-mynote-widget-toc.php │ ├── customer/ │ │ ├── about.php │ │ ├── homepage.php │ │ ├── index.html │ │ ├── layout.php │ │ ├── navbar.php │ │ ├── post-card.php │ │ ├── post-page.php │ │ └── progress-bar.php │ ├── customize-css.php │ ├── customizer.php │ ├── icon-functions.php │ ├── index.html │ ├── template-functions.php │ ├── template-hook-functions.php │ ├── template-hooks.php │ └── template-tags.php ├── index.php ├── languages/ │ ├── de_DE.mo │ ├── de_DE.po │ ├── fr_FR.mo │ ├── fr_FR.po │ ├── ja.mo │ ├── ja.po │ ├── mynote.pot │ ├── pt_BR.mo │ └── pt_BR.po ├── mynote-child/ │ ├── functions.php │ └── style.css ├── page.php ├── phpcs.xml ├── scss/ │ ├── _bootstrap.scss │ ├── _breadcrumb.scss │ ├── _buttons.scss │ ├── _comment.scss │ ├── _footer.scss │ ├── _functions.scss │ ├── _header.scss │ ├── _home.scss │ ├── _labels.scss │ ├── _main.scss │ ├── _markdown-theme-github.scss │ ├── _misc.scss │ ├── _page-progress.scss │ ├── _responsive.scss │ ├── _shortcode.scss │ ├── _sticky-top.scss │ ├── _table-of-content.scss │ ├── _the-author-card.scss │ ├── _typography.scss │ ├── _variables.scss │ ├── _video.scss │ ├── _widget.scss │ ├── _wordpress.scss │ ├── config.rb │ ├── editor-style.scss │ ├── index.html │ └── style.scss ├── search.php ├── searchform.php ├── sidebar-archive.php ├── sidebar-home.php ├── single-product.php ├── single.php ├── style.css ├── tag.php └── template-parts/ ├── archive.php ├── content-none.php ├── index.html ├── loop.php ├── page-landing.php └── pagination.php ================================================ FILE CONTENTS ================================================ ================================================ FILE: .github/ISSUE_TEMPLATE/bug_report.md ================================================ --- name: Bug report about: Create a report to help us improve --- **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here. ================================================ FILE: .github/ISSUE_TEMPLATE/feature_request.md ================================================ --- name: Feature request about: Suggest an idea for this project --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here. ================================================ FILE: .gitignore ================================================ .DS_Store *.rej # IDE Files #------------------------- /nbproject/ .idea/* ## Sublime Text cache files *.tmlanguage.cache *.tmPreferences.cache *.stTheme.cache *.sublime-workspace *.sublime-project /tests/tests/ /tests/results/ # Visual Studio Code .vscode/ .vscode/* !.gitignore ================================================ FILE: 404.php ================================================

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . ================================================ FILE: README.md ================================================ # Mynote Mynote is a WordPress theme with preferred features for developers and programmers. ![Screenshot](./screenshot.png) A responsive, clean, Markdown friendly WordPress blog theme. It is based on Bootstrap 4 and Fontawesome 5. It is suitable for programming, business, technical, professional, niche and any kind of blogging sites. Mynote has landing-page templates so that can your highly customize your homepage, make your website unique and professional. ## Download | source | download | | --- | --- | | WordPress | https://wordpress.org/themes/mynote/ | | GitHub repository | https://github.com/terrylinooo/mynote/releases | | PHP Composer | `composer create-project terrylinooo/mynote mynote` | ## Features - Markdown friendly - Fully reponsive web design - Search engine optimization - Highly customizable - Structured data supported: - Breadcrumb - Article - Author - Date - Widget areas - Sidebar - Sticky sidebar - Footer - Homepage intro - Homepage middle - Widgets: - Sticky TOC - Menu areas: - Header - Sidebar - Footer - Footer social icon links - Bootstrap 4 pagination - Bootstrap 4 navigation menu (2-layer) - Page reading progress bar - Page templates: - Landing page (full) (with post content) *(#2)* - Landing page (simple) (without post content) *(#3)* - Cross-platform safe webfont for CJK languages. *(#1)* - SCSS supported - Easy to modify this theme for your needs. - WordPress Coding Standards - 99% passed by PHP_CodeSniffer ([WDCS](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards)) *Note:* `#1` CJK: Chinese, Japanese, Koreanese. `#2`, `#3` Featured image will be displayed as header cover. ## Built-in Hooks - mynote_head - mynote_header_before - mynote_header - mynote_header_after - mynote_site_wrapper_before - mynote_site_wrapper_after - mynote_footer_before - mynote_footer - mynote_footer_after - mynote_homepage_promotion - mynote_homepage_sidebar - mynote_homepage_middle_sidebar - mynote_loop_before - mynote_loop_after - mynote_pagination_before - mynote_pagination - mynote_pagination_after - mynote_post_before - mynote_post_content_before - mynote_post_content_after - mynote_post_after - mynote_post_sidebar - mynote_post_comment_before - mynote_post_comment_after - mynote_page_before - mynote_page_content_before - mynote_page_content_after - mynote_page_after - mynote_archive_sidebar - mynote_archive_headline_after - mynote_archive_loop_before - mynote_archive_loop_after - mynote_category_headline_after - mynote_tag_headline_after - mynote_search_headline_after ## Child Theme If you would like to customize something by using Mynote, there is a sample ready for you, just copy `mynote-child` into your WordPress theme directory, and then activate the `Mynote Child` theme in the control panel. ## Dependencies - Bootstrap 4 - Fontawesome 5 ## Translations - Portuguese (pt_BR) by @mauromascarenhas - Japanese (ja_JP) by [@colocal](https://colocal.com/) ## Author Terry L. - [Blog - English](https://terryl.in/) - [Blog - Tranditional Chinese](https://terryl.in/zh/) ## Plugins - [Githuber MD](https://github.com/terrylinooo/githuber-md) is an all-in-one [WordPress Markdown plugin](https://wordpress.org/plugins/wp-githuber-md/). You are able to download it from WordPress plugin directory. To get the additional features of Mynote theme below by install Githuber MD plugin. If you're looking for an useful Markdown editor in WordPress, Githuber MD may be good for you. It is worth to give it a try! ## License GPLv3 (or later) ================================================ FILE: README.txt ================================================ === Mynote === Contributors: Terry Lin Requires at least: 3.6 Tested up to: 6.2.2 Version: 2.0.4 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl.html Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-menu, custom-logo, custom-colors, custom-header, featured-images, featured-image-header, microformats, theme-options, footer-widgets, threaded-comments, translation-ready, blog, entertainment Requires PHP: 5.2.4 Stable tag: 2.0.4 == Description == Mynote is a responsive, clean, Markdown friendly WordPress blog theme. It is based on Bootstrap 4 and Fontawesome 5. It is suitable for programming, business, technical, professional, niche and any kind of blogging sites. Mynote has landing-page templates so that can your highly customize your homepage, make your website unique and professional. == Installation == 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button. 2. Type in Mynote in the search form and press the 'Enter' key on your keyboard. 3. Click on the 'Activate' button to use your new theme right away. 4. Navigate to Appearance > Customize in your admin panel and customize to taste. == Copyright == Mynote WordPress Theme, Copyright 2018 TerryL.in Mynote is distributed under the terms of the GNU GPL This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Mynote bundles the following third-party resources: Font Awesome icons, Copyright Dave Gandy License: SIL Open Font License, version 1.1. Source: http://fontawesome.io/ Bootstrap, Copyright 2011-2018 Twitter, Inc. License: The MIT License (MIT) Source: https://github.com/twbs/bootstrap Customize_Alpha_Color_Control, copyright BraadMartin License: GPL Source: https://github.com/BraadMartin/components/tree/master/customizer/alpha-color-picker CSS Button Effect, Copyright Simurai License: The MIT License (MIT) Source: https://codepen.io/simurai/pen/DwJdq Default header background, Copyright kuba License: Creative Commons CC0 license. Source: https://openclipart.org/detail/99217/electronic-circuit Image: Screenshot License: Creative Commons CC0 license. Source: http://pickupimage.com/free-photos/Aurora-Borealis-Northern-Lights-above-coastal-sea/ Source: https://stocksnap.io/photo/PX6JTHBNDW Source: https://stocksnap.io/photo/NT1Q3GZVFI Source: https://stocksnap.io/photo/9XRMMD2VPW == Changelog == = 1.0.9 = - Change its name from Githuber to Mynote because of possible trademark issue. - Reorganize theme files - refer to the official theme file structure. - Strengthen theme customizer. = 1.0.12 = - Fix issues to pass the theme review. = 1.1.0 = - Add a `Go to Top` floated button. It will be displayed when user scrolling down. - Add a `Go to next screen` floated button. It will be displayed while browsing in RWD mode. (Homepage) - The layout of post page will become one column when user doesn't use widgets in sidebar area. - Fix navbar transparent background issue while browsing in RWD mode. = 1.2.0 = - User is now able to choose preferred layout in Customizer. - Add customizer settings: post card. - Add 2 widget areas: homepage sidebar and archive sidebar. - Add theme suport: site logo (180x60). It will be displayed on navbar. = 1.2.1 = - Fix wrong setting name in customizer. = 1.2.2 = - Add new customizer setting section: Post page. = 1.3.0 = - Improve customizer: change radio to toggle. - Fix an overflow issue in homepage intro section (RWD). - Reorganize cusomizer files structure. - Reorganize static asset files structure. - Add new settings in cusomizer: RWD switcher. - Fix other little CSS issues. = 1.3.1 = - Fix issue #5 - pagination not working in static front page. - Adjust CSS for homepage in RWD. - Add support for WooCommerce. = 1.3.2 = - Add a new customizer setting: Post card - border. - Fix issue #6: Firefox: progress bar almost invisible. - Fix issue #7 - Compatible issue in the child theme. - Fix issue #8: Post tags don't adjust to container div. = 1.3.3 = - Fix issue #11 - Improve footer layout. = 1.3.4 = - Add a customizer setting - elements adjustment in footer section. = 1.3.5 = - Improve footer menu in RWD. - Add new customizer setting for social icon sizes. = 1.3.6 = - Feedback #14: Add Portuguese translation - thanks for @mauromascarenhas = 1.3.7 = - Feedback #17: Add German translation - thanks for @Pandiora = 1.4.0 = - Feature request #18: Wrap template functions for child theme. = 1.4.1 = - Issue #20 - Fix background image position when resolution > 1920. = 1.4.2 = - Feedback #23: Add French translation - thanks for @quentin7b = 1.4.3 = - Feedback #24: Make thumbnail in homepage clickable. - Feedback #25: Update French translation - thanks for @quentin7b = 1.5.0 = - Add support for the new theme hook `wp_body_open` since WordPress 5.2 = 1.5.1 = - Fix CSS conflics with highlight.js JavaScript library. = 1.6.0 = - Add some settings about adjusting the color of menu toggler in responsive view. - Add some settings about search bar on navigation bar, including input text color, background color and size. - Add a setting about gradient mask on post card. = 1.6.1 = - Fix CSS font setting. = 1.6.2 = - Fix HTML unclosed tag in homepage. = 1.6.3 = - Fix missing of WooCommerce support. = 2.0.0 = - Add 35 built-in hooks. - Add Sticky TOC widget. = 2.0.1 = - Fix a bug in homepage. = 2.0.4 = - Test with PHP 8.2.5 and WordPress 6.2.2 - Fix widget style for WordPress 6. - Fix coding style. - Add Japanese translation. ================================================ FILE: archive-product.php ================================================

' ' . __( 'Previous', 'mynote' ) . '', 'next_text' => '' . __( 'Next', 'mynote' ) . ' ', ) ); ?>

=5.3" } } ================================================ FILE: custom-landing-page-full.php ================================================ h1:first-child { display: none; } */ } body .pl-c { color: #6a737d; } body .pl-c1, body .pl-s .pl-v { color: #005cc5; } body .pl-e, body .pl-en { color: #6f42c1; } body .pl-smi, body .pl-s .pl-s1 { color: #24292e; } body .pl-ent { color: #22863a; } body .pl-k { color: #d73a49; } body .pl-s, body .pl-pds, body .pl-s .pl-pse .pl-s1 { color: #032f62; } body .pl-sr { color: #032f62; } body .pl-sr .pl-cce, body .pl-sr .pl-sre, body .pl-sr .pl-sra { color: #032f62; } body .pl-v, body .pl-smw { color: #e36209; } body .pl-bu { color: #b31d28; } body .pl-ii { color: #fafbfc; background-color: #b31d28; } body .pl-c2 { color: #fafbfc; background-color: #d73a49; } body .pl-c2::before { content: "^M"; } body .pl-sr .pl-cce { font-weight: bold; color: #22863a; } body .pl-ml { color: #735c0f; } body .pl-mh { font-weight: bold; color: #005cc5; } body .pl-mh .pl-en { font-weight: bold; color: #005cc5; } body .pl-ms { font-weight: bold; color: #005cc5; } body .pl-mi { font-style: italic; color: #24292e; } body .pl-mb { font-weight: bold; color: #24292e; } body .pl-md { color: #b31d28; background-color: #ffeef0; } body .pl-mi1 { color: #22863a; background-color: #f0fff4; } body .pl-mc { color: #e36209; background-color: #ffebda; } body .pl-mi2 { color: #f6f8fa; background-color: #005cc5; } body .pl-mdr { font-weight: bold; color: #6f42c1; } body .pl-ba { color: #586069; } body .pl-sg { color: #959da5; } body .pl-corl { text-decoration: underline; color: #032f62; } body .octicon { display: inline-block; vertical-align: text-top; fill: currentColor; } body a { background-color: transparent; } body a:active, body a:hover { outline-width: 0; } body strong { font-weight: inherit; font-weight: bolder; } body h1 { font-size: 2em; margin: 0.67em 0; } body img { border-style: none; } body code, body kbd, body pre { font-family: monospace, monospace; font-size: 1em; } body hr { box-sizing: content-box; height: 0; overflow: visible; } body input { font: inherit; margin: 0; overflow: visible; } body [type="checkbox"] { box-sizing: border-box; padding: 0; } body * { box-sizing: border-box; } body input { font-family: inherit; font-size: inherit; line-height: inherit; } body a { color: #0366d6; text-decoration: none; } body a:hover { text-decoration: underline; } body strong { font-weight: 600; } body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #dfe2e5; } body hr::before { display: table; content: ""; } body hr::after { display: table; clear: both; content: ""; } body table { border-spacing: 0; border-collapse: collapse; } body td, body th { padding: 0; } body h1, body h2, body h3, body h4, body h5, body h6 { margin-top: 0; margin-bottom: 0; } body h1 { font-size: 32px; font-weight: 600; } body h2 { font-size: 24px; font-weight: 600; } body h3 { font-size: 20px; font-weight: 600; } body h4 { font-size: 16px; font-weight: 600; } body h5 { font-size: 14px; font-weight: 600; } body h6 { font-size: 12px; font-weight: 600; } body p { margin-top: 0; margin-bottom: 10px; } body blockquote { margin: 0; } body ul { padding-left: 0; margin-top: 0; margin-bottom: 0; } body ol { padding-left: 0; margin-top: 0; margin-bottom: 0; } body ol ol { list-style-type: lower-roman; } body ul ol { list-style-type: lower-roman; } body ul ul ol, body ul ol ol { list-style-type: lower-alpha; } body ol ul ol, body ol ol ol { list-style-type: lower-alpha; } body dd { margin-left: 0; } body code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } body pre { margin-top: 0; margin-bottom: 0; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } body .octicon { vertical-align: text-bottom; } body .pl-0 { padding-left: 0 !important; } body .pl-1 { padding-left: 4px !important; } body .pl-2 { padding-left: 8px !important; } body .pl-3 { padding-left: 16px !important; } body .pl-4 { padding-left: 24px !important; } body .pl-5 { padding-left: 32px !important; } body .pl-6 { padding-left: 40px !important; } body::before { display: table; content: ""; } body::after { display: table; clear: both; content: ""; } body > *:first-child { margin-top: 0 !important; } body > *:last-child { margin-bottom: 0 !important; } body a:not([href]) { color: inherit; text-decoration: none; } body .anchor { float: left; padding-right: 4px; margin-left: -20px; line-height: 1; } body .anchor:focus { outline: none; } body p, body blockquote, body ul, body ol, body dl, body table, body pre { margin-top: 0; margin-bottom: 16px; } body hr { height: 0.25em; padding: 0; margin: 24px 0; background-color: #e1e4e8; border: 0; } body blockquote { padding: 0 1em; color: #6a737d; border-left: 0.25em solid #dfe2e5; } body blockquote > :first-child { margin-top: 0; } body blockquote > :last-child { margin-bottom: 0; } body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #444d56; vertical-align: middle; background-color: #fafbfc; border: solid 1px #c6cbd1; border-bottom-color: #959da5; border-radius: 3px; box-shadow: inset 0 -1px 0 #959da5; } body h1, body h2, body h3, body h4, body h5, body h6 { margin-top: 24px; margin-bottom: 16px; font-weight: 600; line-height: 1.25; } body h1 .octicon-link, body h2 .octicon-link, body h3 .octicon-link, body h4 .octicon-link, body h5 .octicon-link, body h6 .octicon-link { color: #1b1f23; vertical-align: middle; visibility: hidden; } body h1:hover .anchor, body h2:hover .anchor, body h3:hover .anchor, body h4:hover .anchor, body h5:hover .anchor, body h6:hover .anchor { text-decoration: none; } body h1:hover .anchor .octicon-link, body h2:hover .anchor .octicon-link, body h3:hover .anchor .octicon-link, body h4:hover .anchor .octicon-link, body h5:hover .anchor .octicon-link, body h6:hover .anchor .octicon-link { visibility: visible; } body h1 { padding-bottom: 0.3em; font-size: 2em; border-bottom: 1px solid #eaecef; } body h2 { padding-bottom: 0.3em; font-size: 1.5em; border-bottom: 1px solid #eaecef; } body h3 { font-size: 1.25em; } body h4 { font-size: 1em; } body h5 { font-size: 0.875em; } body h6 { font-size: 0.85em; color: #6a737d; } body ul, body ol { padding-left: 2em; } body ul ul, body ul ol { margin-top: 0; margin-bottom: 0; } body ol ol, body ol ul { margin-top: 0; margin-bottom: 0; } body li { word-wrap: break-all; } body li > p { margin-top: 16px; } body li + li { margin-top: 0.25em; } body dl { padding: 0; } body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: 600; } body dl dd { padding: 0 16px; margin-bottom: 16px; } body table { display: block; width: 100%; overflow: auto; } body table th { font-weight: 600; padding: 6px 13px; border: 1px solid #dfe2e5; } body table td { padding: 6px 13px; border: 1px solid #dfe2e5; } body table tr { background-color: #fff; border-top: 1px solid #c6cbd1; } body table tr:nth-child(2n) { background-color: #f6f8fa; } body img { max-width: 100%; box-sizing: content-box; background-color: #fff; } body img[align=right] { padding-left: 20px; } body img[align=left] { padding-right: 20px; } body code { padding: 0.2em 0.4em; font-size: 85%; background-color: rgba(27, 31, 35, 0.05); border-radius: 3px; color: #333; } body pre { word-wrap: normal; } body pre > code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } body .highlight { margin-bottom: 16px; } body .highlight pre { margin-bottom: 0; word-break: normal; padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; } body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; } body pre code { display: inline; max-width: auto; padding: 0; margin: 0; overflow: visible; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } body .full-commit .btn-outline:not(:disabled):hover { color: #005cc5; border-color: #005cc5; } body kbd { display: inline-block; padding: 3px 5px; font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #444d56; vertical-align: middle; background-color: #fafbfc; border: solid 1px #d1d5da; border-bottom-color: #c6cbd1; border-radius: 3px; box-shadow: inset 0 -1px 0 #c6cbd1; } body :checked + .radio-label { position: relative; z-index: 1; border-color: #0366d6; } body .task-list-item { list-style-type: none; } body .task-list-item + .task-list-item { margin-top: 3px; } body .task-list-item input { margin: 0 0.2em 0.25em -1.6em; vertical-align: middle; } body hr { border-bottom-color: #eee; } /* Use the best fit font for different languages */ :lang(en) body { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif; } :lang(en) h1, :lang(en) h2, :lang(en) h3, :lang(en) h4, :lang(en) h5, :lang(en) h6 { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif; } :lang(en) .section-intro, :lang(en) #post-title, :lang(en) .site-info { font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif; } :lang(zh) body { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "標楷體", "DFKai-SB"; } :lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4, :lang(zh) h5, :lang(zh) h6 { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "標楷體", "DFKai-SB"; } :lang(zh) .section-intro, :lang(zh) #post-title, :lang(zh) .site-info { font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "標楷體", "DFKai-SB"; } :lang(ja) body { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic"; } :lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4, :lang(ja) h5, :lang(ja) h6 { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic"; } :lang(ja) .section-intro, :lang(ja) #post-title, :lang(ja) .site-info { font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic"; } :lang(ko) body { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim"; } :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) h4, :lang(ko) h5, :lang(ko) h6 { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim"; } :lang(ko) .section-intro, :lang(ko) #post-title, :lang(ko) .site-info { font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim"; } ================================================ FILE: footer.php ================================================
================================================ FILE: functions.php ================================================ '', 'default-image' => '', 'default-repeat' => 'repeat', 'default-position-x' => 'left', 'default-position-y' => 'top', 'default-size' => 'auto', 'default-attachment' => 'scroll', 'wp-head-callback' => '_custom_background_cb', 'admin-head-callback' => '', 'admin-preview-callback' => '', ); add_theme_support( 'custom-background', $background_args ); // Add theme support for Custom Header $header_args = array( 'default-image' => '', 'width' => 1920, 'height' => 640, 'flex-width' => false, 'flex-height' => false, 'uploads' => true, 'random-default' => false, 'header-text' => true, 'default-text-color' => 'ffffff', 'wp-head-callback' => '_custom_background_cb', 'admin-head-callback' => '', 'admin-preview-callback' => '', 'video' => false, 'video-active-callback' => '', ); add_theme_support( 'custom-header', $header_args ); // Add theme support for Custom Logo. $logo_args = array( 'height' => 60, 'width' => 180, 'flex-width' => true, ); add_theme_support( 'custom-logo', $logo_args ); add_theme_support( 'woocommerce', array( 'thumbnail_image_width' => 150, 'single_image_width' => 300, 'product_grid' => array( 'default_rows' => 3, 'min_rows' => 2, 'max_rows' => 8, 'default_columns' => 4, 'min_columns' => 2, 'max_columns' => 5, ), ) ); } add_editor_style( 'editor-style.css' ); } /** * Add scripts */ function mynote_header_scripts() { if ( 'wp-login.php' !== $GLOBALS['pagenow'] && ! is_admin() ) { wp_register_script( 'bootstrap', get_template_directory_uri() . '/assets/js/bootstrap.bundle.min.js', array( 'jquery' ), '4.1.0' ); wp_enqueue_script( 'bootstrap' ); } } /** * Add styles */ function mynote_styles() { wp_register_style( 'bootstrap', get_template_directory_uri() . '/assets/css/bootstrap.min.css', array(), '4.1.0', 'all' ); wp_enqueue_style( 'bootstrap' ); wp_register_style( 'fontawesome', get_template_directory_uri() . '/assets/css/fontawesome-all.min.css', array(), '5.1.0', 'all' ); wp_enqueue_style( 'fontawesome' ); wp_register_style( 'mynote-font-roboto', 'https://fonts.googleapis.com/css?family=Roboto:300,400', array(), '1.0', 'all' ); wp_enqueue_style( 'mynote-font-roboto' ); wp_register_style( 'mynote', get_template_directory_uri() . '/style.css', array(), '2.0.3', 'all' ); wp_enqueue_style( 'mynote' ); } /** * Enqueue the javascript that performs in-link comment reply fanciness * * @return void */ function mynote_enqueue_comment_reply() { if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } /** * Register mynote Navigation * * @return void */ function mynote_register_mynote_menu() { register_nav_menus( array( 'header-menu' => __( 'Header Menu', 'mynote' ), 'sidebar-menu' => __( 'Sidebar Menu', 'mynote' ), 'footer-menu' => __( 'Footer Menu', 'mynote' ), 'social' => __( 'Social Links Menu', 'mynote' ), ) ); } /** * Register widget area. */ function mynote_widgets_init() { register_sidebar( array( 'name' => __( 'Sidebar', 'mynote' ), 'id' => 'sidebar-1', 'description' => __( 'Add widgets here to appear in your sidebar on blog posts.', 'mynote' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Footer', 'mynote' ), 'id' => 'sidebar-2', 'description' => __( 'Add widgets here to appear in your footer.', 'mynote' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Sticky Sidebar', 'mynote' ), 'id' => 'sidebar-3', 'description' => __( 'Add widgets here to appear in your sidebar on blog posts and archive pages.', 'mynote' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Homepage Middle', 'mynote' ), 'id' => 'sidebar-4', 'description' => __( 'Add widgets here to appear in your homepage middle section.', 'mynote' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Homepage Intro', 'mynote' ), 'id' => 'sidebar-5', 'description' => __( 'Add widgets here to appear in your homepage intro section.', 'mynote' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Homepage Sidebar', 'mynote' ), 'id' => 'sidebar-6', 'description' => __( 'Add widgets here to appear in your sidebar on homepage.', 'mynote' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Archive Sidebar', 'mynote' ), 'id' => 'sidebar-7', 'description' => __( 'Add widgets here to appear in your sidebar on archive pages.', 'mynote' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_widget( 'Mynote_Widget_Toc' ); } // I still don't know why should I put this line to ignore theme-check warning. if ( ! isset( $content_width ) ) { $content_width = 900; } if ( ! function_exists( 'wp_body_open' ) ) { /** * Added for backwards compatibility to support WordPress versions prior to 5.2.0. * * @since WP 5.2.0 */ function wp_body_open() { do_action( 'wp_body_open' ); } } /** * Customizer additions. */ if ( function_exists( 'is_customize_preview' ) && is_customize_preview() ) { require get_parent_theme_file_path( '/inc/customizer.php' ); } /** * Implement the Custom Header feature. */ require get_parent_theme_file_path( '/inc/customize-css.php' ); /** * Custom Walker_Nav_Menu for Mynote theme header menu. */ require get_parent_theme_file_path( '/inc/classes/navbar/class-mynote-walker.php' ); /** * Sticky TOC widget for single post. */ require get_parent_theme_file_path( '/inc/classes/widgets/class-mynote-widget-toc.php' ); /** * Custom template tags for this theme. */ require get_parent_theme_file_path( '/inc/template-tags.php' ); /** * Additional features to allow styling of the templates. */ require get_parent_theme_file_path( '/inc/template-functions.php' ); /** * Social icon functions. */ require get_parent_theme_file_path( '/inc/icon-functions.php' ); /** * Mynote template functions for hooks. */ require get_parent_theme_file_path( '/inc/template-hook-functions.php' ); /** * Hooks for Mynote theme. */ require get_parent_theme_file_path( '/inc/template-hooks.php' ); ================================================ FILE: header.php ================================================ class="no-js"> >
================================================ FILE: inc/assets/css/index.html ================================================ ================================================ FILE: inc/assets/css/mynote-alpha-color-picker.css ================================================ /** * Alpha Color Picker CSS */ .customize-control-alpha-color .wp-picker-container { max-width: 257px; } .customize-control-alpha-color .wp-picker-container .iris-picker { border-bottom: none; } .customize-control-alpha-color .wp-picker-open + .wp-picker-input-wrap { width: 100%; } .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control { float: left; width: 195px; } .customize-control-alpha-color .wp-picker-input-wrap .button { margin-left: 0; float: right; } .wp-picker-container .wp-picker-open ~ .wp-picker-holder .alpha-color-picker-container { display: block; } .alpha-color-picker-container { border: 1px solid #dfdfdf; border-top: none; display: none; background: #FFF; padding: 0 11px 10px; position: relative; } .alpha-color-picker-container .ui-widget-content, .alpha-color-picker-container .ui-widget-header { background: transparent; border: none; } .alpha-color-picker-wrap .ui-state-focus { background: transparent; border: none; } .alpha-color-picker-wrap a.iris-square-value:focus { -webkit-box-shadow: none; box-shadow: none; } .alpha-color-picker-container .ui-slider { position: relative; z-index: 1; height: 24px; text-align: center; margin: 0 auto; width: 88%; width: calc( 100% - 28px ); } .alpha-color-picker-container .ui-slider-handle, .alpha-color-picker-container .ui-widget-content .ui-state-default { color: #777; background-color: #FFF; text-shadow: 0 1px 0 #FFF; text-decoration: none; position: absolute; z-index: 2; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); border: 1px solid #aaa; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; margin-top: -2px; top: 0; height: 26px; width: 26px; cursor: ew-resize; font-size: 0; padding: 0; line-height: 27px; margin-left: -14px; } .alpha-color-picker-container .ui-slider-handle.show-opacity { font-size: 12px; } .alpha-color-picker-container .click-zone { width: 14px; height: 24px; display: block; position: absolute; left: 10px; } .alpha-color-picker-container .max-click-zone { right: 10px; left: auto; } .alpha-color-picker-container .transparency { height: 24px; width: 100%; background-color: #FFF; background-image: url(../images/mynote-transparency-grid.png); box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 0; margin-top: -24px; } @media only screen and (max-width: 782px) { .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control { width: 184px; } } @media only screen and (max-width: 640px) { .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control { width: 172px; height: 33px; } } ================================================ FILE: inc/assets/css/mynote-image-radio.css ================================================ .radio-controls { margin-top: 15px; } .radio-controls .radio-img { border: 3px solid #cccccc; margin: 0; cursor: pointer; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; } .radio-controls .radio-img-selected { border: 4px solid #00aeff; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; } .radio-controls li { text-align: center; padding: 5px; } ================================================ FILE: inc/assets/css/mynote-toggle.css ================================================ .toggle-controls { display: flex; flex-direction: row; justify-content: flex-start; } .disabled-control-title { color: #a0a5aa; } input[type=checkbox].mn-toggle { display: none; box-sizing: border-box; } input[type=checkbox].mn-toggle:after, input[type=checkbox].mn-toggle:before { box-sizing: border-box; } input[type=checkbox].mn-toggle * { box-sizing: border-box; } input[type=checkbox].mn-toggle *:after, input[type=checkbox].mn-toggle *:before { box-sizing: border-box; } input[type=checkbox].mn-toggle + .mn-toggle-btn { box-sizing: border-box; } input[type=checkbox].mn-toggle::-moz-selection, input[type=checkbox].mn-toggle:after::-moz-selection, input[type=checkbox].mn-toggle:before::-moz-selection { background: none; } input[type=checkbox].mn-toggle *::-moz-selection, input[type=checkbox].mn-toggle *:after::-moz-selection, input[type=checkbox].mn-toggle *:before::-moz-selection { background: none; } input[type=checkbox].mn-toggle + .mn-toggle-btn::-moz-selection, input[type=checkbox].mn-toggle::selection, input[type=checkbox].mn-toggle:after::selection, input[type=checkbox].mn-toggle:before::selection { background: none; } input[type=checkbox].mn-toggle *::selection, input[type=checkbox].mn-toggle *:after::selection, input[type=checkbox].mn-toggle *:before::selection { background: none; } input[type=checkbox].mn-toggle + .mn-toggle-btn { width: 4em; height: 2em; position: relative; display: block; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; cursor: pointer; outline: 0; } input[type=checkbox].mn-toggle + .mn-toggle-btn::selection { background: none; } input[type=checkbox].mn-toggle + .mn-toggle-btn:after, input[type=checkbox].mn-toggle + .mn-toggle-btn:before { position: relative; display: block; content: ""; width: 50%; height: 100%; } input[type=checkbox].mn-toggle + .mn-toggle-btn:after { left: 0; } input[type=checkbox].mn-toggle + .mn-toggle-btn:before { display: none; } input[type=checkbox].mn-toggle:checked + .mn-toggle-btn:after { left: 50%; } input[type=checkbox].mn-toggle-blue + .mn-toggle-btn { background: #f0f0f0; border-radius: 2em; padding: 2px; -webkit-transition: all .5s ease; transition: all .5s ease; } input[type=checkbox].mn-toggle-blue + .mn-toggle-btn:after { border-radius: 50%; background: #fff; -webkit-transition: all .2s ease; transition: all .2s ease; } input[type=checkbox].mn-toggle-blue:checked + .mn-toggle-btn { background: #9fd5af; } input[type=checkbox].mn-toggle-blue:checked + .mn-toggle-btn { background: #0085ba; } input[type=checkbox].mn-toggle-blue + .mn-toggle-btn { background: #a0aaaa; } input[type=checkbox].mn-toggle-blue + .mn-toggle-btn:after { background: #f7f7f7; } ================================================ FILE: inc/assets/images/index.html ================================================ ================================================ FILE: inc/assets/index.html ================================================ ================================================ FILE: inc/assets/js/index.html ================================================ ================================================ FILE: inc/assets/js/mynote-alpha-color-picker.js ================================================ /** * Alpha Color Picker JS * * This file includes several helper functions and the core control JS. */ /** * Override the stock color.js toString() method to add support for * outputting RGBa or Hex. */ Color.prototype.toString = function( flag ) { // If our no-alpha flag has been passed in, output RGBa value with 100% opacity. // This is used to set the background color on the opacity slider during color changes. if ( 'no-alpha' == flag ) { return this.toCSS( 'rgba', '1' ).replace( /\s+/g, '' ); } // If we have a proper opacity value, output RGBa. if ( 1 >= this._alpha ) { return this.toCSS( 'rgba', this._alpha ).replace( /\s+/g, '' ); } // Proceed with stock color.js hex output. var hex = parseInt( this._color, 10 ).toString( 16 ); if ( this.error ) { return ''; } if ( hex.length < 6 ) { for ( var i = 6 - hex.length - 1; i >= 0; i-- ) { hex = '0' + hex; } } return '#' + hex; }; /** * Given an RGBa, RGB, or hex color value, return the alpha channel value. */ function acp_get_alpha_value_from_color( value ) { var alphaVal; // Remove all spaces from the passed in value to help our RGBa regex. value = value.replace( / /g, '' ); if ( value.match( /rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/ ) ) { alphaVal = parseFloat( value.match( /rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/ )[1] ).toFixed(2) * 100; alphaVal = parseInt( alphaVal ); } else { alphaVal = 100; } return alphaVal; } /** * Force update the alpha value of the color picker object and maybe the alpha slider. */ function acp_update_alpha_value_on_color_control( alpha, $control, $alphaSlider, update_slider ) { var iris, colorPicker, color; iris = $control.data( 'a8cIris' ); colorPicker = $control.data( 'wpWpColorPicker' ); // Set the alpha value on the Iris object. iris._color._alpha = alpha; // Store the new color value. color = iris._color.toString(); // Set the value of the input. $control.val( color ); // Update the background color of the color picker. colorPicker.toggler.css({ 'background-color': color }); // Maybe update the alpha slider itself. if ( update_slider ) { acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider ); } // Update the color value of the color picker object. $control.wpColorPicker( 'color', color ); } /** * Update the slider handle position and label. */ function acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider ) { $alphaSlider.slider( 'value', alpha ); $alphaSlider.find( '.ui-slider-handle' ).text( alpha.toString() ); } /** * Initialization trigger. */ jQuery( document ).ready( function( $ ) { // Loop over each control and transform it into our color picker. $( '.alpha-color-control' ).each( function() { var $parent = $( this ).closest( 'li.customize-control-alpha-color' ); $parent.find( 'div.customize-control-notifications-container' ).prependTo( $parent ); $parent.find( 'span.customize-control-description' ).prependTo( $parent ); $parent.find( 'span.customize-control-title' ).prependTo( $parent ); // Scope the vars. var $control, startingColor, paletteInput, showOpacity, defaultColor, palette, colorPickerOptions, $container, $alphaSlider, alphaVal, sliderOptions; // Store the control instance. $control = $( this ); // Get a clean starting value for the option. startingColor = $control.val().replace( /\s+/g, '' ); // Get some data off the control. paletteInput = $control.attr( 'data-palette' ); showOpacity = $control.attr( 'data-show-opacity' ); defaultColor = $control.attr( 'data-default-color' ); // Process the palette. if ( paletteInput.indexOf( '|' ) !== -1 ) { palette = paletteInput.split( '|' ); } else if ( 'false' == paletteInput ) { palette = false; } else { palette = true; } // Set up the options that we'll pass to wpColorPicker(). colorPickerOptions = { change: function( event, ui ) { var key, value, alpha, $transparency; key = $control.attr( 'data-customize-setting-link' ); value = $control.wpColorPicker( 'color' ); // Set the opacity value on the slider handle when the default color button is clicked. if ( defaultColor == value ) { alpha = acp_get_alpha_value_from_color( value ); $alphaSlider.find( '.ui-slider-handle' ).text( alpha ); } // Send ajax request to wp.customize to trigger the Save action. wp.customize( key, function( obj ) { obj.set( value ); }); $transparency = $container.find( '.transparency' ); // Always show the background color of the opacity slider at 100% opacity. $transparency.css( 'background-color', ui.color.toString( 'no-alpha' ) ); }, palettes: palette // Use the passed in palette. }; // Create the colorpicker. $control.wpColorPicker( colorPickerOptions ); $container = $control.parents( '.wp-picker-container:first' ); // Insert our opacity slider. $( '
' + '
' + '
' + '
' + '
' + '
' ).appendTo( $container.find( '.wp-picker-holder' ) ); $alphaSlider = $container.find( '.alpha-slider' ); // If starting value is in format RGBa, grab the alpha channel. alphaVal = acp_get_alpha_value_from_color( startingColor ); // Set up jQuery UI slider() options. sliderOptions = { create: function( event, ui ) { var value = $( this ).slider( 'value' ); // Set up initial values. $( this ).find( '.ui-slider-handle' ).text( value ); $( this ).siblings( '.transparency ').css( 'background-color', startingColor ); }, value: alphaVal, range: 'max', step: 1, min: 0, max: 100, animate: 300 }; // Initialize jQuery UI slider with our options. $alphaSlider.slider( sliderOptions ); // Maybe show the opacity on the handle. if ( 'true' == showOpacity ) { $alphaSlider.find( '.ui-slider-handle' ).addClass( 'show-opacity' ); } // Bind event handlers for the click zones. $container.find( '.min-click-zone' ).on( 'click', function() { acp_update_alpha_value_on_color_control( 0, $control, $alphaSlider, true ); }); $container.find( '.max-click-zone' ).on( 'click', function() { acp_update_alpha_value_on_color_control( 100, $control, $alphaSlider, true ); }); // Bind event handler for clicking on a palette color. $container.find( '.iris-palette' ).on( 'click', function() { var color, alpha; color = $( this ).css( 'background-color' ); alpha = acp_get_alpha_value_from_color( color ); acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider ); // Sometimes Iris doesn't set a perfect background-color on the palette, // for example rgba(20, 80, 100, 0.3) becomes rgba(20, 80, 100, 0.298039). // To compensante for this we round the opacity value on RGBa colors here // and save it a second time to the color picker object. if ( alpha != 100 ) { color = color.replace( /[^,]+(?=\))/, ( alpha / 100 ).toFixed( 2 ) ); } $control.wpColorPicker( 'color', color ); }); // Bind event handler for clicking on the 'Clear' button. $container.find( '.button.wp-picker-clear' ).on( 'click', function() { var key = $control.attr( 'data-customize-setting-link' ); // The #fff color is delibrate here. This sets the color picker to white instead of the // defult black, which puts the color picker in a better place to visually represent empty. $control.wpColorPicker( 'color', '#ffffff' ); // Set the actual option value to empty string. wp.customize( key, function( obj ) { obj.set( '' ); }); acp_update_alpha_value_on_alpha_slider( 100, $alphaSlider ); }); // Bind event handler for clicking on the 'Default' button. $container.find( '.button.wp-picker-default' ).on( 'click', function() { var alpha = acp_get_alpha_value_from_color( defaultColor ); acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider ); }); // Bind event handler for typing or pasting into the input. $control.on( 'input', function() { var value = $( this ).val(); var alpha = acp_get_alpha_value_from_color( value ); acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider ); }); // Update all the things when the slider is interacted with. $alphaSlider.slider().on( 'slide', function( event, ui ) { var alpha = parseFloat( ui.value ) / 100.0; acp_update_alpha_value_on_color_control( alpha, $control, $alphaSlider, false ); // Change value shown on slider handle. $( this ).find( '.ui-slider-handle' ).text( ui.value ); }); }); }); ================================================ FILE: inc/assets/js/mynote-image-radio.js ================================================ /** * Customize_Image_Radio_Control * * Use the image instead of origin radio button. * * @package WordPress * @author Terry Lin * @license GPLv3 (or later) * @link https://terryl.in * @copyright 2018 Terry Lin */ jQuery( document ).ready( function( $ ) { $( '.radio-controls li img' ).click (function () { $( '.radio-controls li' ).each( function () { $( this ).find( 'img' ).removeClass( 'radio-img-selected' ); }); $( this ).addClass( 'radio-img-selected' ); }); }); ================================================ FILE: inc/assets/scss/config.rb ================================================ require 'compass/import-once/activate' # Require any additional compass plugins here. relative_assets = true # Set this to the root of your project when deployed: http_path = "/" css_dir = "../css" sass_dir = "" images_dir = "../images" javascripts_dir = "../js" # You can select your preferred output style here (can be overridden via the command line): # output_style = :expanded or :nested or :compact or :compressed # To enable relative paths to assets via compass helper functions. Uncomment: # relative_assets = true # To disable debugging comments that display the original location of your selectors. Uncomment: line_comments = false environment = :production output_style = :expanded # If you prefer the indented syntax, you might want to regenerate this # project again passing --syntax sass, or you can uncomment this: # preferred_syntax = :sass # and then run: # sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass # Encoding.default_external = Encoding.find('utf-8') #require 'compass-normalize' cache = false ================================================ FILE: inc/assets/scss/index.html ================================================ ================================================ FILE: inc/assets/scss/mynote-alpha-color-picker.scss ================================================ /** * Alpha Color Picker CSS */ .customize-control-alpha-color { .wp-picker-container { .iris-picker { border-bottom: none; } max-width: 257px; } .wp-picker-open + .wp-picker-input-wrap { width: 100%; } .wp-picker-input-wrap { input[type="text"].wp-color-picker.alpha-color-control { float: left; width: 195px; } .button { margin-left: 0; float: right; } } } .wp-picker-container .wp-picker-open ~ .wp-picker-holder .alpha-color-picker-container { display: block; } .alpha-color-picker-container { border: 1px solid #dfdfdf; border-top: none; display: none; background: #FFF; padding: 0 11px 10px; position: relative; .ui-widget-content, .ui-widget-header { background: transparent; border: none; } } .alpha-color-picker-wrap { .ui-state-focus { background: transparent; border: none; } a.iris-square-value:focus { -webkit-box-shadow: none; box-shadow: none; } } .alpha-color-picker-container { .ui-slider { position: relative; z-index: 1; height: 24px; text-align: center; margin: 0 auto; width: 88%; width: calc( 100% - 28px ); } .ui-slider-handle, .ui-widget-content .ui-state-default { color: #777; background-color: #FFF; text-shadow: 0 1px 0 #FFF; text-decoration: none; position: absolute; z-index: 2; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); border: 1px solid #aaa; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; margin-top: -2px; top: 0; height: 26px; width: 26px; cursor: ew-resize; font-size: 0; padding: 0; line-height: 27px; margin-left: -14px; } .ui-slider-handle.show-opacity { font-size: 12px; } .click-zone { width: 14px; height: 24px; display: block; position: absolute; left: 10px; } .max-click-zone { right: 10px; left: auto; } .transparency { height: 24px; width: 100%; background-color: #FFF; background-image: url(../images/mynote-transparency-grid.png); box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 0; margin-top: -24px; } } @media only screen and (max-width: 782px) { .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control { width: 184px; } } @media only screen and (max-width: 640px) { .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control { width: 172px; height: 33px; } } ================================================ FILE: inc/assets/scss/mynote-image-radio.scss ================================================ .radio-controls { margin-top: 15px; .radio-img { border: 3px solid #cccccc; margin: 0; cursor: pointer; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; } .radio-img-selected { border: 4px solid #00aeff; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; } li { text-align: center; padding: 5px; } } ================================================ FILE: inc/assets/scss/mynote-toggle.scss ================================================ .toggle-controls { display:flex; flex-direction: row; justify-content: flex-start; } .disabled-control-title { color: #a0a5aa; } input[type=checkbox] { &.mn-toggle { display: none; box-sizing: border-box; &:after, &:before { box-sizing: border-box; } * { box-sizing: border-box; &:after, &:before { box-sizing: border-box; } } + .mn-toggle-btn { box-sizing: border-box; } &::-moz-selection, &:after::-moz-selection, &:before::-moz-selection { background: none; } * { &::-moz-selection, &:after::-moz-selection, &:before::-moz-selection { background: none; } } + .mn-toggle-btn::-moz-selection, &::selection, &:after::selection, &:before::selection { background: none; } * { &::selection, &:after::selection, &:before::selection { background: none; } } + .mn-toggle-btn { &::selection { background: none; } width: 4em; height: 2em; position: relative; display: block; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; cursor: pointer; outline: 0; &:after, &:before { position: relative; display: block; content: ""; width: 50%; height: 100%; } &:after { left: 0; } &:before { display: none; } } &:checked + .mn-toggle-btn:after { left: 50%; } } &.mn-toggle-blue { + .mn-toggle-btn { background: #f0f0f0; border-radius: 2em; padding: 2px; -webkit-transition: all .5s ease; transition: all .5s ease; &:after { border-radius: 50%; background: #fff; -webkit-transition: all .2s ease; transition: all .2s ease; } } &:checked + .mn-toggle-btn { background: #9fd5af; } } &.mn-toggle-blue { &:checked + .mn-toggle-btn { background: #0085ba; } + .mn-toggle-btn { background: #a0aaaa; &:after { background: #f7f7f7; } } } } ================================================ FILE: inc/classes/customizer/class-customize-alpha-color-control.php ================================================ . */ class Customize_Alpha_Color_Control extends WP_Customize_Control { /** * Official control name. */ public $type = 'alpha-color'; /** * Add support for palettes to be passed in. * * Supported palette values are true, false, or an array of RGBa and Hex colors. */ public $palette; /** * Add support for showing the opacity value on the slider handle. */ public $show_opacity; /** * Enqueue scripts and styles. * * Ideally these would get registered and given proper paths before this control object * gets initialized, then we could simply enqueue them here, but for completeness as a * stand alone class we'll register and enqueue them here. */ public function enqueue() { wp_enqueue_script( $this->type, get_template_directory_uri() . '/inc/assets/js/mynote-alpha-color-picker.js', array( 'jquery' ), '1.0.0', true ); wp_enqueue_style( $this->type, get_template_directory_uri() . '/inc/assets/css/mynote-alpha-color-picker.css', array(), '1.0.0' ); } /** * Render the control. */ public function render_content() { // Process the palette if ( is_array( $this->palette ) ) { $palette = implode( '|', $this->palette ); } else { // Default to true. $palette = ( false === $this->palette || 'false' === $this->palette ) ? 'false' : 'true'; } // Support passing show_opacity as string or boolean. Default to true. $show_opacity = ( false === $this->show_opacity || 'false' === $this->show_opacity ) ? 'false' : 'true'; // Begin the output. ?> * @license GPLv3 (or later) * @link https://terryl.in * @copyright 2018 Terry Lin */ class Customize_Content_Control extends WP_Customize_Control { /** * Define control type. */ public $type = 'content'; /** * Render the control. */ public function render_content() { if ( isset( $this->label ) && '' !== $this->label ) { echo '' . $this->label . ''; } if ( isset( $this->input_attrs['content'] ) ) { echo $this->input_attrs['content']; } if ( isset( $this->description ) ) { echo '' . $this->description . ''; } } } ================================================ FILE: inc/classes/customizer/class-customize-image-radio-control.php ================================================ * @license GPLv3 (or later) * @link https://terryl.in * @copyright 2018 Terry Lin */ class Customize_Image_Radio_Control extends WP_Customize_Control { /** * Define control type. */ public $type = 'image-radio'; /** * Enqueue scripts and styles. */ public function enqueue() { wp_enqueue_script( $this->type, get_template_directory_uri() . '/inc/assets/js/mynote-image-radio.js', array( 'jquery' ), '1.0.0', true ); wp_enqueue_style( $this->type, get_template_directory_uri() . '/inc/assets/css/mynote-image-radio.css', array(), '1.0.0' ); } /** * Render the control. */ public function render_content() { if ( empty( $this->choices ) ) { return; } $name = 'customize-radio-' . $this->id; if ( isset( $this->label ) && '' !== $this->label ) { echo '' . sanitize_text_field( $this->label ) . ''; } if ( isset( $this->description ) && '' !== $this->description ) { echo '' . sanitize_text_field( $this->description ) . ''; } ?>
    choices as $value => $label ) { $class = ( $this->value() === $value ) ? 'radio-img-selected radio-img' : 'radio-img'; ?>
* @license GPLv3 (or later) * @link https://terryl.in * @copyright 2018 Terry Lin */ class Customize_Toggle_Control extends WP_Customize_Control { /** * Define control type. */ public $type = 'checkbox-toggle'; /** * Enqueue scripts and styles. */ public function enqueue() { wp_enqueue_style( $this->type, get_template_directory_uri() . '/inc/assets/css/mynote-toggle.css', array(), '1.0.0' ); } /** * Render the control's content. */ public function render_content() { ?>
label ); ?> value() ); ?> link(); ?> />
description ) ) { echo '' . $this->description . ''; } } } ================================================ FILE: inc/classes/customizer/index.html ================================================ ================================================ FILE: inc/classes/index.html ================================================ ================================================ FILE: inc/classes/navbar/class-mynote-walker.php ================================================ * @license GPLv3 (or later) * @link https://terryl.in * @copyright 2018 Terry Lin */ /** * Mynote_Walker */ class Mynote_Walker extends Walker_Nav_Menu { /** * Constructer. */ public function __construct() { add_filter( 'nav_menu_css_class', function( $classes, $item, $args, $depth ) { unset( $classes ); return array(); }, 10, 4 ); } /** * Starts the list before the elements are added. * * @param string $output Used to append additional content (passed by reference). * @param integer $depth Depth of menu item. Used for padding. * @param object $args An object of wp_nav_menu() arguments. * @return void */ public function start_lvl( &$output, $depth = 0, $args = null ) { $output .= ''; } /** * Starts the element output. * * @param string $output Used to append additional content (passed by reference). * @param object $item Menu item data object. * @param integer $depth Depth of menu item. Used for padding. * @param object $args An object of wp_nav_menu() arguments. * @param integer $id Current item ID. * @return void */ public function start_el( &$output, $item, $depth = 0, $args = null, $id = 0 ) { $classes = empty( $item->classes ) ? array() : (array) $item->classes; $classes[] = 'menu-item-' . $item->ID; $class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args, $depth ) ); $class_names .= ' nav-item'; if ( in_array( 'menu-item-has-children', $classes, true ) ) { $class_names .= ' dropdown'; } if ( in_array( 'current-menu-item', $classes, true ) ) { $class_names .= ' active'; } $class_names = $class_names ? ' class="' . esc_attr( trim( $class_names ) ) . '"' : ''; $class_names = trim( $class_names ); $id = apply_filters( 'nav_menu_item_id', 'menu-item-' . $item->ID, $item, $args, $depth ); $id = $id ? ' id="' . esc_attr( $id ) . '"' : ''; if ( 0 === $depth ) { $output .= '
  • '; } $atts = array(); $atts['title'] = ! empty( $item->attr_title ) ? $item->attr_title : ''; $atts['target'] = ! empty( $item->target ) ? $item->target : ''; $atts['rel'] = ! empty( $item->xfn ) ? $item->xfn : ''; $atts['href'] = ! empty( $item->url ) ? $item->url : ''; if ( 0 === $depth ) { $atts['class'] = 'nav-link'; } if ( 0 === $depth && in_array( 'menu-item-has-children', $classes, true ) ) { $atts['class'] .= ' dropdown-toggle'; $atts['data-toggle'] = 'dropdown'; } if ( $depth > 0 ) { $manual_class = array_values( $classes )[0] . ' dropdown-item'; $atts['class'] = trim( $manual_class ); } if ( in_array( 'current-menu-item', $item->classes, true ) ) { $atts['class'] .= ' active'; } $atts = apply_filters( 'nav_menu_link_attributes', $atts, $item, $args, $depth ); $attributes = ''; foreach ( $atts as $attr => $value ) { if ( ! empty( $value ) ) { $value = ( 'href' === $attr ) ? esc_url( $value ) : esc_attr( $value ); $attributes .= ' ' . $attr . '="' . $value . '"'; } } $item_output = $args->before; $item_output .= ''; $item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after; $item_output .= ''; $item_output .= $args->after; $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args ); } /** * Ends the element output, if needed. * * @param string $output Used to append additional content (passed by reference). * @param object $item Page data object. Not used. * @param integer $depth Depth of page. Not Used. * @param array $args An object of wp_nav_menu() arguments. * @return void */ public function end_el( &$output, $item, $depth = 0, $args = array() ) { if ( 0 === $depth ) { $output .= '
  • '; } } } ================================================ FILE: inc/classes/navbar/index.html ================================================ ================================================ FILE: inc/classes/widgets/class-mynote-widget-toc.php ================================================ * @license GPLv3 (or later) * @link https://terryl.in * @copyright 2018 Terry Lin */ /** * Mynote_Widget_Toc */ class Mynote_Widget_Toc extends WP_Widget { /** * Sets up a new Mynote TOC widget instance. */ public function __construct() { $widget_ops = array( 'classname' => 'widget_mynote_toc', 'description' => __( 'Add a Table of Content for your article. This widget is for single-post pages only.', 'mynote' ), 'customize_selective_refresh' => true, ); parent::__construct( 'mynote-toc', __( 'Mynote: Table of Content', 'mynote' ), $widget_ops ); $this->alt_option_name = 'widget_mynote_toc'; if ( is_active_widget( false, false, $this->id_base ) || is_customize_preview() ) { add_action( 'wp_head', array( $this, 'mynote_toc_js' ) ); } } /** * Register javascript for the Mynote TOC widget. */ public function mynote_toc_js() { wp_register_script( 'bootstrap-toc', get_template_directory_uri() . '/assets/js/bootstrap-toc.min.js', array( 'jquery' ), '1.0.0' ); wp_enqueue_script( 'bootstrap-toc' ); } /** * Initial TOC . */ public function mynote_toc_inline_js() { $inline_js = ' jQuery( document ).ready(function( $ ) { Toc.init({ $nav: $( "#toc" ), $scope: $( ".markdown-body" ) }); if ( "undefined" !== typeof $.fn.scrollspy ) { $( "body" ).scrollspy({ target: "#toc" }); } }); '; wp_add_inline_script( 'bootstrap-toc', $inline_js ); } /** * Outputs the content for the Mynote TOC instance. */ public function widget( $args, $instance ) { $this->mynote_toc_inline_js(); $output = ''; echo $output; } /** * Flushes the Mynote TOC widget cache. */ public function flush_widget_cache() { _deprecated_function( __METHOD__, '4.4.0' ); } } ================================================ FILE: inc/customer/about.php ================================================ add_section( 'section_about_mynote_theme', array( 'title' => __( 'About Mynote Theme', 'mynote' ), 'priority' => 1, 'capability' => 'edit_theme_options', ) ); $about = __( 'Mynote is an open source project on GitHub, any suggestions to improve this theme are welcome. Please visit:', 'mynote' ); $about .= '

    https://github.com/terrylinooo/mynote'; /** * Setting */ $wp_customize->add_setting( 'setting_about_mynote_theme', array( 'default' => 'no', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'is_responsive_website', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); /** * Control */ $wp_customize->add_control( new Customize_Content_Control( $wp_customize, 'control_about_mynote_theme', array( 'label' => __( 'About', 'mynote' ), 'section' => 'section_about_mynote_theme', 'settings' => 'setting_about_mynote_theme', 'description' => $about, ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'is_responsive_control', array( 'label' => __( 'RWD', 'mynote' ), 'section' => 'section_about_mynote_theme', 'settings' => 'is_responsive_website', 'description' => __( 'Mynote is a responsive theme (RWD, responsive web design). However, if you would like to disable RWD, here it is.', 'mynote' ), ) ) ); } ================================================ FILE: inc/customer/homepage.php ================================================ add_setting( 'is_scroll_down_button', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); /** * Control */ $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'scroll_down_button_control', array( 'label' => __( 'Scrolling down button', 'mynote' ), 'section' => 'static_front_page', 'settings' => 'is_scroll_down_button', 'description' => __( 'Would you like to display the scrolling down button? (desktop version)', 'mynote' ), ) ) ); } ================================================ FILE: inc/customer/index.html ================================================ ================================================ FILE: inc/customer/layout.php ================================================ add_panel( 'panel_mynote_layout', array( 'title' => __( 'Layout', 'mynote' ), 'priority' => 10, ) ); /** * Section */ $wp_customize->add_section( 'section_mynote_layout_home', array( 'title' => __( 'Homepage', 'mynote' ), 'priority' => 10, 'panel' => 'panel_mynote_layout', ) ); $wp_customize->add_section( 'section_mynote_layout_archive', array( 'title' => __( 'Archive', 'mynote' ), 'priority' => 10, 'panel' => 'panel_mynote_layout', ) ); $wp_customize->add_section( 'section_mynote_layout_post', array( 'title' => __( 'Post', 'mynote' ), 'priority' => 10, 'panel' => 'panel_mynote_layout', ) ); $wp_customize->add_section( 'section_mynote_layout_footer', array( 'title' => __( 'Footer', 'mynote' ), 'priority' => 10, 'panel' => 'panel_mynote_layout', ) ); /** * Setting */ $wp_customize->add_setting( 'layout_post_sidebar_location_home', array( 'default' => 'right', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'layout_post_sidebar_location_archive', array( 'default' => 'right', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'layout_post_sidebar_location_post', array( 'default' => 'right', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'layout_cols_per_row_home', array( 'default' => '3', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'layout_cols_per_row_archive', array( 'default' => '3', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'layout_cols_footer_icon_size', array( 'default' => 'sm', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'layout_cols_footer_location', array( 'default' => '1', 'sanitize_callback' => 'sanitize_text_field', ) ); /** * Control */ $wp_customize->add_control( new Customize_Image_Radio_Control( $wp_customize, 'layout_sidebar_location_home_control', array( 'label' => __( 'Sidebar Location', 'mynote' ), 'section' => 'section_mynote_layout_home', 'settings' => 'layout_post_sidebar_location_home', 'type' => 'radio', 'description' => __( 'Choose a preferred layout for desktop version.', 'mynote' ), 'choices' => array( 'right' => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_right.png', 'left' => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_left.png', ), ) ) ); $wp_customize->add_control( new Customize_Image_Radio_Control( $wp_customize, 'layout_sidebar_location_archive_control', array( 'label' => __( 'Sidebar Location', 'mynote' ), 'section' => 'section_mynote_layout_archive', 'settings' => 'layout_post_sidebar_location_archive', 'type' => 'radio', 'description' => __( 'Choose a preferred layout for desktop version.', 'mynote' ), 'choices' => array( 'right' => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_right.png', 'left' => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_left.png', ), ) ) ); $wp_customize->add_control( new Customize_Image_Radio_Control( $wp_customize, 'layout_cols_per_row_home_control', array( 'label' => __( 'Columns', 'mynote' ), 'section' => 'section_mynote_layout_home', 'settings' => 'layout_cols_per_row_home', 'type' => 'radio', 'description' => __( 'Adjust the number of columns per row.', 'mynote' ), 'choices' => array( '3' => get_template_directory_uri() . '/inc/assets/images/layout_3cols.png', '2' => get_template_directory_uri() . '/inc/assets/images/layout_2cols.png', '1' => get_template_directory_uri() . '/inc/assets/images/layout_1cols.png', ), ) ) ); $wp_customize->add_control( new Customize_Image_Radio_Control( $wp_customize, 'layout_cols_per_row_archive_control', array( 'label' => __( 'Columns', 'mynote' ), 'section' => 'section_mynote_layout_archive', 'settings' => 'layout_cols_per_row_archive', 'type' => 'radio', 'description' => __( 'Adjust the number of columns per row.', 'mynote' ), 'choices' => array( '3' => get_template_directory_uri() . '/inc/assets/images/layout_3cols.png', '2' => get_template_directory_uri() . '/inc/assets/images/layout_2cols.png', '1' => get_template_directory_uri() . '/inc/assets/images/layout_1cols.png', ), ) ) ); $wp_customize->add_control( new Customize_Image_Radio_Control( $wp_customize, 'layout_sidebar_location_post_control', array( 'label' => __( 'Sidebar Location', 'mynote' ), 'section' => 'section_mynote_layout_post', 'settings' => 'layout_post_sidebar_location_post', 'type' => 'radio', 'description' => __( 'Choose a preferred layout for desktop version.', 'mynote' ), 'choices' => array( 'right' => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_right.png', 'left' => get_template_directory_uri() . '/inc/assets/images/layout_sidebar_left.png', ), ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'layout_cols_footer_icon_size_control', array( 'label' => __( 'Social Icon Size', 'mynote' ), 'section' => 'section_mynote_layout_footer', 'settings' => 'layout_cols_footer_icon_size', 'type' => 'radio', 'description' => __( 'Choose a preferred icon size.', 'mynote' ), 'choices' => array( 'sm' => __( 'Small - 32 x 32', 'mynote' ), 'md' => __( 'Medium - 40 x 40', 'mynote' ), 'lg' => __( 'Large - 48 x 48', 'mynote' ), 'xl' => __( 'Extra large - 64 x 64', 'mynote' ), ), ) ) ); $wp_customize->add_control( new Customize_Image_Radio_Control( $wp_customize, 'layout_footer_location_post_control', array( 'label' => __( 'Footer Location', 'mynote' ), 'section' => 'section_mynote_layout_footer', 'settings' => 'layout_cols_footer_location', 'type' => 'radio', 'description' => __( 'Choose a preferred layout for footer section.', 'mynote' ), 'choices' => array( '1' => get_template_directory_uri() . '/inc/assets/images/layout_footer_1.png', '2' => get_template_directory_uri() . '/inc/assets/images/layout_footer_2.png', '3' => get_template_directory_uri() . '/inc/assets/images/layout_footer_3.png', '4' => get_template_directory_uri() . '/inc/assets/images/layout_footer_4.png', '5' => get_template_directory_uri() . '/inc/assets/images/layout_footer_5.png', '6' => get_template_directory_uri() . '/inc/assets/images/layout_footer_6.png', '7' => get_template_directory_uri() . '/inc/assets/images/layout_footer_7.png', ), ) ) ); } ================================================ FILE: inc/customer/navbar.php ================================================ add_panel( 'panel_mynote_navbar', array( 'title' => __( 'Navbar', 'mynote' ), 'priority' => 10, ) ); /** * Section */ $wp_customize->add_section( 'section_homepage_header_navbar', array( 'title' => __( 'Homepage', 'mynote' ), 'priority' => 10, 'panel' => 'panel_mynote_navbar', ) ); $wp_customize->add_section( 'section_header_navbar', array( 'title' => __( 'Website', 'mynote' ), 'priority' => 10, 'panel' => 'panel_mynote_navbar', ) ); $wp_customize->add_section( 'section_header_searchbar', array( 'title' => __( 'Search Bar', 'mynote' ), 'priority' => 10, 'panel' => 'panel_mynote_navbar', ) ); /** * Setting */ $wp_customize->add_setting( 'navbar_homepage_bg_color', array( 'default' => $default_navbar_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_homepage_link_color', array( 'default' => $default_navbar_link_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_homepage_link_hover_color', array( 'default' => $default_navbar_link_hover_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_homepage_menu_toggler_border_color', array( 'default' => $default_navbar_menu_toggle_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_homepage_menu_toggler_bg_color', array( 'default' => $default_navbar_menu_toggle_bg_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_website_bg_color', array( 'default' => $default_navbar_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_website_link_color', array( 'default' => $default_navbar_link_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_website_link_hover_color', array( 'default' => $default_navbar_link_hover_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_website_menu_toggler_border_color', array( 'default' => $default_navbar_menu_toggle_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_website_menu_toggler_bg_color', array( 'default' => $default_navbar_menu_toggle_bg_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_is_display_search_bar', array( 'default' => 'yes', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_searchbar_placeholder_color', array( 'default' => $default_searchbar_placeholder_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_searchbar_input_text_color', array( 'default' => $default_searchbar_input_text_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_searchbar_bg_color', array( 'default' => $default_navbar_searchbar_bg_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'navbar_searchbar_size', array( 'default' => 'default', 'sanitize_callback' => 'sanitize_text_field', ) ); /** * Control */ $wp_customize->add_control( new Customize_Alpha_Color_Control( $wp_customize, 'home_menu_bg_color_control', array( 'label' => __( 'Background Color', 'mynote' ), 'description' => __( 'This option is for homepage only.', 'mynote' ), 'section' => 'section_homepage_header_navbar', 'settings' => 'navbar_homepage_bg_color', 'show_opacity' => true, 'palette' => $default_color_palette, ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'home_menu_link_color_control', array( 'label' => __( 'Link Color', 'mynote' ), 'description' => __( 'This option is for homepage only.', 'mynote' ), 'section' => 'section_homepage_header_navbar', 'settings' => 'navbar_homepage_link_color', ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'home_menu_link_hover_color_control', array( 'label' => __( 'Link Hover Color', 'mynote' ), 'description' => __( 'This option is for homepage only.', 'mynote' ), 'section' => 'section_homepage_header_navbar', 'settings' => 'navbar_homepage_link_hover_color', ) ) ); $wp_customize->add_control( new Customize_Alpha_Color_Control( $wp_customize, 'home_menu_toggler_border_color_control', array( 'label' => __( "Menu Toggler's Border Color", 'mynote' ), 'section' => 'section_homepage_header_navbar', 'settings' => 'navbar_homepage_menu_toggler_border_color', 'description' => __( 'It is visible only when the screen width is less than 768px.', 'mynote' ) . ' ' . __( 'This option is for homepage only.', 'mynote' ), 'show_opacity' => true, 'palette' => $default_color_palette, ) ) ); $wp_customize->add_control( new Customize_Alpha_Color_Control( $wp_customize, 'home_menu_toggler_bg_color_control', array( 'label' => __( "Menu Toggler's Background Color", 'mynote' ), 'section' => 'section_homepage_header_navbar', 'settings' => 'navbar_homepage_menu_toggler_bg_color', 'description' => __( 'It is visible only when the screen width is less than 768px.', 'mynote' ) . ' ' . __( 'This option is for homepage only.', 'mynote' ), 'show_opacity' => true, 'palette' => $default_color_palette, ) ) ); $wp_customize->add_control( new Customize_Alpha_Color_Control( $wp_customize, 'menu_bg_color_control', array( 'label' => __( 'Background Color', 'mynote' ), 'section' => 'section_header_navbar', 'settings' => 'navbar_website_bg_color', 'show_opacity' => true, 'palette' => $default_color_palette, ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'menu_link_color_control', array( 'label' => __( 'Link Color', 'mynote' ), 'section' => 'section_header_navbar', 'settings' => 'navbar_website_link_color', ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'menu_link_hover_color_control', array( 'label' => __( 'Link Hover Color', 'mynote' ), 'section' => 'section_header_navbar', 'settings' => 'navbar_website_link_hover_color', ) ) ); $wp_customize->add_control( new Customize_Alpha_Color_Control( $wp_customize, 'menu_toggler_border_color_control', array( 'label' => __( "Menu Toggler's Border Color", 'mynote' ), 'section' => 'section_header_navbar', 'settings' => 'navbar_website_menu_toggler_border_color', 'show_opacity' => true, 'palette' => $default_color_palette, 'description' => __( 'It is visible only when the screen width is less than 768px.', 'mynote' ), ) ) ); $wp_customize->add_control( new Customize_Alpha_Color_Control( $wp_customize, 'menu_toggler_bg_color_control', array( 'label' => __( "Menu Toggler's Background Color", 'mynote' ), 'section' => 'section_header_navbar', 'settings' => 'navbar_website_menu_toggler_bg_color', 'show_opacity' => true, 'palette' => $default_color_palette, 'description' => __( 'It is visible only when the screen width is less than 768px.', 'mynote' ), ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'navbar_is_display_search_bar_control', array( 'label' => __( 'Display a Search Bar', 'mynote' ), 'section' => 'section_header_searchbar', 'settings' => 'navbar_is_display_search_bar', 'description' => __( 'Would you like to display a search bar in header navbar area?', 'mynote' ), ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'searchbar_placeholder_color_control', array( 'label' => __( 'Placeholder Color', 'mynote' ), 'section' => 'section_header_searchbar', 'settings' => 'navbar_searchbar_placeholder_color', ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'searchbar_text_color_control', array( 'label' => __( 'Input Text Color', 'mynote' ), 'section' => 'section_header_searchbar', 'settings' => 'navbar_searchbar_input_text_color', ) ) ); $wp_customize->add_control( new Customize_Alpha_Color_Control( $wp_customize, 'searchbar_bg_color_control', array( 'label' => __( 'Background Color', 'mynote' ), 'section' => 'section_header_searchbar', 'settings' => 'navbar_searchbar_bg_color', 'show_opacity' => true, 'palette' => $default_color_palette, ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'searchbar_size_control', array( 'label' => __( 'Size', 'mynote' ), 'section' => 'section_header_searchbar', 'settings' => 'navbar_searchbar_size', 'type' => 'radio', 'choices' => array( 'default' => __( 'Default', 'mynote' ), 'big' => __( 'Big', 'mynote' ), ), ) ) ); } ================================================ FILE: inc/customer/post-card.php ================================================ add_section( 'section_post_card', array( 'title' => __( 'Post Card', 'mynote' ), 'priority' => 10, ) ); /** * Setting */ $wp_customize->add_setting( 'post_card_show_footer', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'post_card_show_header', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'post_card_show_border', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'post_card_show_gradient_mask', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'post_card_show_body_footer', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); /** * Control */ $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'post_card_header_control', array( 'label' => __( 'Header', 'mynote' ), 'section' => 'section_post_card', 'settings' => 'post_card_show_header', 'description' => __( 'Would you like to display the header of the post card? (Post thumbnail is located on this section. Choosing `No` will hide it.)', 'mynote' ), ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'post_card_footer_control', array( 'label' => __( 'Footer', 'mynote' ), 'section' => 'section_post_card', 'settings' => 'post_card_show_footer', 'description' => __( 'Would you like to display the footer of the post card?', 'mynote' ), ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'post_card_border_control', array( 'label' => __( 'Border', 'mynote' ), 'section' => 'section_post_card', 'settings' => 'post_card_show_border', 'description' => __( 'Would you like to display the border of the post card?', 'mynote' ), ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'post_card_gradient_mask_control', array( 'label' => __( 'Gradient Mask', 'mynote' ), 'section' => 'section_post_card', 'settings' => 'post_card_show_gradient_mask', 'description' => __( 'Would you like to display the gradient mask on the text?', 'mynote' ), ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'post_card_body_footer_control', array( 'label' => __( 'Buttons', 'mynote' ), 'section' => 'section_post_card', 'settings' => 'post_card_show_body_footer', 'description' => __( 'Would you like to display the buttons in the post body?', 'mynote' ), ) ) ); } ================================================ FILE: inc/customer/post-page.php ================================================ add_section( 'section_post_page', array( 'title' => __( 'Post Page', 'mynote' ), 'priority' => 10, ) ); /** * Setting */ $wp_customize->add_setting( 'post_page_show_breadcrumb', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'post_page_show_author_date', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'post_page_show_feature_image', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'post_page_show_author_card', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'post_page_show_comments', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); /** * Control */ $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'post_page_show_breadcrumb_control', array( 'label' => __( 'Breadcrumb', 'mynote' ), 'section' => 'section_post_page', 'settings' => 'post_page_show_breadcrumb', ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'post_page_show_author_date_control', array( 'label' => __( 'Post Author and Date', 'mynote' ), 'section' => 'section_post_page', 'settings' => 'post_page_show_author_date', ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'post_page_show_feature_image_control', array( 'label' => __( 'Featured Image', 'mynote' ), 'section' => 'section_post_page', 'settings' => 'post_page_show_feature_image', ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'post_page_show_author_card_control', array( 'label' => __( 'Author Card', 'mynote' ), 'section' => 'section_post_page', 'settings' => 'post_page_show_author_card', ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'post_page_show_comments_control', array( 'label' => __( 'Comment Section', 'mynote' ), 'section' => 'section_post_page', 'settings' => 'post_page_show_comments', ) ) ); } ================================================ FILE: inc/customer/progress-bar.php ================================================ add_panel( 'panel_mynote_progress_bar', array( 'title' => __( 'Progress Bar', 'mynote' ), 'priority' => 10, ) ); /** * Section */ $wp_customize->add_section( 'section_progress_bar_basic', array( 'title' => __( 'Basic Settings', 'mynote' ), 'description' => __( 'The basic settings of the page progress bar.', 'mynote' ), 'priority' => 10, 'panel' => 'panel_mynote_progress_bar', ) ); $wp_customize->add_section( 'section_progress_bar_color', array( 'title' => __( 'Color', 'mynote' ), 'description' => __( 'Customize the color pattern of the page progress bar.', 'mynote' ), 'priority' => 10, 'panel' => 'panel_mynote_progress_bar', ) ); /** * Setting */ $wp_customize->add_setting( 'progressbar_is_display_bar', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'progressbar_bg_color', array( 'default' => $default_navbar_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'progressbar_text_color', array( 'default' => $default_navbar_link_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'progressbar_percentage_bg_color', array( 'default' => $default_navbar_link_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'progressbar_is_display_percentage', array( 'default' => true, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'progressbar_preferred_color', array( 'default' => 'default', 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_setting( 'progressbar_custom_bg_color', array( 'default' => $default_navbar_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'progressbar_custom_text_color', array( 'default' => $default_navbar_link_color, 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'progressbar_custom_border_color', array( 'default' => $default_progress_bar_border_color, 'sanitize_callback' => 'esc_attr', ) ); /** * Control */ $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'progressbar_is_display_bar_control', array( 'label' => __( 'Display Progress Bar', 'mynote' ), 'section' => 'section_progress_bar_basic', 'settings' => 'progressbar_is_display_bar', 'description' => __( 'Would you like to display a progress bar while reading?', 'mynote' ), ) ) ); $wp_customize->add_control( new Customize_Toggle_Control( $wp_customize, 'progressbar_is_display_percentage_control', array( 'label' => __( 'Display Percentage Number', 'mynote' ), 'section' => 'section_progress_bar_basic', 'settings' => 'progressbar_is_display_percentage', 'description' => __( 'Would you like to display a percentage number on the progress bar?', 'mynote' ), ) ) ); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'progressbar_preferred_color_control', array( 'label' => __( 'Color Pattern', 'mynote' ), 'section' => 'section_progress_bar_basic', 'settings' => 'progressbar_preferred_color', 'type' => 'radio', 'description' => __( 'Choose a preferred color pattern and apply it to the progress bar.', 'mynote' ), 'choices' => array( 'default' => __( 'Default', 'mynote' ), 'menu' => __( 'As same as website menu', 'mynote' ), 'custom' => __( 'Custom', 'mynote' ), ), ) ) ); $wp_customize->add_control( new Customize_Alpha_Color_Control( $wp_customize, 'progressbar_custom_bg_color_control', array( 'label' => __( 'Background Color', 'mynote' ), 'section' => 'section_progress_bar_color', 'settings' => 'progressbar_custom_bg_color', 'show_opacity' => true, 'palette' => $default_color_palette, ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'progressbar_custom_text_color_control', array( 'label' => __( 'Text Color', 'mynote' ), 'section' => 'section_progress_bar_color', 'settings' => 'progressbar_custom_text_color', ) ) ); $wp_customize->add_control( new Customize_Alpha_Color_Control( $wp_customize, 'progressbar_custom_border_color_control', array( 'label' => __( 'Border Color', 'mynote' ), 'section' => 'section_progress_bar_color', 'settings' => 'progressbar_custom_border_color', 'show_opacity' => true, 'palette' => $default_color_palette, ) ) ); } ================================================ FILE: inc/customize-css.php ================================================ a { color: ' . esc_attr( $v['navbar_website_link_color'] ) . " !important; }\n"; } if ( ! empty( $v['navbar_website_link_hover_color'] ) ) { $css .= 'body:not(.home) .header .navbar li > a:hover { color: ' . esc_attr( $v['navbar_website_link_hover_color'] ) . " !important; }\n"; } /* BEGIN - Search bar */ if ( ! mynote_toggle_check( $v['navbar_is_display_search_bar'] ) ) { $css .= ".header .search-bar { display: none !important; }\n"; $css .= "body.home .header .search-bar { display: none !important; }\n"; } else { if ( ! empty( $v['navbar_searchbar_placeholder_color'] ) ) { $css .= '.header .search-bar .search-input::-webkit-input-placeholder { color: ' . esc_attr( $v['navbar_searchbar_placeholder_color'] ) . " !important; }\n"; $css .= '.header .search-bar .search-input::-moz-placeholder { color: ' . esc_attr( $v['navbar_searchbar_placeholder_color'] ) . " !important; }\n"; $css .= '.header .search-bar .search-input:-ms-input-placeholder { color: ' . esc_attr( $v['navbar_searchbar_placeholder_color'] ) . " !important; }\n"; $css .= '.header .search-bar .search-input:-moz-placeholder { color: ' . esc_attr( $v['navbar_searchbar_placeholder_color'] ) . " !important; }\n"; } if ( ! empty( $v['navbar_searchbar_input_text_color'] ) ) { $css .= '.header .search-bar .search-input { color: ' . esc_attr( $v['navbar_searchbar_input_text_color'] ) . " !important; }\n"; $css .= '.header .search-bar .search-icon { color: ' . esc_attr( $v['navbar_searchbar_input_text_color'] ) . " !important; }\n"; } if ( ! empty( $v['navbar_searchbar_bg_color'] ) ) { $css .= '.header .search-bar { background-color: ' . esc_attr( $v['navbar_searchbar_bg_color'] ) . " !important; }\n"; } if ( 'big' === $v['navbar_searchbar_size'] ) { $css .= '.header .search-bar { min-height: 40px !important; }' . "\n"; $css .= '.header .search-bar .search-input { min-height: 40px !important; font-size: 15px !important; }' . "\n"; $css .= '.header .search-bar .search-icon { min-height: 34px !important; line-height: 34px !important; font-size: 15px !important; }' . "\n"; $css .= '@media (max-width: 991.98px) { .header .search-bar { top: 10px !important; } }' . "\n"; } } /* END - Search bar */ if ( ! empty( $v['navbar_homepage_bg_color'] ) ) { $css .= 'body.home .header { background-color: ' . esc_attr( $v['navbar_homepage_bg_color'] ) . " !important; }\n"; } if ( ! empty( $v['navbar_homepage_link_color'] ) ) { $css .= 'body.home .header .navbar li > a { color: ' . esc_attr( $v['navbar_homepage_link_color'] ) . " !important; }\n"; } if ( ! empty( $v['navbar_homepage_link_hover_color'] ) ) { $css .= 'body.home .header .navbar li > a:hover { color: ' . esc_attr( $v['navbar_homepage_link_hover_color'] ) . " !important; }\n"; } if ( ! empty( $v['navbar_homepage_link_hover_color'] ) ) { $css .= '.header .search-bar input::-webkit-input-placeholder { color: ' . esc_attr( $v['navbar_homepage_link_hover_color'] ) . " !important; }\n"; $css .= '.header .search-bar input::placeholder { color: ' . esc_attr( $v['navbar_homepage_link_hover_color'] ) . " !important; }\n"; $css .= '.header .search-bar input:-ms-input-placeholder { color: ' . esc_attr( $v['navbar_homepage_link_hover_color'] ) . " !important; }\n"; $css .= '.header .search-bar input::-ms-input-placeholder { color: ' . esc_attr( $v['navbar_homepage_link_hover_color'] ) . " !important; }\n"; } // Apply the custon color pattern to the progress bar. if ( 'menu' === $v['progressbar_preferred_color'] ) { $css .= '.single-post-title-bar { background-color: ' . esc_attr( $v['navbar_website_bg_color'] ) . " !important; }\n"; $css .= '#progress-title { color: ' . esc_attr( $v['navbar_website_link_color'] ) . " !important; }\n"; $css .= 'a.go-top { background-color: ' . esc_attr( $v['navbar_website_bg_color'] ) . " !important; }\n"; $css .= 'a.go-top i { color: ' . esc_attr( $v['navbar_website_link_color'] ) . " !important; }\n"; } elseif ( 'custom' === $v['progressbar_preferred_color'] ) { $css .= '.single-post-title-bar { background-color: ' . esc_attr( $v['progressbar_custom_bg_color'] ) . " !important; }\n"; $css .= '#progress-title { color: ' . esc_attr( $v['progressbar_custom_text_color'] ) . " !important; }\n"; $css .= '.progress-wrapper progress::-webkit-progress-value { background-color: ' . esc_attr( $v['progressbar_custom_border_color'] ) . " !important; }\n"; $css .= '.progress-wrapper progress::-ms-fill { background-color: ' . esc_attr( $v['progressbar_custom_border_color'] ) . " !important; }\n"; $css .= '.progress-wrapper progress::-moz-progress-bar { background-color: ' . esc_attr( $v['progressbar_custom_border_color'] ) . " !important; }\n"; $css .= 'a.go-top { background-color: ' . esc_attr( $v['progressbar_custom_bg_color'] ) . " !important; }\n"; $css .= 'a.go-top i { color: ' . esc_attr( $v['progressbar_custom_text_color'] ) . " !important; }\n"; } if ( ! mynote_toggle_check( $v['progressbar_is_display_bar'] ) ) { $css .= ".single-post-title-bar { display: none !important; }\n"; } if ( ! mynote_toggle_check( $v['progressbar_is_display_percentage'] ) ) { $css .= ".progress-wrapper .progress-label { display: none !important; }\n"; } if ( 'left' === $v['layout_post_sidebar_location_home'] ) { $css .= ".row-layout-choice-home { flex-direction: row-reverse !important; }\n"; } if ( 'left' === $v['layout_post_sidebar_location_archive'] ) { $css .= ".row-layout-choice-archive { flex-direction: row-reverse !important; }\n"; } if ( 'left' === $v['layout_post_sidebar_location_post'] ) { $css .= ".row-layout-choice-post { flex-direction: row-reverse !important; }\n"; } /* BEGIN - Footer elements locations don't apply to width < 768px */ if ( '2' === $v['layout_cols_footer_location'] ) { $css .= ".footer-columns { flex-direction: row-reverse !important; }\n"; $css .= ".footer-columns .footer-column-left { text-align: right !important; }\n"; } if ( '3' === $v['layout_cols_footer_location'] ) { $css .= ".footer-columns .footer-column-left { display: flex !important; flex-direction: column-reverse !important; }\n"; } if ( '4' === $v['layout_cols_footer_location'] ) { $css .= ".footer-columns { flex-direction: row-reverse !important; }\n"; $css .= ".footer-columns .footer-column-left { text-align: right !important; display: flex !important; flex-direction: column-reverse !important; }\n"; } if ( '5' === $v['layout_cols_footer_location'] ) { $css .= ".footer-columns { display: block !important; text-align: center !important; }\n"; $css .= ".footer-columns .footer-column-left { display: flex !important; flex-direction: column-reverse !important; }\n"; } if ( '6' === $v['layout_cols_footer_location'] ) { $css .= ".footer-columns { display: flex !important; text-align: center !important; flex-direction: column-reverse !important; }\n"; $css .= ".footer-columns .footer-column-left { display: flex !important; flex-direction: column !important; }\n"; } if ( '7' === $v['layout_cols_footer_location'] ) { $css .= ".footer-columns { display: flex !important; text-align: center !important; flex-direction: column-reverse !important; }\n"; $css .= ".footer-columns .footer-column-left { display: flex !important; flex-direction: column-reverse !important; }\n"; } $css .= "@media (max-width: 768px) {\n"; $css .= ".footer-columns { text-align: center !important; }\n"; $css .= ".footer-columns .footer-column-left { text-align: center !important; }\n"; $css .= "}\n"; /* END - Footer elements locations don't apply to width < 768px */ if ( mynote_toggle_check( $v['is_scroll_down_button'] ) ) { $css .= ".scroll-area { display: block !important; }\n"; } if ( ! mynote_toggle_check( $v['is_responsive_website'] ) ) { $css .= ".navbar-expand .navbar-collapse { margin: 0 !important; }\n"; } if ( ! mynote_toggle_check( $v['post_card_show_border'] ) ) { $css .= ".container .card { border: 0px !important; }\n"; $css .= ".container .card-footer { border: 0 !important; background: none !important; padding-top: 0 !important; }\n"; } /* BEGIN - Adjusting menu toggler color. */ if ( ! empty( $v['navbar_homepage_menu_toggler_bg_color'] ) ) { // Button background color. $css .= 'body.home .navbar-dark .navbar-toggler { background-color: ' . $v['navbar_homepage_menu_toggler_bg_color'] . '; }'; } if ( ! empty( $v['navbar_website_menu_toggler_bg_color'] ) ) { // Button background color. $css .= 'body:not(.home) .navbar-dark .navbar-toggler { background-color: ' . $v['navbar_website_menu_toggler_bg_color'] . '; }'; } if ( ! empty( $v['navbar_homepage_menu_toggler_border_color'] ) ) { // Toggler bar. $css .= "body.home .navbar-dark .navbar-toggler-icon { background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='" . $v['navbar_homepage_menu_toggler_border_color'] . "' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\") }"; // Button border. $css .= 'body.home .navbar-dark .navbar-toggler { color: ' . $v['navbar_homepage_menu_toggler_border_color'] . '; border-color: ' . $v['navbar_homepage_menu_toggler_border_color'] . '; }'; } if ( ! empty( $v['navbar_website_menu_toggler_border_color'] ) ) { // Toggler bar. $css .= "body:not(.home) .navbar-dark .navbar-toggler-icon { background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='" . $v['navbar_homepage_menu_toggler_border_color'] . "' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\") }"; // Button border. $css .= 'body:not(.home) .navbar-dark .navbar-toggler { color: ' . $v['navbar_website_menu_toggler_border_color'] . '; border-color: ' . $v['navbar_website_menu_toggler_border_color'] . '; }'; } /* END - Adjusting menu toggler color. */ if ( ! empty( $css ) ) { //$css .= "body.menu-is-collapsed .header { background: rgba(20, 25, 29, 1) !important; }\n"; } echo ''; } add_action( 'wp_head', 'mynote_customize_css' ); /** * Check Customizer settings controlled by toggle. * * @param string $var * @return bool */ function mynote_toggle_check( $var ) { if ( ! isset( $var ) || '' === $var || '0' === $var || 'no' === $var ) { return false; } if ( ( false === $var || true === $var ) || '1' === $var || 'yes' === $var ) { return true; } return false; } ================================================ FILE: inc/customizer.php ================================================ 'fab fa-behance behance', 'codepen.io' => 'fab fa-codepen codepen', 'deviantart.com' => 'fab fa-deviantart deviantart', 'digg.com' => 'fab fa-digg digg', 'docker.com' => 'fab fa-docker docker', 'dribbble.com' => 'fab fa-dribbble dribbble', 'dropbox.com' => 'fab fa-dropbox dropbox', 'facebook.com' => 'fab fa-facebook-f facebook', 'flickr.com' => 'fab fa-flickr flickr', 'foursquare.com' => 'fab fa-foursquare foursquare', 'plus.google.com' => 'fab fa-google-plus-g google', 'github.com' => 'fab fa-github-alt github', 'instagram.com' => 'fab fa-instagram instagram', 'linkedin.com' => 'fab fa-linkedin-in linkedin', 'mailto:' => 'far fa-envelope envelope', 'medium.com' => 'fab fa-medium-m medium', 'pinterest.com' => 'fab fa-pinterest-p pinterest', 'pscp.tv' => 'fab fa-periscope periscope', 'getpocket.com' => 'fab fa-get-pocket getpocket', 'reddit.com' => 'fab fa-reddit-alien reddit', 'skype.com' => 'fab fa-skype skype', 'skype:' => 'fab fa-skype skype', 'slideshare.net' => 'fab fa-slideshare slideshare', 'snapchat.com' => 'fab fa-snapchat-ghost snapchat', 'soundcloud.com' => 'fab fa-soundcloud soundcloud', 'spotify.com' => 'fab fa-spotify spotify', 'stumbleupon.com' => 'fab fa-stumbleupon stumbleupon', 'tumblr.com' => 'fab fa-tumblr tumblr', 'twitch.tv' => 'fab fa-twitch twitch', 'twitter.com' => 'fab fa-twitter twitter', 'vimeo.com' => 'fab fa-vimeo-v vimeo', 'vine.co' => 'fab fa-vine vine', 'vk.com' => 'fab fa-vk vk', 'wordpress.org' => 'fab fa-wordpress wordpress', 'wordpress.com' => 'fab fa-wordpress-simple wordpress', 'yelp.com' => 'fab fa-yelp yelp', 'youtube.com' => 'fab fa-youtube youtube', ); return $social_links_icons; } /** * Filters a menu item's starting output. * * @param string $item_output The menu item output. * @param WP_Post $item Menu item object. * @param int $depth Depth of the menu. * @param stdClass $args wp_nav_menu() arguments. * @return string $item_output The menu item output with social icon. */ function mynote_nav_menu_social_icons( $item_output, $item, $depth, $args ) { // Get supported social icons. $social_icons = mynote_social_links_icons(); $size_type = get_theme_mod( 'layout_cols_footer_icon_size' ); if ( 'md' === $size_type ) { $size_css = 'brand-md'; } elseif ( 'lg' === $size_type ) { $size_css = 'brand-lg'; } elseif ( 'xl' === $size_type ) { $size_css = 'brand-xl'; } else { $size_css = 'brand-sm'; } // Replace title with font icon inside social links menu. if ( 'social' === $args->theme_location ) { $is_icon_found = false; foreach ( $social_icons as $attr => $value ) { if ( false !== strpos( $item_output, $attr ) ) { $is_icon_found = true; $item_output = preg_replace( '#' . $args->link_before . '(.+)' . $args->link_after . '#i', '', $item_output ); } } if ( ! $is_icon_found ) { $item_output = preg_replace( '#' . $args->link_before . '(.+)' . $args->link_after . '#i', '', $item_output ); } } return $item_output; } ================================================ FILE: inc/index.html ================================================ ================================================ FILE: inc/template-functions.php ================================================ -1 ) { unset( $classes[ $key ] ); } } elseif ( is_page() ) { $classes[] = sanitize_html_class( $post->post_name ); } elseif ( is_singular() ) { $classes[] = sanitize_html_class( $post->post_name ); } return $classes; } } if ( ! function_exists( 'mynote_remove_recent_comments_style' ) ) { /** * Remove wp_head() injected Recent Comment styles. * * @return void */ function mynote_remove_recent_comments_style() { global $wp_widget_factory; remove_action( 'wp_head', array( $wp_widget_factory->widgets['WP_Widget_Recent_Comments'], 'recent_comments_style', ) ); } } if ( ! function_exists( 'mynote_remove_thumbnail_dimensions' ) ) { /** * Show excetps ... read more * * @param string $more Pass to excerpt_more filiter. * @return string */ function mynote_read_more( $more ) { global $post; return '... » ' . __( 'read more', 'mynote' ) . ''; } } if ( ! function_exists( 'mynote_remove_thumbnail_dimensions' ) ) { /** * Remove width and height dynamic attributes to thumbnails that prevent fluid images in the_thumbnail. * * @param string $html HTML string. * @return string */ function mynote_remove_thumbnail_dimensions( $html ) { $html = preg_replace( '/(width|height)=\"\d*\"\s/', '', $html ); return $html; } } if ( ! function_exists( 'mynote_custom_gravatar' ) ) { /** * Custom avatar * * @param array $avatar_defaults Avatar. * @return array */ function mynote_custom_gravatar( $avatar_defaults ) { // Change filename here. $myavatar = get_template_directory_uri() . '/img/gravatar.jpg'; // Name of the gavatar image. $avatar_defaults[ $myavatar ] = 'Custom Gravatar'; return $avatar_defaults; } } if ( ! function_exists( 'mynote_enable_threaded_comments' ) ) { /** * Threaded Comments * * @return void */ function mynote_enable_threaded_comments() { if ( ! is_admin() ) { if ( is_singular() && comments_open() && ( 1 === get_option( 'thread_comments' ) ) ) { wp_enqueue_script( 'comment-reply' ); } } } } // GitHub style comment blocks. if ( ! function_exists( 'mynote_comment' ) ) { /** * Template for comments and pingbacks. * * @param stdClass $comment (optional) Array obtained by get_comments query. * @param array $args (optional) The options for the function. * @param integer $depth (optional). * @return void */ function mynote_comment( $comment, $args, $depth ) { global $post; switch ( $comment->comment_type ) { case 'pingback': case 'trackback': // Display trackbacks differently than normal comments. ?>
    id="comment-">

    ', '' ); ?>

    id="comment-">
    ', '
    ', '
    ' ); ?>
    '', 'depth' => $depth, 'max_depth' => $args['max_depth'], ) ) ); ?>
    user_id === $post->post_author ) { $commenter_type_css = 'author'; ?>
    %1$s ', get_comment_author_link() ); printf( '', esc_url( get_comment_link( $comment->comment_ID ) ), sprintf( '%1$s @ %2$s', get_comment_date(), get_comment_time() ), get_comment_time( 'c' ), sprintf( /* translators: %s: days */ esc_html__( 'commented %s ago', 'mynote' ), esc_html( human_time_diff( get_comment_time( 'U' ), current_time( 'timestamp' ) ) ) ) ); ?>
    comment_approved ) { ?>

    '; $comments_args = array( 'label_submit' => __( 'Send', 'mynote' ), 'title_reply' => __( 'Write a Reply or Comment', 'mynote' ), 'comment_notes_after' => '', 'comment_field' => $comment_field, 'title_reply_before' => '

    ', 'title_reply_after' => '

    ', 'class_submit' => 'btn btn-green my-1', 'comment_notes_before' => '

    ' . __( 'Your email address will not be published.', 'mynote' ) . '

    ', ); return $comments_args; } } if ( ! function_exists( 'mynote_comment_fileds' ) ) { /** * Comment fields * * @return array */ function mynote_comment_fileds() { $commenter = wp_get_current_commenter(); $author = '
    '; $email = '
    '; $url = '
    '; $fields = array( 'before' => '
    ', 'author' => $author, 'email' => $email, 'url' => $url, 'after' => '
    ', ); return $fields; } } if ( ! function_exists( 'mynote_move_comment_field_to_bottom' ) ) { /** * Move fields from bottom to top. * * @param array $fields Comment form fields. * @return array */ function mynote_move_comment_field_to_bottom( $fields ) { $comment_field = $fields['comment']; unset( $fields['comment'] ); $fields['comment'] = $comment_field; return $fields; } } if ( ! function_exists( 'mynote_replace_language_attributes' ) ) { /** * Replace language attrbute from en_US to en. * * @return string */ function mynote_replace_language_attributes() { return 'lang=' . substr( get_bloginfo( 'language' ), 0, 2 ); } } if ( ! function_exists( 'mynote_single_post_script' ) ) { /** * Article reading progress bar. * Sidebar switcher. * * @return void */ function mynote_single_post_script() { if ( is_single() ) { ?> ' . $html . ''; } } /** * Prevent XSS attacks. * * @param string $comment_text * * @return string */ function mynote_sanitize_comment( $comment_text ) { $comment_text = sanitize_text_field( $comment_text ); return $comment_text; } ================================================ FILE: inc/template-hook-functions.php ================================================

    ' ' . __( 'Previous page', 'mynote' ) . '', 'next_text' => '' . __( 'Next page', 'mynote' ) . ' ', 'before_page_number' => '' . __( 'Page', 'mynote' ) . ' ', ) ); } } } if ( ! function_exists( 'mynote_post_metadata' ) ) { /** * Display post metadata before post's content. * * @since 2.0.0 * @return void */ function mynote_post_metadata() { if ( have_posts() ) { while ( have_posts() ) { the_post(); mynote_post_breadcrumb(); ?>

    '; } } } ================================================ FILE: inc/template-hooks.php ================================================ 'header-menu', 'container' => 'div', 'container_class' => 'collapse navbar-collapse', 'container_id' => 'mynote-nav-bar', 'menu_class' => 'navbar-nav mr-auto', 'menu_id' => '', 'depth' => 2, 'fallback_cb' => 'Mynote_Walker::fallback', 'walker' => new Mynote_Walker(), ) ); } else { wp_nav_menu( array( 'theme_location' => 'header-menu', 'container' => 'div', 'container_class' => 'collapse navbar-collapse', 'container_id' => 'mynote-nav-bar', 'menu_class' => 'navbar-nav mr-auto', 'menu_id' => '', 'depth' => 1, ) ); } } if ( 'footer' === $position ) { if ( has_nav_menu( 'footer-menu' ) ) { wp_nav_menu( array( 'theme_location' => 'footer-menu', 'container' => 'nav', 'container_class' => 'footer-nav', 'container_id' => 'mynote-footer-nav', 'menu_class' => 'footer-menu', 'menu_id' => '', 'depth' => 1, ) ); } } if ( 'social' === $position ) { if ( has_nav_menu( 'social' ) ) { wp_nav_menu( array( 'theme_location' => 'social', 'container' => 'nav', 'container_class' => 'footer-nav', 'menu_class' => 'social-icon-links', 'depth' => 1, 'link_before' => '', 'link_after' => '', ) ); } } } /** * If header_menu not set. */ function mynote_default_nav() { ?> 'card-img-top', 'alt' => get_the_title(), ) ); } /** * Mynote - Bootstrap 4 Pagination * * @param integer $range - range of pagination to show previous and next pages. * @return void */ function mynote_pagination( $range = 1 ) { global $wp_query, $paged; if ( get_query_var( 'paged' ) ) { $paged = get_query_var( 'paged' ); } elseif ( get_query_var( 'page' ) ) { $paged = get_query_var( 'page' ); } else { $paged = 1; } $current = (int) $paged; $pages = (int) $wp_query->max_num_pages; // $pagi_items = ( $range * 2 ) + 1; $pagi_items = (int) $range; if ( empty( $pages ) ) { $pages = $wp_query->max_num_pages; if ( empty( $pages ) ) { $pages = 1; } } if ( 0 === $current ) { $current = 1; } if ( 1 !== $pages ) { ?> ID ) ) { return; } echo '
    ' . esc_html__( 'Edit', 'mynote' ) . '
    '; } } /** * Adjust columns. * * @return void */ function mynote_column_control_button() { ?>
    ' . ( ( $show_label ) ? ' ' . esc_html__( 'Comment', 'mynote' ) : '' ) . '
    ' . esc_html( get_comments_number() ) . '
    '; } } /** * The Mynote button. * * @return void */ if ( ! function_exists( 'mynote_read_button' ) ) { function mynote_read_button() { echo '
    ' . esc_html__( 'Read', 'mynote' ) . '
    '; } } /** * Post figure. * * @return void */ function mynote_post_figure() { $thumbnail_caption = get_the_post_thumbnail_caption(); ?>
    'image', 'alt' => esc_attr( $thumbnail_caption ), ) ); ?>
    ' . ( ( $show_label ) ? esc_html__( 'Date', 'mynote' ) : '' ) . '
    ' . wp_date( 'Y-m-d', get_the_time( 'U' ) ) . '
    '; } /** * The authour posted date. * * @param bool $show_avatar Show author avatar. * @param int $avatar_size Avatar size. * @return void */ if ( ! function_exists( 'mynote_author_posted_date' ) ) { function mynote_author_posted_date( $show_avatar = false, $avatar_size = 40 ) { echo '
    '; if ( $show_avatar ) { echo ' '; } printf( '%3$s ', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), sprintf( // translators: %1$s: date, %2$s: time. esc_html__( '%1$s @ %2$s', 'mynote' ), esc_html( get_the_date() ), esc_attr( get_the_time() ) ), get_the_author(), get_the_time( 'c' ), sprintf( // translators: %s: human-readable time difference. _x( 'written %s ago', '%s', 'mynote' ), human_time_diff( get_the_time( 'U' ), current_time( 'timestamp' ) ) ) ); echo '
    '; } } /** * Site icon. * * @return string Icon Url */ function mynote_site_icon() { $fallback_url = ''; if ( version_compare( $GLOBALS['wp_version'], '4.3', '>' ) ) { return esc_url( get_site_icon_url( '32', $fallback_url ) ); } return ''; } /** * Site logo. * * Mynote dosn't use the_custom_logo(), the reason is because it supports 4.5 or up. * I hope even lower version of WordPress is able to use this theme as well. * * @return string Logo Url */ function mynote_site_logo() { $custom_logo_id = get_theme_mod( 'custom_logo' ); $logo = wp_get_attachment_image_src( $custom_logo_id, 'full' ); if ( ! empty( $logo ) ) { return esc_url( $logo[0] ); } return ''; } if ( ! function_exists( 'mynote_author_card' ) ) { /** * The author card. * * @param integer $avatar_size The avatar size. * @param string $icon_size The social icon size. sm: 24px. md: 32px. lg: 48px. xl: 64px. * * @return void */ function mynote_author_card( $avatar_size = 96, $icon_size = 'sm' ) { $description = get_the_author_meta( 'description' ); ?>

    term_id ) ) . '">' . esc_html( $category->cat_name ) . ''; } } /** * Show category labels on homepage. * Parent only. * * @return void */ function mynote_category_labels() { $categories = get_categories(); $i = 0; foreach ( $categories as $cat ) { if ( ! empty( $cat->parent ) ) { // Only shows parent catrgories. continue; } echo '' . esc_html( $cat->name ) . ''; if ( 10 === ++$i ) { $i = 0; } } } /** * Display site information on bottom of page. * * @return void */ if ( ! function_exists( 'mynote_site_info' ) ) { function mynote_site_info() { echo esc_html__( 'Copyright', 'mynote' ) . ' © ' . wp_date( 'Y' ) . ' ' . get_bloginfo( 'name' ) . '. ' . esc_html__( 'All rights reserved.', 'mynote' ) . ' '; // Keeping the theme credit link encourages me to improve this theme better. Thank you. $theme_link = 'https://terryl.in/'; echo esc_html__( 'Theme by', 'mynote' ) . ' ' . esc_html__( 'Mynote', 'mynote' ) . '. '; } } /** * Breadcrumb for single post. * * @return void */ function mynote_post_breadcrumb() { global $post; if ( mynote_is_post_breadcrumb() && is_singular() ) { $categories = get_the_category( $post->ID ); $is_first_cat = false; foreach ( $categories as $cat ) { if ( empty( $cat->parent ) && ! $is_first_cat ) { $is_first_cat = true; $first_cat = $cat; } } // Looking for child category. $is_child_cat = false; foreach ( $categories as $cat ) { if ( $cat->category_parent === $first_cat->cat_ID && ! $is_child_cat ) { $is_child_cat = true; $child_cat = $cat; } } $pos = 1; ?>


    1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.2.4\n" "X-Loco-Version: 2.2.0; wp-5.1.1\n" "Last-Translator: \n" "Language: fr\n" #: inc/template-tags.php:434 #, php-format msgid "%1$s @ %2$s" msgstr "%1$s @ %2$s" #: inc/template-tags.php:441 #, php-format msgctxt "%s" msgid "written %s ago" msgstr "écrit il y a %s" #: search.php:24 #, php-format msgid "%s Search Results for %s" msgstr "%s Résultats de recherche pour %s" #: inc/template-functions.php:148 msgid "(Edit)" msgstr "(Éditer)" #: inc/customer/about.php:50 msgid "About" msgstr "À propos" #: inc/customer/about.php:18 msgid "About Mynote Theme" msgstr "À propos du thème Mynote" #: functions.php:165 msgid "Add widgets here to appear in your footer." msgstr "Ajouter des widgets ici, ils apparaîtront dans le pied de page." #: functions.php:195 msgid "Add widgets here to appear in your homepage intro section." msgstr "" "Ajouter des widgets ici, ils apparaîtront dans l’intro de la page principale." #: functions.php:185 msgid "Add widgets here to appear in your homepage middle section." msgstr "" "Ajouter des widgets ici, ils apparaîtront au milieu de la page principale." #: functions.php:215 msgid "Add widgets here to appear in your sidebar on archive pages." msgstr "" "Ajouter des widgets ici, ils apparaîtront dans la barre latérale des pages " "d’archive." #: functions.php:175 msgid "" "Add widgets here to appear in your sidebar on blog posts and archive pages." msgstr "" "Ajouter des widgets ici, ils apparaîtront dans la barre latérale des pages " "d’archive et des articles de blog." #: functions.php:155 msgid "Add widgets here to appear in your sidebar on blog posts." msgstr "" "Ajouter des widgets ici, ils apparaîtront dans la barre latérale des " "articles de blog." #: functions.php:205 msgid "Add widgets here to appear in your sidebar on homepage." msgstr "" "Ajouter des widgets ici, ils apparaîtront dans la barre latérale de la page " "d’accueil." #: inc/customer/layout.php:160 inc/customer/layout.php:177 msgid "Adjust the number of columns per row." msgstr "Ajuster le nombre de colonnes dans une ligne." #: inc/template-tags.php:551 msgid "All rights reserved." msgstr "Tous droits réservés." #: inc/customer/layout.php:41 msgid "Archive" msgstr "Archives" #: functions.php:213 msgid "Archive Sidebar" msgstr "Barre latérale des archives" #: inc/customer/progress-bar.php:163 msgid "As same as website menu" msgstr "Le même menu que celui du site" #: inc/template-functions.php:189 inc/template-tags.php:493 msgid "Author" msgstr "Auteur" #: inc/customer/post-page.php:107 msgid "Author Card" msgstr "Carte de l’auteur" #: inc/customer/navbar.php:135 inc/customer/navbar.php:170 #: inc/customer/progress-bar.php:173 msgid "Background Color" msgstr "Couleur de fond" #: inc/customer/progress-bar.php:41 msgid "Basic Settings" msgstr "Paramètres de base" #: inc/customer/post-card.php:84 msgid "Border" msgstr "Bordure" #: inc/customer/progress-bar.php:195 msgid "Border Color" msgstr "Couleur de bordure" #: inc/customer/post-page.php:77 msgid "Breadcrumb" msgstr "Fil d’Ariane" #: inc/customer/progress-bar.php:160 msgid "Choose a preferred color pattern and apply it to the progress bar." msgstr "" "Choisir un jeu de couleurs préféré et l’appliquer le à la barre de " "progression." #: inc/customer/layout.php:210 msgid "Choose a preferred icon size." msgstr "Choisir une taille d’icône préférée." #: inc/customer/layout.php:128 inc/customer/layout.php:144 #: inc/customer/layout.php:194 msgid "Choose a preferred layout for desktop version." msgstr "" "Choisir une mise en forme préférée pour la version ordinateur (desktop)." #: inc/customer/layout.php:228 msgid "Choose a preferred layout for footer section." msgstr "Choisir une mise en forme préférée le pied de page." #: inc/customer/progress-bar.php:51 msgid "Color" msgstr "Couleur" #: inc/customer/progress-bar.php:156 msgid "Color Pattern" msgstr "Jeu de couleurs" #: inc/customer/layout.php:156 inc/customer/layout.php:173 msgid "Columns" msgstr "Colonnes" #: inc/template-tags.php:358 msgid "Comment" msgstr "Commentaire" #: inc/customer/post-page.php:117 msgid "Comment Section" msgstr "Aire de commentaire" #. %s: days #: inc/template-functions.php:213 #, php-format msgid "commented %s ago" msgstr "commenté il y a %s" #: comments.php:44 msgid "Comments" msgstr "Commentaires" #: comments.php:58 msgid "Comments are closed." msgstr "Les commentaires sont fermés." #: inc/template-tags.php:551 msgid "Copyright" msgstr "Copyright" #: inc/template-tags.php:194 msgid "Current Page" msgstr "Page actuelle" #: inc/customer/progress-bar.php:164 msgid "Custom" msgstr "Modifié" #: inc/customer/progress-bar.php:52 msgid "Customize the color pattern of the page progress bar." msgstr "Modifier le jeu de couleurs de la barre de progression des pages." #: inc/template-tags.php:411 msgid "Date" msgstr "Date" #: inc/customer/progress-bar.php:162 msgid "Default" msgstr "Défaut" #: inc/customer/navbar.php:202 msgid "Display a Search Bar" msgstr "Afficher une barre de recherche" #: inc/customer/progress-bar.php:145 msgid "Display Percentage Number" msgstr "Afficher le pourcentage de lecture" #: inc/customer/progress-bar.php:134 msgid "Display Progress Bar" msgstr "Afficher la barre de progression" #: inc/template-tags.php:319 msgid "Edit" msgstr "Éditer" #: inc/template-functions.php:292 msgid "Email" msgstr "Courriel" #: inc/customer/layout.php:215 msgid "Extra large - 64 x 64" msgstr "Très grand - 64 x 64" #: inc/customer/post-page.php:97 msgid "Featured Image" msgstr "Image en avant" #: inc/template-tags.php:176 msgid "First" msgstr "Premier" #: inc/template-tags.php:175 msgid "First Page" msgstr "Première page" #: functions.php:163 inc/customer/layout.php:59 inc/customer/post-card.php:73 msgid "Footer" msgstr "Pied de page" #: inc/customer/layout.php:224 msgid "Footer Location" msgstr "Position du pied de page" #: functions.php:140 msgid "Footer Menu" msgstr "Menu du pied de page" #: inc/customer/post-card.php:62 msgid "Header" msgstr "En-tête" #: functions.php:138 msgid "Header Menu" msgstr "Menu de l’en-tête" #: inc/template-tags.php:90 inc/template-tags.php:592 msgid "Home" msgstr "Accueil" #: inc/customer/layout.php:32 inc/customer/navbar.php:41 msgid "Homepage" msgstr "Page d’accueil" #: functions.php:193 msgid "Homepage Intro" msgstr "Intro de la page d’accueil" #: functions.php:183 msgid "Homepage Middle" msgstr "Milieu de la page d’accueil" #: functions.php:203 msgid "Homepage Sidebar" msgstr "Barre latérale de la page d’accueil" #. Author URI of the theme msgid "https://terryl.in" msgstr "https://terryl.in" #. URI of the theme msgid "https://terryl.in/en/repository/mynote/" msgstr "https://terryl.in/en/repository/mynote/" #. Name of the template msgid "Landing page" msgstr "Page principale" #. Name of the template msgid "Landing Page (full)" msgstr "Page principale (complète)" #. Name of the template msgid "Landing Page (simple)" msgstr "Page principale (simple)" #: inc/customer/layout.php:214 msgid "Large - 48 x 48" msgstr "Grande - 48 x 48" #: inc/template-tags.php:220 msgid "Last" msgstr "Dernier" #: page.php:64 single-product.php:70 single.php:84 msgid "Last modified: " msgstr "Dernière modification: " #: inc/template-tags.php:219 msgid "Last Page" msgstr "Dernière page" #: inc/customer/layout.php:22 msgid "Layout" msgstr "Mise en page" #: inc/customer/navbar.php:148 inc/customer/navbar.php:182 msgid "Link Color" msgstr "Couleur des liens" #: inc/customer/navbar.php:159 inc/customer/navbar.php:192 msgid "Link Hover Color" msgstr "Couleur des liens au survol" #: header.php:58 msgid "Logo" msgstr "Logo" #: inc/customer/layout.php:213 msgid "Medium - 40 x 40" msgstr "Moyenne - 40 x 40" #. Name of the theme #: inc/template-tags.php:555 msgid "Mynote" msgstr "Mynote" #: inc/customer/about.php:64 msgid "" "Mynote is a responsive theme (RWD, responsive web design). However, if you " "would like to disable RWD, here it is." msgstr "" "Mynote est un thème responsive (RWD, responsive web design). Malgré tout, si " "vous voulez désactiver le RWD, c’est ici." #. Description of the theme msgid "" "Mynote is a responsive, clean, Markdown friendly WordPress blog theme. It is " "based on Bootstrap 4 and Fontawesome 5. It is suitable for programming, " "business, technical, professional, niche and any kind of blogging sites. " "Mynote has landing-page templates so that can your highly customize your " "homepage, make your website unique and professional." msgstr "" "Mynote est un thème de blog WordPress responsive, minimaliste, propre et " "compatible avec Markdown. Il s’appuie sur Bootstrap 4 ainsi que Fontawesome " "5. Il peut convenir pour tout type de blog, qu’il soit sur la programmation, " "le business, la technique, ou autre. Qu’il soit pro ou perso. Mynote propose " "plusieurs templates pour la page principale, de cette manière vous pourrez " "customiser votre page d’accueil et faire un site unique et professionnel." #: inc/customer/about.php:24 msgid "" "Mynote is an open source project on GitHub, any suggestions to improve this " "theme are welcome. Please visit:" msgstr "" "Mynote est un projet open source disponible sur GitHub, n’importe quelle " "suggestion pour l’améliorer est bienvenue. Rendez-vous sur:" #: inc/template-functions.php:281 msgid "Name" msgstr "Nom" #: inc/customer/navbar.php:31 msgid "Navbar" msgstr "Barre de navigation" #: comments.php:53 inc/template-tags.php:212 msgid "Next" msgstr "Suivant" #: inc/template-tags.php:211 msgid "Next Page" msgstr "Page suivante" #: pagination.php:25 msgid "Next page" msgstr "Page suivante" #: single-product.php:98 single.php:121 msgid "Next Post" msgstr "Article suivant" #: pagination.php:26 inc/template-tags.php:201 msgid "Page" msgstr "Page" #: inc/template-tags.php:165 msgid "Page navigation" msgstr "Navigation" #: 404.php:20 msgid "Page not found" msgstr "Page introuvable" #: page.php:56 single-product.php:60 single.php:74 #: template-parts/page/landing-page.php:66 msgid "Pages:" msgstr "Pages:" #: inc/template-functions.php:148 msgid "Pingback:" msgstr "Rétrolien:" #: inc/customer/navbar.php:213 msgid "Placeholder Color" msgstr "Couleur de remplissage" #: inc/customer/layout.php:50 msgid "Post" msgstr "Article" #: inc/customer/post-page.php:87 msgid "Post Author and Date" msgstr "Auteur de l’article et date" #: inc/customer/post-card.php:26 msgid "Post Card" msgstr "Carte de l’article" #: inc/customer/post-page.php:27 msgid "Post Page" msgstr "Page de l’article" #: comments.php:52 inc/template-tags.php:184 msgid "Previous" msgstr "Précédent" #: inc/template-tags.php:183 msgid "Previous Page" msgstr "Page précédente" #: pagination.php:24 msgid "Previous page" msgstr "Page précédente" #: single-product.php:97 single.php:120 msgid "Previous Post" msgstr "Article précédent" #: inc/customer/progress-bar.php:32 msgid "Progress Bar" msgstr "Barre de progression" #: inc/template-tags.php:375 msgid "Read" msgstr "Lire" #: inc/template-functions.php:76 msgid "read more" msgstr "lire plus" #: 404.php:30 msgid "Return home?" msgstr "Retourner à l’accueil ?" #: inc/customer/about.php:61 msgid "RWD" msgstr "RWD" #: inc/customer/homepage.php:31 msgid "Scrolling down button" msgstr "Bouton de scroll" #: inc/customer/navbar.php:59 msgid "Search Bar" msgstr "Barre de recherche" #: inc/template-functions.php:255 msgid "Send" msgstr "Envoyer" #: functions.php:153 msgid "Sidebar" msgstr "Barre latérale" #: inc/customer/layout.php:124 inc/customer/layout.php:140 #: inc/customer/layout.php:190 msgid "Sidebar Location" msgstr "Position de la barre latérale" #: functions.php:139 msgid "Sidebar Menu" msgstr "Menu de la barre latérale" #: inc/customer/layout.php:212 msgid "Small - 32 x 32" msgstr "Petite - 32 x 32" #: inc/customer/layout.php:206 msgid "Social Icon Size" msgstr "Taille des icônes de réseaux sociaux" #: functions.php:141 msgid "Social Links Menu" msgstr "Menu des liens vers les réseaux sociaux" #: loop.php:70 page.php:73 single-product.php:87 single.php:104 #: template-parts/page/landing-page.php:76 msgid "Sorry, nothing to display." msgstr "Désolé, rien à afficher ici." #: functions.php:173 msgid "Sticky Sidebar" msgstr "Barre de côté collante" #. Author of the theme msgid "Terry Lin" msgstr "Terry Lin" #: inc/customer/progress-bar.php:185 msgid "Text Color" msgstr "Couleur du texte" #: inc/customer/progress-bar.php:42 msgid "The basic settings of the page progress bar." msgstr "Paramètres de la barre de progression." #: 404.php:28 msgid "The page you are looking for does not exist or it may have been moved." msgstr "La page que vous recherchez n’existe plus ou a sûrement été déplacée." #: inc/template-tags.php:555 msgid "Theme by" msgstr "Thème par" #: inc/customer/navbar.php:136 inc/customer/navbar.php:149 #: inc/customer/navbar.php:160 msgid "This option is for homepage only." msgstr "Cette option n’est que pour la page d’accueil." #: searchform.php:19 msgid "To search, type and hit enter." msgstr "Ecrivez puis appuyez sur entrée pour rechercher." #: header.php:72 msgid "Toggle navigation" msgstr "Afficher/Masquer la navigation" #: inc/template-functions.php:303 inc/customer/navbar.php:50 msgid "Website" msgstr "Site web" #: inc/customer/progress-bar.php:148 msgid "Would you like to display a percentage number on the progress bar?" msgstr "Voulez-vous afficher un pourcentage sur la barre de progression ?" #: inc/customer/progress-bar.php:137 msgid "Would you like to display a progress bar while reading?" msgstr "Voulez-vous afficher une barre de progression pendant la lecture ?" #: inc/customer/navbar.php:205 msgid "Would you like to display a search bar in header navbar area?" msgstr "" "Voulez-vous afficher une barre de recherche dans l’en-tête de la barre de " "navigation ?" #: inc/customer/post-card.php:87 msgid "Would you like to display the border of the post card?" msgstr "Voulez-vous afficher une bordure sur les cartes d’articles ?" #: inc/customer/post-card.php:76 msgid "Would you like to display the footer of the post card?" msgstr "Voulez-vous afficher un pied de page sur les cartes d’articles ?" #: inc/customer/post-card.php:65 msgid "" "Would you like to display the header of the post card? (Post thumbnail is " "located on this section. Choosing `No` will hide it.)" msgstr "" "Voulez-vous afficher un en-tête dans les cartes d’articles ? (La miniature " "est dans cette section. Choisir `Non` la masquera.)" #: inc/customer/homepage.php:34 msgid "Would you like to display the scrolling down button? (desktop version)" msgstr "" "Voulez-vous afficher un bouton pour scroller jusqu’en bas de page ? (Version " "ordinateur)" #: inc/template-functions.php:256 msgid "Write a Reply or Comment" msgstr "Écrire une réponse ou un commentaire" #: inc/template-functions.php:223 msgid "Your comment is awaiting moderation." msgstr "Votre commentaire est en attente de modération." #: inc/template-functions.php:262 msgid "Your email address will not be published." msgstr "Votre adresse email ne sera pas publiée." ================================================ FILE: languages/ja.po ================================================ msgid "" msgstr "" "Project-Id-Version: Mynote\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-01-02 09:03+0000\n" "PO-Revision-Date: 2023-05-29 17:58+0000\n" "Last-Translator: \n" "Language-Team: Japanese\n" "Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Loco https://localise.biz/\n" "X-Loco-Version: 2.6.1; wp-6.2.2" #: 404.php:20 msgid "Page not found" msgstr "ページが見つかりません" #: 404.php:28 msgid "The page you are looking for does not exist or it may have been moved." msgstr "探しているページは存在しないか、移動した可能性があります。" #: 404.php:30 msgid "Return home?" msgstr "ホームに戻りますか?" #: comments.php:44 msgid "Comments" msgstr "コメント" #: comments.php:52 inc/template-tags.php:195 msgid "Previous" msgstr "前" #: comments.php:53 inc/template-tags.php:223 msgid "Next" msgstr "次" #: comments.php:58 msgid "Comments are closed." msgstr "コメントは閉じられています。" #. Name of the template msgid "Landing Page (full)" msgstr "ランディングページ(全)" #. Name of the template msgid "Landing Page (simple)" msgstr "ランディングページ(シンプル)" #: functions.php:138 msgid "Header Menu" msgstr "ヘッダーメニュー" #: functions.php:139 msgid "Sidebar Menu" msgstr "サイドバーメニュー" #: functions.php:140 msgid "Footer Menu" msgstr "フッターメニュー" #: functions.php:141 msgid "Social Links Menu" msgstr "ソーシャルリンクメニュー" #: functions.php:153 msgid "Sidebar" msgstr "サイドバー" #: functions.php:155 msgid "Add widgets here to appear in your sidebar on blog posts." msgstr "ここにウィジェットを追加すると、ブログ投稿のサイドバーに表示されます。" #: functions.php:163 inc/customer/layout.php:56 inc/customer/post-card.php:86 msgid "Footer" msgstr "フッター" #: functions.php:165 msgid "Add widgets here to appear in your footer." msgstr "ここにウィジェットを追加すると、フッターに表示されます。" #: functions.php:173 msgid "Sticky Sidebar" msgstr "スティッキーサイドバー" #: functions.php:175 msgid "Add widgets here to appear in your sidebar on blog posts and archive pages." msgstr "ここにウィジェットを追加すると、ブログ投稿とアーカイブページのサイドバーに表示されます。" #: functions.php:183 msgid "Homepage Middle" msgstr "ホームページ中央" #: functions.php:185 msgid "Add widgets here to appear in your homepage middle section." msgstr "ここにウィジェットを追加すると、ホームページの中央部分に表示されます。" #: functions.php:193 msgid "Homepage Intro" msgstr "ホームページイントロ" #: functions.php:195 msgid "Add widgets here to appear in your homepage intro section." msgstr "ここにウィジェットを追加すると、ホームページのイントロセクションに表示されます。" #: functions.php:203 msgid "Homepage Sidebar" msgstr "ホームページサイドバー" #: functions.php:205 msgid "Add widgets here to appear in your sidebar on homepage." msgstr "ここにウィジェットを追加すると、ホームページのサイドバーに表示されます。" #: functions.php:213 msgid "Archive Sidebar" msgstr "アーカイブサイドバー" #: functions.php:215 msgid "Add widgets here to appear in your sidebar on archive pages." msgstr "ここにウィジェットを追加すると、アーカイブページのサイドバーに表示されます。" #: header.php:59 msgid "Logo" msgstr "ロゴ" #: header.php:73 msgid "Toggle navigation" msgstr "ナビゲーションを切り替える" #: loop.php:68 page.php:73 single-product.php:87 single.php:104 template-parts/page/landing-page.php:76 msgid "Sorry, nothing to display." msgstr "申し訳ありません、表示するものがありません。" #: page.php:56 single-product.php:60 single.php:74 template-parts/page/landing-page.php:66 msgid "Pages:" msgstr "ページ:" #: page.php:64 single-product.php:70 single.php:84 msgid "Last modified: " msgstr "最終更新: " #: pagination.php:24 msgid "Previous page" msgstr "前のページ" #: pagination.php:25 msgid "Next page" msgstr "次のページ" #: pagination.php:26 inc/template-tags.php:212 msgid "Page" msgstr "ページ" #: search.php:24 #, php-format msgid "%s Search Results for %s" msgstr "%s の検索結果 %s" #: searchform.php:19 msgid "To search, type and hit enter." msgstr "検索するには、入力してエンターキーを押します。" #: single-product.php:97 single.php:120 msgid "Previous Post" msgstr "前の投稿" #: single-product.php:98 single.php:121 msgid "Next Post" msgstr "次の投稿" #: inc/template-functions.php:76 msgid "read more" msgstr "もっと読む" #: inc/template-functions.php:148 msgid "Pingback:" msgstr "ピンバック:" #: inc/template-functions.php:148 msgid "(Edit)" msgstr "(編集)" #: inc/template-functions.php:189 inc/template-tags.php:516 msgid "Author" msgstr "著者" #. %s: days #: inc/template-functions.php:213 #, php-format msgid "commented %s ago" msgstr "%s前にコメントしました" #: inc/template-functions.php:223 msgid "Your comment is awaiting moderation." msgstr "あなたのコメントは承認待ちです。" #: inc/template-functions.php:255 msgid "Send" msgstr "送信" #: inc/template-functions.php:256 msgid "Write a Reply or Comment" msgstr "返信またはコメントを書く" #: inc/template-functions.php:262 msgid "Your email address will not be published." msgstr "あなたのメールアドレスは公開されません。" #: inc/template-functions.php:281 msgid "Name" msgstr "名前" #: inc/template-functions.php:292 msgid "Email" msgstr "メール" #: inc/template-functions.php:303 inc/customer/navbar.php:53 msgid "Website" msgstr "ウェブサイト" #: inc/template-tags.php:101 inc/template-tags.php:617 msgid "Home" msgstr "ホーム" #: inc/template-tags.php:176 msgid "Page navigation" msgstr "ページナビゲーション" #: inc/template-tags.php:186 msgid "First Page" msgstr "最初のページ" #: inc/template-tags.php:187 msgid "First" msgstr "最初" #: inc/template-tags.php:194 msgid "Previous Page" msgstr "前のページ" #: inc/template-tags.php:205 msgid "Current Page" msgstr "現在のページ" #: inc/template-tags.php:222 msgid "Next Page" msgstr "次のページ" #: inc/template-tags.php:230 msgid "Last Page" msgstr "最後のページ" #: inc/template-tags.php:231 msgid "Last" msgstr "最後" #: inc/template-tags.php:334 msgid "Edit" msgstr "編集" #: inc/template-tags.php:375 msgid "Comment" msgstr "コメント" #: inc/template-tags.php:395 msgid "Read" msgstr "読む" #: inc/template-tags.php:432 msgid "Date" msgstr "日付" #: inc/template-tags.php:456 #, php-format msgid "%1$s @ %2$s" msgstr "%1$s @ %2$s" #: inc/template-tags.php:463 #, php-format msgctxt "%s" msgid "written %s ago" msgstr "%s前に書かれました" #: inc/template-tags.php:575 msgid "Copyright" msgstr "著作権" #: inc/template-tags.php:575 msgid "All rights reserved." msgstr "全著作権所有。" #: inc/template-tags.php:579 msgid "Theme by" msgstr "テーマ提供:" #. Name of the theme #: inc/template-tags.php:579 msgid "Mynote" msgstr "Mynote" #: inc/customer/about.php:18 msgid "About Mynote Theme" msgstr "Mynoteテーマについて" #: inc/customer/about.php:24 msgid "Mynote is an open source project on GitHub, any suggestions to improve this theme are welcome. Please visit:" msgstr "MynoteはGitHubのオープンソースプロジェクトで、このテーマの改善提案はどんなものでも歓迎されます。訪問してください:" #: inc/customer/about.php:50 msgid "About" msgstr "約" #: inc/customer/about.php:61 msgid "RWD" msgstr "RWD" #: inc/customer/about.php:64 msgid "Mynote is a responsive theme (RWD, responsive web design). However, if you would like to disable RWD, here it is." msgstr "Mynoteはレスポンシブなテーマ(RWD、レスポンシブウェブデザイン)です。しかし、RWDを無効にしたい場合は、ここにあります。" #: inc/customer/homepage.php:31 msgid "Scrolling down button" msgstr "スクロールダウンボタン" #: inc/customer/homepage.php:34 msgid "Would you like to display the scrolling down button? (desktop version)" msgstr "スクロールダウンボタンを表示しますか?(デスクトップ版)" #: inc/customer/layout.php:22 msgid "Layout" msgstr "レイアウト" #: inc/customer/layout.php:32 inc/customer/navbar.php:45 msgid "Homepage" msgstr "ホームページ" #: inc/customer/layout.php:40 msgid "Archive" msgstr "アーカイブ" #: inc/customer/layout.php:48 msgid "Post" msgstr "投稿" #: inc/customer/layout.php:120 inc/customer/layout.php:136 inc/customer/layout.php:186 msgid "Sidebar Location" msgstr "サイドバーの位置" #: inc/customer/layout.php:124 inc/customer/layout.php:140 inc/customer/layout.php:190 msgid "Choose a preferred layout for desktop version." msgstr "デスクトップ版の好みのレイアウトを選択してください。" #: inc/customer/layout.php:152 inc/customer/layout.php:169 msgid "Columns" msgstr "列" #: inc/customer/layout.php:156 inc/customer/layout.php:173 msgid "Adjust the number of columns per row." msgstr "行ごとの列数を調整します。" #: inc/customer/layout.php:202 msgid "Social Icon Size" msgstr "ソーシャルアイコンのサイズ" #: inc/customer/layout.php:206 msgid "Choose a preferred icon size." msgstr "好みのアイコンサイズを選択してください。" #: inc/customer/layout.php:208 msgid "Small - 32 x 32" msgstr "小 - 32 x 32" #: inc/customer/layout.php:209 msgid "Medium - 40 x 40" msgstr "中 - 40 x 40" #: inc/customer/layout.php:210 msgid "Large - 48 x 48" msgstr "大 - 48 x 48" #: inc/customer/layout.php:211 msgid "Extra large - 64 x 64" msgstr "特大 - 64 x 64" #: inc/customer/layout.php:220 msgid "Footer Location" msgstr "フッターの位置" #: inc/customer/layout.php:224 msgid "Choose a preferred layout for footer section." msgstr "フッターセクションの好みのレイアウトを選択してください。" #: inc/customer/navbar.php:35 msgid "Navbar" msgstr "ナビゲーションバー" #: inc/customer/navbar.php:61 msgid "Search Bar" msgstr "検索バー" #: inc/customer/navbar.php:181 inc/customer/navbar.php:242 inc/customer/navbar.php:331 inc/customer/progress-bar.php:167 msgid "Background Color" msgstr "背景色" #: inc/customer/navbar.php:182 inc/customer/navbar.php:195 inc/customer/navbar.php:206 inc/customer/navbar.php:219 inc/customer/navbar.php:232 msgid "This option is for homepage only." msgstr "このオプションはホームページのみに適用されます。" #: inc/customer/navbar.php:194 inc/customer/navbar.php:254 msgid "Link Color" msgstr "リンクの色" #: inc/customer/navbar.php:205 inc/customer/navbar.php:264 msgid "Link Hover Color" msgstr "リンクホバーの色" #: inc/customer/navbar.php:216 inc/customer/navbar.php:274 msgid "Menu Toggler's Border Color" msgstr "メニュートグルのボーダー色" #: inc/customer/navbar.php:219 inc/customer/navbar.php:232 inc/customer/navbar.php:279 inc/customer/navbar.php:292 msgid "It is visible only when the screen width is less than 768px." msgstr "画面幅が768px未満のときにのみ表示されます。" #: inc/customer/navbar.php:229 inc/customer/navbar.php:287 msgid "Menu Toggler's Background Color" msgstr "メニュートグルの背景色" #: inc/customer/navbar.php:300 msgid "Display a Search Bar" msgstr "検索バーを表示する" #: inc/customer/navbar.php:303 msgid "Would you like to display a search bar in header navbar area?" msgstr "ヘッダーナビゲーションバー領域に検索バーを表示しますか?" #: inc/customer/navbar.php:311 msgid "Placeholder Color" msgstr "プレースホルダーの色" #: inc/customer/navbar.php:321 msgid "Input Text Color" msgstr "入力テキストの色" #: inc/customer/navbar.php:343 msgid "Size" msgstr "サイズ" #: inc/customer/navbar.php:348 inc/customer/progress-bar.php:156 msgid "Default" msgstr "デフォルト" #: inc/customer/navbar.php:349 msgid "Big" msgstr "大" #: inc/customer/post-card.php:26 msgid "Post Card" msgstr "ポストカード" #: inc/customer/post-card.php:75 msgid "Header" msgstr "ヘッダー" #: inc/customer/post-card.php:78 msgid "Would you like to display the header of the post card? (Post thumbnail is located on this section. Choosing No will hide it.)" msgstr "ポストカードのヘッダーを表示しますか?(ポストサムネイルはこのセクションに位置しています。Noを選択すると非表示になります。)" #: inc/customer/post-card.php:89 msgid "Would you like to display the footer of the post card?" msgstr "ポストカードのフッターを表示しますか?" #: inc/customer/post-card.php:97 msgid "Border" msgstr "ボーダー" #: inc/customer/post-card.php:100 msgid "Would you like to display the border of the post card?" msgstr "ポストカードのボーダーを表示しますか?" #: inc/customer/post-card.php:108 msgid "Gradient Mask" msgstr "グラデーションマスク" #: inc/customer/post-card.php:111 msgid "Would you like to display the gradient mask on the text?" msgstr "テキストにグラデーションマスクを表示しますか?" #: inc/customer/post-card.php:119 msgid "Buttons" msgstr "ボタン" #: inc/customer/post-card.php:122 msgid "Would you like to display the buttons in the post body?" msgstr "投稿本文内にボタンを表示しますか?" #: inc/customer/post-page.php:27 msgid "Post Page" msgstr "投稿ページ" #: inc/customer/post-page.php:76 msgid "Breadcrumb" msgstr "ブレッドクラム" #: inc/customer/post-page.php:86 msgid "Post Author and Date" msgstr "投稿者と日付" #: inc/customer/post-page.php:96 msgid "Featured Image" msgstr "特集画像" #: inc/customer/post-page.php:106 msgid "Author Card" msgstr "著者カード" #: inc/customer/post-page.php:116 msgid "Comment Section" msgstr "コメントセクション" #: inc/customer/progress-bar.php:32 msgid "Progress Bar" msgstr "プログレスバー" #: inc/customer/progress-bar.php:41 msgid "Basic Settings" msgstr "基本設定" #: inc/customer/progress-bar.php:42 msgid "The basic settings of the page progress bar." msgstr "ページ進行バーの基本設定" #: inc/customer/progress-bar.php:50 msgid "Color" msgstr "色" #: inc/customer/progress-bar.php:51 msgid "Customize the color pattern of the page progress bar." msgstr "ページ進行バーの色パターンをカスタマイズします。" #: inc/customer/progress-bar.php:128 msgid "Display Progress Bar" msgstr "プログレスバーを表示する" #: inc/customer/progress-bar.php:131 msgid "Would you like to display a progress bar while reading?" msgstr "読み進める際にプログレスバーを表示しますか?" #: inc/customer/progress-bar.php:139 msgid "Display Percentage Number" msgstr "パーセンテージ数を表示する" #: inc/customer/progress-bar.php:142 msgid "Would you like to display a percentage number on the progress bar?" msgstr "プログレスバーにパーセンテージ数を表示しますか?" #: inc/customer/progress-bar.php:150 msgid "Color Pattern" msgstr "色パターン" #: inc/customer/progress-bar.php:154 msgid "Choose a preferred color pattern and apply it to the progress bar." msgstr "好みの色パターンを選択し、プログレスバーに適用します。" #: inc/customer/progress-bar.php:157 msgid "As same as website menu" msgstr "ウェブサイトメニューと同様" #: inc/customer/progress-bar.php:158 msgid "Custom" msgstr "カスタム" #: inc/customer/progress-bar.php:179 msgid "Text Color" msgstr "テキストの色" #: inc/customer/progress-bar.php:189 msgid "Border Color" msgstr "ボーダーの色" #. Name of the template msgid "Landing page" msgstr "ランディングページ" #. Description of the theme msgid "Mynote is a responsive, clean, Markdown friendly WordPress blog theme. It is based on Bootstrap 4 and Fontawesome 5. It is suitable for programming, business, technical, professional, niche and any kind of blogging sites. Mynote has landing-page templates so that can your highly customize your homepage, make your website unique and professional." msgstr "Mynoteは、レスポンシブでクリーンなMarkdown対応のWordPressブログテーマです。Bootstrap 4とFontawesome 5をベースにしており、プログラミング、ビジネス、テクニカル、専門的なブログ、あらゆる種類のブログサイトに適しています。Mynoteにはランディングページのテンプレートがあり、あなたのホームページを高度にカスタマイズして、あなたのウェブサイトをユニークでプロフェッショナルにすることができます。" #. URI of the theme msgid "https://terryl.in/en/repository/mynote/" msgstr "https://terryl.in/en/repository/mynote/" #. Author of the theme msgid "Terry Lin" msgstr "テリーリン" #. Author URI of the theme msgid "https://terryl.in" msgstr "https://terryl.in" ================================================ FILE: languages/mynote.pot ================================================ #, fuzzy msgid "" msgstr "" "Project-Id-Version: Mynote\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-01-02 09:03+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: \n" "Language: \n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Loco https://localise.biz/\n" "X-Loco-Version: 2.2.0; wp-5.1.1" #: 404.php:20 msgid "Page not found" msgstr "" #: 404.php:28 msgid "The page you are looking for does not exist or it may have been moved." msgstr "" #: 404.php:30 msgid "Return home?" msgstr "" #: comments.php:44 msgid "Comments" msgstr "" #: comments.php:52 inc/template-tags.php:195 msgid "Previous" msgstr "" #: comments.php:53 inc/template-tags.php:223 msgid "Next" msgstr "" #: comments.php:58 msgid "Comments are closed." msgstr "" #. Name of the template msgid "Landing Page (full)" msgstr "" #. Name of the template msgid "Landing Page (simple)" msgstr "" #: functions.php:138 msgid "Header Menu" msgstr "" #: functions.php:139 msgid "Sidebar Menu" msgstr "" #: functions.php:140 msgid "Footer Menu" msgstr "" #: functions.php:141 msgid "Social Links Menu" msgstr "" #: functions.php:153 msgid "Sidebar" msgstr "" #: functions.php:155 msgid "Add widgets here to appear in your sidebar on blog posts." msgstr "" #: functions.php:163 inc/customer/layout.php:56 inc/customer/post-card.php:86 msgid "Footer" msgstr "" #: functions.php:165 msgid "Add widgets here to appear in your footer." msgstr "" #: functions.php:173 msgid "Sticky Sidebar" msgstr "" #: functions.php:175 msgid "" "Add widgets here to appear in your sidebar on blog posts and archive pages." msgstr "" #: functions.php:183 msgid "Homepage Middle" msgstr "" #: functions.php:185 msgid "Add widgets here to appear in your homepage middle section." msgstr "" #: functions.php:193 msgid "Homepage Intro" msgstr "" #: functions.php:195 msgid "Add widgets here to appear in your homepage intro section." msgstr "" #: functions.php:203 msgid "Homepage Sidebar" msgstr "" #: functions.php:205 msgid "Add widgets here to appear in your sidebar on homepage." msgstr "" #: functions.php:213 msgid "Archive Sidebar" msgstr "" #: functions.php:215 msgid "Add widgets here to appear in your sidebar on archive pages." msgstr "" #: header.php:59 msgid "Logo" msgstr "" #: header.php:73 msgid "Toggle navigation" msgstr "" #: loop.php:68 page.php:73 single-product.php:87 single.php:104 #: template-parts/page/landing-page.php:76 msgid "Sorry, nothing to display." msgstr "" #: page.php:56 single-product.php:60 single.php:74 #: template-parts/page/landing-page.php:66 msgid "Pages:" msgstr "" #: page.php:64 single-product.php:70 single.php:84 msgid "Last modified: " msgstr "" #: pagination.php:24 msgid "Previous page" msgstr "" #: pagination.php:25 msgid "Next page" msgstr "" #: pagination.php:26 inc/template-tags.php:212 msgid "Page" msgstr "" #: search.php:24 #, php-format msgid "%s Search Results for %s" msgstr "" #: searchform.php:19 msgid "To search, type and hit enter." msgstr "" #: single-product.php:97 single.php:120 msgid "Previous Post" msgstr "" #: single-product.php:98 single.php:121 msgid "Next Post" msgstr "" #: inc/template-functions.php:76 msgid "read more" msgstr "" #: inc/template-functions.php:148 msgid "Pingback:" msgstr "" #: inc/template-functions.php:148 msgid "(Edit)" msgstr "" #: inc/template-functions.php:189 inc/template-tags.php:516 msgid "Author" msgstr "" #. %s: days #: inc/template-functions.php:213 #, php-format msgid "commented %s ago" msgstr "" #: inc/template-functions.php:223 msgid "Your comment is awaiting moderation." msgstr "" #: inc/template-functions.php:255 msgid "Send" msgstr "" #: inc/template-functions.php:256 msgid "Write a Reply or Comment" msgstr "" #: inc/template-functions.php:262 msgid "Your email address will not be published." msgstr "" #: inc/template-functions.php:281 msgid "Name" msgstr "" #: inc/template-functions.php:292 msgid "Email" msgstr "" #: inc/template-functions.php:303 inc/customer/navbar.php:53 msgid "Website" msgstr "" #: inc/template-tags.php:101 inc/template-tags.php:617 msgid "Home" msgstr "" #: inc/template-tags.php:176 msgid "Page navigation" msgstr "" #: inc/template-tags.php:186 msgid "First Page" msgstr "" #: inc/template-tags.php:187 msgid "First" msgstr "" #: inc/template-tags.php:194 msgid "Previous Page" msgstr "" #: inc/template-tags.php:205 msgid "Current Page" msgstr "" #: inc/template-tags.php:222 msgid "Next Page" msgstr "" #: inc/template-tags.php:230 msgid "Last Page" msgstr "" #: inc/template-tags.php:231 msgid "Last" msgstr "" #: inc/template-tags.php:334 msgid "Edit" msgstr "" #: inc/template-tags.php:375 msgid "Comment" msgstr "" #: inc/template-tags.php:395 msgid "Read" msgstr "" #: inc/template-tags.php:432 msgid "Date" msgstr "" #: inc/template-tags.php:456 #, php-format msgid "%1$s @ %2$s" msgstr "" #: inc/template-tags.php:463 #, php-format msgctxt "%s" msgid "written %s ago" msgstr "" #: inc/template-tags.php:575 msgid "Copyright" msgstr "" #: inc/template-tags.php:575 msgid "All rights reserved." msgstr "" #: inc/template-tags.php:579 msgid "Theme by" msgstr "" #. Name of the theme #: inc/template-tags.php:579 msgid "Mynote" msgstr "" #: inc/customer/about.php:18 msgid "About Mynote Theme" msgstr "" #: inc/customer/about.php:24 msgid "" "Mynote is an open source project on GitHub, any suggestions to improve this " "theme are welcome. Please visit:" msgstr "" #: inc/customer/about.php:50 msgid "About" msgstr "" #: inc/customer/about.php:61 msgid "RWD" msgstr "" #: inc/customer/about.php:64 msgid "" "Mynote is a responsive theme (RWD, responsive web design). However, if you " "would like to disable RWD, here it is." msgstr "" #: inc/customer/homepage.php:31 msgid "Scrolling down button" msgstr "" #: inc/customer/homepage.php:34 msgid "Would you like to display the scrolling down button? (desktop version)" msgstr "" #: inc/customer/layout.php:22 msgid "Layout" msgstr "" #: inc/customer/layout.php:32 inc/customer/navbar.php:45 msgid "Homepage" msgstr "" #: inc/customer/layout.php:40 msgid "Archive" msgstr "" #: inc/customer/layout.php:48 msgid "Post" msgstr "" #: inc/customer/layout.php:120 inc/customer/layout.php:136 #: inc/customer/layout.php:186 msgid "Sidebar Location" msgstr "" #: inc/customer/layout.php:124 inc/customer/layout.php:140 #: inc/customer/layout.php:190 msgid "Choose a preferred layout for desktop version." msgstr "" #: inc/customer/layout.php:152 inc/customer/layout.php:169 msgid "Columns" msgstr "" #: inc/customer/layout.php:156 inc/customer/layout.php:173 msgid "Adjust the number of columns per row." msgstr "" #: inc/customer/layout.php:202 msgid "Social Icon Size" msgstr "" #: inc/customer/layout.php:206 msgid "Choose a preferred icon size." msgstr "" #: inc/customer/layout.php:208 msgid "Small - 32 x 32" msgstr "" #: inc/customer/layout.php:209 msgid "Medium - 40 x 40" msgstr "" #: inc/customer/layout.php:210 msgid "Large - 48 x 48" msgstr "" #: inc/customer/layout.php:211 msgid "Extra large - 64 x 64" msgstr "" #: inc/customer/layout.php:220 msgid "Footer Location" msgstr "" #: inc/customer/layout.php:224 msgid "Choose a preferred layout for footer section." msgstr "" #: inc/customer/navbar.php:35 msgid "Navbar" msgstr "" #: inc/customer/navbar.php:61 msgid "Search Bar" msgstr "" #: inc/customer/navbar.php:181 inc/customer/navbar.php:242 #: inc/customer/navbar.php:331 inc/customer/progress-bar.php:167 msgid "Background Color" msgstr "" #: inc/customer/navbar.php:182 inc/customer/navbar.php:195 #: inc/customer/navbar.php:206 inc/customer/navbar.php:219 #: inc/customer/navbar.php:232 msgid "This option is for homepage only." msgstr "" #: inc/customer/navbar.php:194 inc/customer/navbar.php:254 msgid "Link Color" msgstr "" #: inc/customer/navbar.php:205 inc/customer/navbar.php:264 msgid "Link Hover Color" msgstr "" #: inc/customer/navbar.php:216 inc/customer/navbar.php:274 msgid "Menu Toggler's Border Color" msgstr "" #: inc/customer/navbar.php:219 inc/customer/navbar.php:232 #: inc/customer/navbar.php:279 inc/customer/navbar.php:292 msgid "It is visible only when the screen width is less than 768px." msgstr "" #: inc/customer/navbar.php:229 inc/customer/navbar.php:287 msgid "Menu Toggler's Background Color" msgstr "" #: inc/customer/navbar.php:300 msgid "Display a Search Bar" msgstr "" #: inc/customer/navbar.php:303 msgid "Would you like to display a search bar in header navbar area?" msgstr "" #: inc/customer/navbar.php:311 msgid "Placeholder Color" msgstr "" #: inc/customer/navbar.php:321 msgid "Input Text Color" msgstr "" #: inc/customer/navbar.php:343 msgid "Size" msgstr "" #: inc/customer/navbar.php:348 inc/customer/progress-bar.php:156 msgid "Default" msgstr "" #: inc/customer/navbar.php:349 msgid "Big" msgstr "" #: inc/customer/post-card.php:26 msgid "Post Card" msgstr "" #: inc/customer/post-card.php:75 msgid "Header" msgstr "" #: inc/customer/post-card.php:78 msgid "" "Would you like to display the header of the post card? (Post thumbnail is " "located on this section. Choosing `No` will hide it.)" msgstr "" #: inc/customer/post-card.php:89 msgid "Would you like to display the footer of the post card?" msgstr "" #: inc/customer/post-card.php:97 msgid "Border" msgstr "" #: inc/customer/post-card.php:100 msgid "Would you like to display the border of the post card?" msgstr "" #: inc/customer/post-card.php:108 msgid "Gradient Mask" msgstr "" #: inc/customer/post-card.php:111 msgid "Would you like to display the gradient mask on the text?" msgstr "" #: inc/customer/post-card.php:119 msgid "Buttons" msgstr "" #: inc/customer/post-card.php:122 msgid "Would you like to display the buttons in the post body?" msgstr "" #: inc/customer/post-page.php:27 msgid "Post Page" msgstr "" #: inc/customer/post-page.php:76 msgid "Breadcrumb" msgstr "" #: inc/customer/post-page.php:86 msgid "Post Author and Date" msgstr "" #: inc/customer/post-page.php:96 msgid "Featured Image" msgstr "" #: inc/customer/post-page.php:106 msgid "Author Card" msgstr "" #: inc/customer/post-page.php:116 msgid "Comment Section" msgstr "" #: inc/customer/progress-bar.php:32 msgid "Progress Bar" msgstr "" #: inc/customer/progress-bar.php:41 msgid "Basic Settings" msgstr "" #: inc/customer/progress-bar.php:42 msgid "The basic settings of the page progress bar." msgstr "" #: inc/customer/progress-bar.php:50 msgid "Color" msgstr "" #: inc/customer/progress-bar.php:51 msgid "Customize the color pattern of the page progress bar." msgstr "" #: inc/customer/progress-bar.php:128 msgid "Display Progress Bar" msgstr "" #: inc/customer/progress-bar.php:131 msgid "Would you like to display a progress bar while reading?" msgstr "" #: inc/customer/progress-bar.php:139 msgid "Display Percentage Number" msgstr "" #: inc/customer/progress-bar.php:142 msgid "Would you like to display a percentage number on the progress bar?" msgstr "" #: inc/customer/progress-bar.php:150 msgid "Color Pattern" msgstr "" #: inc/customer/progress-bar.php:154 msgid "Choose a preferred color pattern and apply it to the progress bar." msgstr "" #: inc/customer/progress-bar.php:157 msgid "As same as website menu" msgstr "" #: inc/customer/progress-bar.php:158 msgid "Custom" msgstr "" #: inc/customer/progress-bar.php:179 msgid "Text Color" msgstr "" #: inc/customer/progress-bar.php:189 msgid "Border Color" msgstr "" #. Name of the template msgid "Landing page" msgstr "" #. Description of the theme msgid "" "Mynote is a responsive, clean, Markdown friendly WordPress blog theme. It is " "based on Bootstrap 4 and Fontawesome 5. It is suitable for programming, " "business, technical, professional, niche and any kind of blogging sites. " "Mynote has landing-page templates so that can your highly customize your " "homepage, make your website unique and professional." msgstr "" #. URI of the theme msgid "https://terryl.in/en/repository/mynote/" msgstr "" #. Author of the theme msgid "Terry Lin" msgstr "" #. Author URI of the theme msgid "https://terryl.in" msgstr "" ================================================ FILE: languages/pt_BR.po ================================================ msgid "" msgstr "" "Project-Id-Version: Mynote\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-04 16:02+0000\n" "PO-Revision-Date: 2019-05-23 13:34-0300\n" "Language-Team: \n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.2.3\n" "X-Loco-Version: 2.2.0; wp-5.1.1\n" "Last-Translator: \n" "Language: pt_BR\n" #: inc/template-tags.php:434 #, php-format msgid "%1$s @ %2$s" msgstr "%1$s @ %2$s" #: inc/template-tags.php:441 #, php-format msgctxt "%s" msgid "written %s ago" msgstr "escrito %s atrás" #: search.php:24 #, php-format msgid "%s Search Results for %s" msgstr "%s Resultados de busca por %s" #: inc/template-functions.php:148 msgid "(Edit)" msgstr "(Editar)" #: inc/customer/about.php:50 msgid "About" msgstr "Sobre" #: inc/customer/about.php:18 msgid "About Mynote Theme" msgstr "Sobre o tema Mynote" #: functions.php:165 msgid "Add widgets here to appear in your footer." msgstr "Adicione widgets aqui para aparecerem em seu rodapé" #: functions.php:195 msgid "Add widgets here to appear in your homepage intro section." msgstr "" "Adicione widgets aqui para aparecerem na sessão de introdução da página " "inicial." #: functions.php:185 msgid "Add widgets here to appear in your homepage middle section." msgstr "" "Adicione widgets aqui para aparecerem na sessão do meio de sua página " "inicial." #: functions.php:215 msgid "Add widgets here to appear in your sidebar on archive pages." msgstr "" "Adicione widgets aqui para aparecerem na barra lateral de páginas de " "arquivos." #: functions.php:175 msgid "" "Add widgets here to appear in your sidebar on blog posts and archive pages." msgstr "" "Adicione widgets aqui para aparecerem na barra lateral de publicações e " "páginas de arquivos." #: functions.php:155 msgid "Add widgets here to appear in your sidebar on blog posts." msgstr "" "Adicione widgets aqui para aparecerem na barra lateral de publicações de " "blog." #: functions.php:205 msgid "Add widgets here to appear in your sidebar on homepage." msgstr "" "Adicione widgets aqui para aparecerem na barra lateral de sua página inicial." #: inc/customer/layout.php:160 inc/customer/layout.php:177 msgid "Adjust the number of columns per row." msgstr "Adicione o número de colunas por linha." #: inc/template-tags.php:551 msgid "All rights reserved." msgstr "Todos os direitos reservados." #: inc/customer/layout.php:41 msgid "Archive" msgstr "Arquivo" #: functions.php:213 msgid "Archive Sidebar" msgstr "Barra lateral de arquivo" #: inc/customer/progress-bar.php:163 msgid "As same as website menu" msgstr "O mesmo que o menu do site" #: inc/template-functions.php:189 inc/template-tags.php:493 msgid "Author" msgstr "Autor" #: inc/customer/post-page.php:107 msgid "Author Card" msgstr "Cartão do autor" #: inc/customer/navbar.php:135 inc/customer/navbar.php:170 #: inc/customer/progress-bar.php:173 msgid "Background Color" msgstr "Cor do plano de fundo" #: inc/customer/progress-bar.php:41 msgid "Basic Settings" msgstr "Configurações básicas" #: inc/customer/post-card.php:84 msgid "Border" msgstr "Borda" #: inc/customer/progress-bar.php:195 msgid "Border Color" msgstr "Cor da borda" #: inc/customer/post-page.php:77 msgid "Breadcrumb" msgstr "Marcador (página)" #: inc/customer/progress-bar.php:160 msgid "Choose a preferred color pattern and apply it to the progress bar." msgstr "Selecione o esquema de cor desejado e aplique-o à barra de progresso." #: inc/customer/layout.php:210 msgid "Choose a preferred icon size." msgstr "Selecione o tamanho desejado para o ícone." #: inc/customer/layout.php:128 inc/customer/layout.php:144 #: inc/customer/layout.php:194 msgid "Choose a preferred layout for desktop version." msgstr "Selecione um leiaute para a versão de desktop." #: inc/customer/layout.php:228 msgid "Choose a preferred layout for footer section." msgstr "Selecione um leiaute para a sessão de rodapé." #: inc/customer/progress-bar.php:51 msgid "Color" msgstr "Cor" #: inc/customer/progress-bar.php:156 msgid "Color Pattern" msgstr "Padrão de cor" #: inc/customer/layout.php:156 inc/customer/layout.php:173 msgid "Columns" msgstr "Colunas" #: inc/template-tags.php:358 msgid "Comment" msgstr "Comentários" #: inc/customer/post-page.php:117 msgid "Comment Section" msgstr "Sessão de comentários" #. %s: days #: inc/template-functions.php:213 #, php-format msgid "commented %s ago" msgstr "comentou %s atrás" #: comments.php:44 msgid "Comments" msgstr "Comentários" #: comments.php:58 msgid "Comments are closed." msgstr "Fechado a comentários." #: inc/template-tags.php:551 msgid "Copyright" msgstr "Copyright" #: inc/template-tags.php:194 msgid "Current Page" msgstr "Página Atual" #: inc/customer/progress-bar.php:164 msgid "Custom" msgstr "Personalizado" #: inc/customer/progress-bar.php:52 msgid "Customize the color pattern of the page progress bar." msgstr "Personalize o padrão de cores da barra de progresso da página." #: inc/template-tags.php:411 msgid "Date" msgstr "Data" #: inc/customer/progress-bar.php:162 msgid "Default" msgstr "Padrão" #: inc/customer/navbar.php:202 msgid "Display a Search Bar" msgstr "Mostrar uma barra de pesquisa" #: inc/customer/progress-bar.php:145 msgid "Display Percentage Number" msgstr "Mostrar a porcentagem (número)" #: inc/customer/progress-bar.php:134 msgid "Display Progress Bar" msgstr "Mostrar barra de progresso" #: inc/template-tags.php:319 msgid "Edit" msgstr "Editar" #: inc/template-functions.php:292 msgid "Email" msgstr "Email" #: inc/customer/layout.php:215 msgid "Extra large - 64 x 64" msgstr "Extra grante - 64 x 64" #: inc/customer/post-page.php:97 msgid "Featured Image" msgstr "Imagem de destaque" #: inc/template-tags.php:176 msgid "First" msgstr "Primeira" #: inc/template-tags.php:175 msgid "First Page" msgstr "Primeira página" #: functions.php:163 inc/customer/layout.php:59 inc/customer/post-card.php:73 msgid "Footer" msgstr "Rodapé" #: inc/customer/layout.php:224 msgid "Footer Location" msgstr "Localização do rodapé" #: functions.php:140 msgid "Footer Menu" msgstr "Menu do rodapé" #: inc/customer/post-card.php:62 msgid "Header" msgstr "Cabeçalho" #: functions.php:138 msgid "Header Menu" msgstr "Menu do cabeçalho" #: inc/template-tags.php:90 inc/template-tags.php:592 msgid "Home" msgstr "Início" #: inc/customer/layout.php:32 inc/customer/navbar.php:41 msgid "Homepage" msgstr "Página inicial" #: functions.php:193 msgid "Homepage Intro" msgstr "Introdução da página inicial" #: functions.php:183 msgid "Homepage Middle" msgstr "Meio da página inicial" #: functions.php:203 msgid "Homepage Sidebar" msgstr "Barra lateral da página inicial" #. Author URI of the theme msgid "https://terryl.in" msgstr "https://terryl.in" #. URI of the theme msgid "https://terryl.in/en/repository/mynote/" msgstr "https://terryl.in/en/repository/mynote/" #. Name of the template msgid "Landing page" msgstr "Página de destino" #. Name of the template msgid "Landing Page (full)" msgstr "Página de destino (completa)" #. Name of the template msgid "Landing Page (simple)" msgstr "Página de destino (simples)" #: inc/customer/layout.php:214 msgid "Large - 48 x 48" msgstr "Grande - 48 x 48" #: inc/template-tags.php:220 msgid "Last" msgstr "Último" #: page.php:64 single-product.php:70 single.php:84 msgid "Last modified: " msgstr "Modificado pela ultima vez: " #: inc/template-tags.php:219 msgid "Last Page" msgstr "Última página" #: inc/customer/layout.php:22 msgid "Layout" msgstr "Leiaute" #: inc/customer/navbar.php:148 inc/customer/navbar.php:182 msgid "Link Color" msgstr "Cor do link" #: inc/customer/navbar.php:159 inc/customer/navbar.php:192 msgid "Link Hover Color" msgstr "Cor de sobreposição do link" #: header.php:58 msgid "Logo" msgstr "Logo" #: inc/customer/layout.php:213 msgid "Medium - 40 x 40" msgstr "Médio - 40 x 40" #. Name of the theme #: inc/template-tags.php:555 msgid "Mynote" msgstr "Mynote" #: inc/customer/about.php:64 msgid "" "Mynote is a responsive theme (RWD, responsive web design). However, if you " "would like to disable RWD, here it is." msgstr "" "Mynote é um tema responsivo (RWD, responsive web design). Porém, você pode " "desativar o RWD se quiser, aqui está." #. Description of the theme msgid "" "Mynote is a responsive, clean, Markdown friendly WordPress blog theme. It is " "based on Bootstrap 4 and Fontawesome 5. It is suitable for programming, " "business, technical, professional, niche and any kind of blogging sites. " "Mynote has landing-page templates so that can your highly customize your " "homepage, make your website unique and professional." msgstr "" "Mynote é um tema para WordPress responsivo, limpo e amigável ao Markdown. " "Ele é baseado no Bootstrap 4 e Fontawesome 5. Ele é ótimo para qualquer tipo " "de site de programação, negócios, técnicos, nicho e qualquer tipo de blog. " "Mynote tem um modelo de página de destino, assim você pode personalizar sua " "página inicial, tornando seu site único e profissional." #: inc/customer/about.php:24 msgid "" "Mynote is an open source project on GitHub, any suggestions to improve this " "theme are welcome. Please visit:" msgstr "" "Mynote é um projeto de código aberto no GitHub, quaisquer sugestões para " "melhorar este tema são bem vindas. Por favor, visite:" #: inc/template-functions.php:281 msgid "Name" msgstr "Nome" #: inc/customer/navbar.php:31 msgid "Navbar" msgstr "Barra de navegação" #: comments.php:53 inc/template-tags.php:212 msgid "Next" msgstr "Próximo" #: inc/template-tags.php:211 msgid "Next Page" msgstr "Próxima página" #: pagination.php:25 msgid "Next page" msgstr "Próxima página" #: single-product.php:98 single.php:121 msgid "Next Post" msgstr "Próxima publicação" #: pagination.php:26 inc/template-tags.php:201 msgid "Page" msgstr "Página" #: inc/template-tags.php:165 msgid "Page navigation" msgstr "Navegação de páginas" #: 404.php:20 msgid "Page not found" msgstr "Página não encontrada" #: page.php:56 single-product.php:60 single.php:74 #: template-parts/page/landing-page.php:66 msgid "Pages:" msgstr "Páginas:" #: inc/template-functions.php:148 msgid "Pingback:" msgstr "Pingback:" #: inc/customer/navbar.php:213 msgid "Placeholder Color" msgstr "Cor do preenchimento" #: inc/customer/layout.php:50 msgid "Post" msgstr "Publicação" #: inc/customer/post-page.php:87 msgid "Post Author and Date" msgstr "Autor e data da publicação" #: inc/customer/post-card.php:26 msgid "Post Card" msgstr "Cartão da publicação" #: inc/customer/post-page.php:27 msgid "Post Page" msgstr "Página da publicação" #: comments.php:52 inc/template-tags.php:184 msgid "Previous" msgstr "Anterior" #: inc/template-tags.php:183 msgid "Previous Page" msgstr "Página anterior" #: pagination.php:24 msgid "Previous page" msgstr "Página anterior" #: single-product.php:97 single.php:120 msgid "Previous Post" msgstr "Publicação anterior" #: inc/customer/progress-bar.php:32 msgid "Progress Bar" msgstr "Barra de progresso" #: inc/template-tags.php:375 msgid "Read" msgstr "Ler" #: inc/template-functions.php:76 msgid "read more" msgstr "leia mais" #: 404.php:30 msgid "Return home?" msgstr "Retornar para o início?" #: inc/customer/about.php:61 msgid "RWD" msgstr "RWD" #: inc/customer/homepage.php:31 msgid "Scrolling down button" msgstr "Botão de rolagem para cima" #: inc/customer/navbar.php:59 msgid "Search Bar" msgstr "Barra de pesquisa" #: inc/template-functions.php:255 msgid "Send" msgstr "Enviar" #: functions.php:153 msgid "Sidebar" msgstr "Barra lateral" #: inc/customer/layout.php:124 inc/customer/layout.php:140 #: inc/customer/layout.php:190 msgid "Sidebar Location" msgstr "Localização da barra lateral" #: functions.php:139 msgid "Sidebar Menu" msgstr "Menu da barra lateral" #: inc/customer/layout.php:212 msgid "Small - 32 x 32" msgstr "Pequeno - 32 x 32" #: inc/customer/layout.php:206 msgid "Social Icon Size" msgstr "Tamanho do ícone social" #: functions.php:141 msgid "Social Links Menu" msgstr "Menu de links sociais" #: loop.php:70 page.php:73 single-product.php:87 single.php:104 #: template-parts/page/landing-page.php:76 msgid "Sorry, nothing to display." msgstr "Desculpe, mas não há nada para exibir." #: functions.php:173 msgid "Sticky Sidebar" msgstr "Barra lateral \"pegajosa\"" #. Author of the theme msgid "Terry Lin" msgstr "Terry Lin" #: inc/customer/progress-bar.php:185 msgid "Text Color" msgstr "Cor do texto" #: inc/customer/progress-bar.php:42 msgid "The basic settings of the page progress bar." msgstr "As configurações básicas da barra de progresso da página." #: 404.php:28 msgid "The page you are looking for does not exist or it may have been moved." msgstr "A página que você está procurando não existe ou pode ter sido movida." #: inc/template-tags.php:555 msgid "Theme by" msgstr "Tema por" #: inc/customer/navbar.php:136 inc/customer/navbar.php:149 #: inc/customer/navbar.php:160 msgid "This option is for homepage only." msgstr "Esta opção é apenas para a página inicial." #: searchform.php:19 msgid "To search, type and hit enter." msgstr "Para pesquisar, digite e pressione \"enter\"." #: header.php:72 msgid "Toggle navigation" msgstr "Alternar navegaçao" #: inc/template-functions.php:303 inc/customer/navbar.php:50 msgid "Website" msgstr "Website" #: inc/customer/progress-bar.php:148 msgid "Would you like to display a percentage number on the progress bar?" msgstr "Gostaria de exibir um número de porcentagem na barra de progresso?" #: inc/customer/progress-bar.php:137 msgid "Would you like to display a progress bar while reading?" msgstr "Gostaria de exibir uma barra de progresso durante a leitura?" #: inc/customer/navbar.php:205 msgid "Would you like to display a search bar in header navbar area?" msgstr "" "Gostaria de mostrar uma barra de busca na área da barra de navegação do " "cabeçalho?" #: inc/customer/post-card.php:87 msgid "Would you like to display the border of the post card?" msgstr "Gostaria de exibir a borda do cartão de publicação?" #: inc/customer/post-card.php:76 msgid "Would you like to display the footer of the post card?" msgstr "Gostaria de exibir o rodapé do cartão de publicação?" #: inc/customer/post-card.php:65 msgid "" "Would you like to display the header of the post card? (Post thumbnail is " "located on this section. Choosing `No` will hide it.)" msgstr "" "Gostaria de mostrar o cabeçalho do cartão da publicação? (A miniatura da " "publicação está localizada nesta sessão. Ao selecionar 'não', ela será " "escondida.)" #: inc/customer/homepage.php:34 msgid "Would you like to display the scrolling down button? (desktop version)" msgstr "Gostaria de mostrar o botão de deslizar para cima? (versão de desktop)" #: inc/template-functions.php:256 msgid "Write a Reply or Comment" msgstr "Escreva uma resposta ou comentário" #: inc/template-functions.php:223 msgid "Your comment is awaiting moderation." msgstr "Seu comentário está aguardando pela moderação." #: inc/template-functions.php:262 msgid "Your email address will not be published." msgstr "Seu endereço de e-mail não será publicado." ================================================ FILE: mynote-child/functions.php ================================================
    >
    '', ) ); ?>

    Apply WordPress Coding Standards to all Core files . warning warning warning warning ^build/* /node_modules/* /vendor/* /src/wp-admin/includes/class-ftp* /src/wp-admin/includes/class-pclzip\.php /src/wp-admin/includes/deprecated\.php /src/wp-admin/includes/ms-deprecated\.php /src/wp-includes/atomlib\.php /src/wp-includes/class-IXR\.php /src/wp-includes/class-json\.php /src/wp-includes/class-phpass\.php /src/wp-includes/class-pop3\.php /src/wp-includes/class-requests\.php /src/wp-includes/class-simplepie\.php /src/wp-includes/class-snoopy\.php /src/wp-includes/class-wp-block-parser\.php /src/wp-includes/deprecated\.php /src/wp-includes/ms-deprecated\.php /src/wp-includes/pluggable-deprecated\.php /src/wp-includes/rss\.php /src/wp-includes/assets/* /src/wp-includes/blocks/* /src/wp-includes/ID3/* /src/wp-includes/IXR/* /src/wp-includes/js/* /src/wp-includes/PHPMailer/* /src/wp-includes/random_compat/* /src/wp-includes/Requests/* /src/wp-includes/SimplePie/* /src/wp-includes/sodium_compat/* /src/wp-includes/Text/* /tests/phpunit/includes/phpunit7/MockObject/* /tests/phpunit/includes/speed-trap-listener\.php /tests/phpunit/build* /tests/phpunit/data/* /tools/* /src/wp-content/advanced-cache\.php /src/wp-content/blog-deleted\.php /src/wp-content/blog-inactive\.php /src/wp-content/blog-suspended\.php /src/wp-content/db-error\.php /src/wp-content/db\.php /src/wp-content/fatal-error-handler\.php /src/wp-content/install\.php /src/wp-content/maintenance\.php /src/wp-content/object-cache\.php /src/wp-content/php-error\.php /src/wp-content/sunrise\.php /src/wp-content/mu-plugins/* /src/wp-content/plugins/* /src/wp-content/themes/(?!twenty)* /src/wp-includes/wp-db\.php /tests/phpunit/tests/db/charset\.php /tests/phpunit/tests/db\.php /tests/phpunit/tests/db\.php /tests/phpunit/tests/db\.php /tests/phpunit/tests/admin/includesSchema\.php /tests/phpunit/tests/multisite/site\.php /src/wp-includes/l10n\.php /tests/phpunit/tests/l10n\.php /tests/phpunit/tests/l10n/loadTextdomainJustInTime\.php /tests/* /wp-config\.php /wp-config-sample\.php /wp-tests-config\.php /wp-tests-config-sample\.php /wp-config\.php /wp-config-sample\.php /src/wp-includes/template\.php /src/_index\.php /src/wp-admin/_index\.php /src/wp-content/themes/twentythirteen/taxonomy-post_format\.php /src/wp-content/themes/twentyfourteen/taxonomy-post_format\.php warning warning warning * /tests/phpunit/tests/* /tests/phpunit/tests/* /src/wp-admin/includes/class-wp-filesystem-ftpsockets\.php /src/wp-includes/class-wp-oembed\.php /src/wp-includes/class-wp-oembed-controller\.php /src/wp-includes/class-wp-xmlrpc-server\.php /src/wp-includes/class-wp-text-diff-renderer-inline\.php /src/wp-admin/includes/class-wp-list-table-compat\.php /src/wp-includes/class-wp-editor\.php /src/wp-includes/class-wp-xmlrpc-server\.php /src/wp-includes/wp-db\.php /src/wp-includes/class-wp-dependency\.php /src/wp-admin/includes/class-wp-list-table-compat\.php /src/wp-includes/class-wp-dependency\.php /src/wp-includes/class-wp-editor\.php /src/wp-content/themes/twentyeleven/inc/widgets\.php /src/wp-content/themes/twentyfourteen/inc/widgets\.php /src/wp-content/themes/twentyfourteen/inc/featured-content\.php ================================================ FILE: scss/_bootstrap.scss ================================================ // Credit: https://github.com/twbs/bootstrap // URL: https://getbootstrap.com // License: MIT // Thanks for Bootstrap team. I picked up some useful functions for needed. // Breakpoint viewport sizes and media queries. // // Breakpoints are defined as a map of (name: minimum width), order from small to large: // // (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px) // // The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default. // Name of the next breakpoint, or null for the last breakpoint. // // >> breakpoint-next(sm) // md // >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)) // md // >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl)) // md // // // $grid-breakpoints: ( // xs: 0, // mx: 360px, // sm: 576px, // md: 768px, // lg: 992px, // xl: 1200px // ) !default; // @function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) { $n: index($breakpoint-names, $name); @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null); } // Minimum breakpoint width. Null for the smallest (first) breakpoint. // // >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)) // 576px @function breakpoint-min($name, $breakpoints: $grid-breakpoints) { $min: map-get($breakpoints, $name); @return if($min != 0, $min, null); } // Maximum breakpoint width. Null for the largest (last) breakpoint. // The maximum value is calculated as the minimum of the next one less 0.02px // to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths. // See https://www.w3.org/TR/mediaqueries-4/#mq-min-max // Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari. // See https://bugs.webkit.org/show_bug.cgi?id=178261 // // >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)) // 767.98px @function breakpoint-max($name, $breakpoints: $grid-breakpoints) { $next: breakpoint-next($name, $breakpoints); @return if($next, breakpoint-min($next, $breakpoints) - .02px, null); } // Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront. // Useful for making responsive utilities. // // >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)) // "" (Returns a blank string) // >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)) // "-sm" @function breakpoint-infix($name, $breakpoints: $grid-breakpoints) { @return if(breakpoint-min($name, $breakpoints) == null, "", "-#{$name}"); } // Media of at least the minimum breakpoint width. No query for the smallest breakpoint. // Makes the @content apply to the given breakpoint and wider. @mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) { $min: breakpoint-min($name, $breakpoints); @if $min { @media (min-width: $min) { @content; } } @else { @content; } } // Media of at most the maximum breakpoint width. No query for the largest breakpoint. // Makes the @content apply to the given breakpoint and narrower. @mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) { $max: breakpoint-max($name, $breakpoints); @if $max { @media (max-width: $max) { @content; } } @else { @content; } } // Media that spans multiple breakpoint widths. // Makes the @content apply between the min and max breakpoints @mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) { $min: breakpoint-min($lower, $breakpoints); $max: breakpoint-max($upper, $breakpoints); @if $min != null and $max != null { @media (min-width: $min) and (max-width: $max) { @content; } } @else if $max == null { @include media-breakpoint-up($lower, $breakpoints) { @content; } } @else if $min == null { @include media-breakpoint-down($upper, $breakpoints) { @content; } } } // Media between the breakpoint's minimum and maximum widths. // No minimum for the smallest breakpoint, and no maximum for the largest one. // Makes the @content apply only to the given breakpoint, not viewports any wider or narrower. @mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) { $min: breakpoint-min($name, $breakpoints); $max: breakpoint-max($name, $breakpoints); @if $min != null and $max != null { @media (min-width: $min) and (max-width: $max) { @content; } } @else if $max == null { @include media-breakpoint-up($name, $breakpoints) { @content; } } @else if $min == null { @include media-breakpoint-down($name, $breakpoints) { @content; } } } @mixin clearfix() { &::after { display: block; clear: both; content: ""; } } // Retrieve color Sass maps @function color($key: "blue") { @return map-get($colors, $key); } @function theme-color($key: "primary") { @return map-get($theme-colors, $key); } @function gray($key: "100") { @return map-get($grays, $key); } ================================================ FILE: scss/_breadcrumb.scss ================================================ .breadcrumb { font-size: 0.813rem !important; border-radius: 0 !important; ul, li { margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; } li:last-child { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; @include media-breakpoint-down(sm) { width: 50%; } } i { color: #333333; } } .data-schema { .breadcrumb { margin-bottom: 0 !important; } } ================================================ FILE: scss/_buttons.scss ================================================ .btn-counter { display: inline-block; .btn { float: left; color: #24292e; position: relative; display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap; vertical-align: middle; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid rgba(27,31,35,0.2); border-radius: 0.25em; border-top-right-radius: 0; border-bottom-right-radius: 0; background-color: #eff3f6; background-image: linear-gradient(-180deg, #fafbfc 0%, #eff3f6 90%); background-repeat: repeat-x; background-position: -1px -1px; background-size: 110% 110%; -webkit-appearance: none; -moz-appearance: none; appearance: none; } &.active { .btn { background-image: linear-gradient(-180deg, #dddddd 0%, #ffffff 90%); } } &.text-only .btn { border-top-right-radius: 0.25em; border-bottom-right-radius: 0.25em; } .count-box { float: left; padding: 3px 10px; font-size: 12px; font-weight: 600; line-height: 20px; color: #24292e; vertical-align: middle; background-color: #fff; border: 1px solid rgba(27,31,35,0.2); border-left: 0; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } } .btn-group { display: inline-block; font-size: 0; .btn-counter { .btn { border-radius: 0; } &:first-child .btn { border-top-left-radius: 0.25em; border-bottom-left-radius: 0.25em; } &:last-child .btn { border-left-width: 0 !important; border-top-right-radius: 0.25em; border-bottom-right-radius: 0.25em; } } } .post-mynote-buttons { overflow: hidden; font-size: 0; display: flex; a, a:hover { text-decoration: none !important; } > div, > a { margin-left: 5px !important; } .github-button-container { display: inline-block; margin-left: 5px; a { display: none; } } } .btn-green { background-color: #28a745; background-image: linear-gradient(-180deg, #34d058 0%, #28a745 90%); border-color: rgba(27,31,35,0.5); color: #ffffff; } a { &.btn, &.button-like-link { text-decoration: none !important; } &.btn-xs { padding: .125rem .25rem; font-size: .675rem; line-height: 1.2; border-radius: .2rem; } &.btn-info { color: #17a2b8; } } ================================================ FILE: scss/_comment.scss ================================================ /* Comment */ .discussion-timeline { margin-top: 20px; padding-top: 2px; border-top: 1px solid #e6ebf1; } .comment-wrapper { position: relative; padding-left: 60px; margin-top: 15px; margin-bottom: 15px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; .comment-avatar { float: left; margin-left: -60px; border-radius: 3px; .avatar { display: inline-block; overflow: hidden; line-height: 1; vertical-align: middle; border-radius: 3px; } } .comment-container { position: relative; background-color: #fff; border: 1px solid #d1d5da; border-radius: 3px; } .comment-header { padding-right: 15px; padding-left: 15px; color: #586069; border-top-left-radius: 3px; border-top-right-radius: 3px; .comment-header-text { padding: 10px 0; max-width: 75%; } .comment-label { float: right; padding: 2px 5px; margin: 8px 0 0 10px; font-size: 12px; cursor: default; border: 1px solid rgba(27, 31, 35, 0.1); border-radius: 3px; } .comment-header-btn { display: block; float: right; margin: 8px 0 0 10px; a { font-size: 14px; padding: 5px; color: rgba(27, 31, 35, 0.3) !important; } } } cite { &.author { color: #c43d3d; a { color: #c43d3d !important; } } &.reader { color: #586069; a { color: #586069 !important; } } } .comment-link { color: #586069 !important; } .comment-body { width: 100%; padding: 15px; overflow: visible; } } .even { .comment-header { background-color: #f1f8ff; border-bottom: 1px solid #c0d3eb; } } .odd { .comment-header { background-color: #f6f8fa; border-bottom: 1px solid #d1d5da; } } .comment-reply-title { margin: 10px 0; } ================================================ FILE: scss/_footer.scss ================================================ .footer { margin: 40px 0 20px 0; .footer-columns { font-weight: 400; font-size: 13px; text-align: left; display: flex; justify-content: space-between; a, strong { font-weight: normal; color: #333333; } } .footer-nav { text-align: center; font-size: 14px; display: inline-block; ul.footer-menu { padding: 0; margin: 0; display: inline-flex; list-style-type: none; li { margin: 0; &:after { content: "|"; color: #aaaaaa; margin: 0 10px; font-size: 13px; } &:last-child { &:after { display: none; } } } a { font-size: 13px; } } ul.social-icon-links { padding: 0; margin: 0; display: inline-flex; list-style-type: none; li { margin: 5px 10px; } a { color: #333333; } } } @include media-breakpoint-down(sm) { .footer-columns { display: block; } .footer-nav { display: block; ul.footer-menu { display: block; margin: 15px 0; li { a { border: 1px #dddddd solid; display: block; padding: 5px 10px; margin: 5px 0; border-radius: 4px; text-decoration: none; &:hover { border: 1px #222222 solid; background-color: #333333; color: #ffffff; } } &:after { content: ""; display: none; } } } ul.social-icon-links { display: block; list-style-type: none; li { display: inline-block; } } } } .brand-link { &:hover { background-color: #f1f1f1; color: #111111; } } } .home { .footer { border-top: 0; } } ================================================ FILE: scss/_functions.scss ================================================ // Base functions to get safe web font @function get-base-font($key: "en") { @return map-get($font-family-base, $key); } @function get-title-font($key: "en") { @return map-get($font-family-title, $key); } @function get-heading-font($key: "en") { @return map-get($font-family-heading, $key); } // Metal // Designer: Simurai // Credit: http://simurai.com // Source: https://codepen.io/simurai/pen/DwJdq // Simply modify it for my need. @mixin metal() { text-shadow: hsla(0,0%,40%,.5) 0 -1px 0, hsla(0,0%,100%,.6) 0 2px 1px; background-image: -webkit-repeating-linear-gradient(left, hsla(0, 0%, 100%, 0) 0%, hsla(0, 0%, 100%, 0) 6%, hsla(0, 0%, 100%, .1) 7.5%), -webkit-repeating-linear-gradient(left, hsla(0, 0%, 0%, 0) 0%, hsla(0, 0%, 0%, 0) 4%, hsla(0, 0%, 0%, .03) 4.5%), -webkit-repeating-linear-gradient(left, hsla(0, 0%, 100%, 0) 0%, hsla(0, 0%, 100%, 0) 1.2%, hsla(0, 0%, 100%, .15) 2.2%), linear-gradient(180deg, hsl(0, 0%, 78%) 0%, hsl(0, 0%, 90%) 47%, hsl(0, 0%, 78%) 53%, hsl(0, 0%, 70%)100%); color: hsla(0,0%,20%,1); box-shadow: inset hsla(0,0%,15%, .2) 0 0px 0px 1px, /* border */ inset hsla(0,0%,15%, .2) 0 -1px 1px 1px, /* soft SD */ inset hsla(0,0%,0%, .25) 0 -1px 0px 2px, /* bottom SD */ inset hsla(0,0%,100%,.7) 0 1px 0px 2px, /* top HL */ hsla(0,0%, 0%,.15) 0 -1px 1px 1px, /* outer SD */ hsla(0,0%,100%,.5) 0 1px 1px 1px; /* outer HL */ } ================================================ FILE: scss/_header.scss ================================================ .header { background-color: $header_navbar_bg; color: #c8c9ca; position: relative; z-index: 2; .container { min-height: 60px; } .logo-img { height: 32px; } .navbar-brand { padding: 0; } .navbar { min-height: 60px; padding: 10px !important; .home-link { text-decoration: none; color: #f1f1f1; margin-right: 20px; &:hover { color: #ffffff !important; } } } &.fixed-top { .container { justify-content: flex-start; } } .search-bar { width: 300px; min-height: 30px; color: #fff; background-color: rgba(255,255,255,0.125); border: 0; position: relative; box-shadow: none; margin-right: 10px; .search-input { color: #ccc; display: table-cell; width: calc(100% - 30px); min-height: 30px; padding: 0 10px; background: none; border: 0; box-shadow: none; &:focus { background-color: rgba(255,255,255,0.06); color: #f1f1f1; outline: none; } } .search-icon { width: 30px; min-height: 24px; line-height: 24px; position: absolute; right: 0; top: 3px; display: table-cell; text-align: center; cursor: pointer; font-size: 13px; color: rgba(255,255,255,0.2); padding: 0; background: none; border: 0; border-left: 1px rgba(0, 0, 0, 0.3) solid; box-shadow: none; } } .navbar-nav { & > li > a { color: rgba(255, 255, 255, 0.75) !important; &:hover { color: rgba(255, 255, 255, 1) !important; } } /* The dropdown menu */ .dropdown-toggle { &::after { display: inline-block; width: 0; height: 0; margin-left: .4em !important; vertical-align: middle !important; content: ""; border-top: .3em solid; border-right: .3em solid transparent; border-bottom: 0; border-left: .3em solid transparent; } } .dropdown-menu { min-width: 10rem; padding: .5rem 0; margin: 6px 0 0; font-size: 1rem; color: #212529; text-align: left; list-style: none; background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0,0,0,.15); border-radius: 0; box-shadow: 0 8px 6px -6px rgba(0,0,0,.15); @include media-breakpoint-up(lg) { &::before { border-bottom: 9px solid rgba(0, 0, 0, 0.2); border-left: 9px solid rgba(0, 0, 0, 0); border-right: 9px solid rgba(0, 0, 0, 0); content: ""; display: inline-block; left: 25px; position: absolute; top: -8px; } &::after { border-bottom: 8px solid #FFFFFF; border-left: 9px solid rgba(0, 0, 0, 0); border-right: 9px solid rgba(0, 0, 0, 0); content: ""; display: inline-block; left: 25px; position: absolute; top: -7px; } } } .dropdown-item { font-weight: 600; } } /* Default wordpress menu */ .menu-item a { display: block; padding: .5rem 0; } } .has-site-logo { .navbar-brand { margin-bottom: -10px; margin-top: -10px; } .header { .logo-img { height: 60px; } } } .wrapper { position: relative; } .menu-is-collapsed { header.header { width: 100%; position: absolute; top: 0; z-index: 9999; } .wrapper { padding-top: 60px; } } ================================================ FILE: scss/_home.scss ================================================ .section-intro { width: 100%; min-height: $home_intro_box_height; background-color: $home_intro_bg; color: $home-intro-font-color; overflow: hidden; a { color: $white !important; cursor: pointer; } .desc-text { color: gray("500"); } } /* .menu-is-collapsed { .header { -webkit-transition: background-color 0.5s; -moz-transition: background-color 0.5s; -o-transition: background-color 0.5s; transition: background-color 0.5s } } */ .main-header { position: relative; top: -60px; .section-intro { position: relative; @include media-breakpoint-down(sm) { width: 100%; min-height: 100vh; padding: 80px 0; background-position: 40% center; background-size: cover; } .scroll-area { position: absolute; bottom: 35px; margin-left: -25px; left: 50%; width: 50px; height: 50px; opacity: .9; overflow: hidden; display: none; a { width: 50px; height: 50px; text-align: center; display: inline-block; font-weight: normal; font-size: 25px; line-height: 44px; color: #ffffff; border-radius: 50%; border: 3px #ffffff solid; } } } &.has-custom-header { .desc-text { color: gray("300"); padding: 15px 45px; background-color: rgba(0, 0, 0, 0.2); border-top-left-radius: 1.5em; border-bottom-right-radius: 3em; font-style: italic; } } } @include media-breakpoint-down(sm) { .admin-bar { .main-header { .section-intro { min-height: calc(100vh - 46px); padding: 60px 0; } } } .scroll-area { display: inline-block !important; } } .article-list { color: #666666; min-height: 250px; overflow: hidden; a { color: #333333; &:hover { color: #0366dd; } } .read-more-link { color: #0366dd; } } ================================================ FILE: scss/_labels.scss ================================================ .label { padding: .125rem .25rem; line-height: 1.2; border-radius: .2rem; border: 1px solid transparent; &.label-success, &.label-cat { color: #155724; background-color: #d4edda; border-color: #c3e6cb; } &.label-warning, &.label-tag { color: #856404; background-color: #fff3cd; border-color: #ffeeba; } &.label-primary { color: #004085; background-color: #cce5ff; border-color: #b8daff; } &.label-secondary { color: #383d41; background-color: #e2e3e5; border-color: #d6d8db; } &.label-danger { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; } &.label-light { color: #818182; background-color: #fefefe; border-color: #fdfdfe; } &.label-dark { color: #1b1e21; background-color: #d6d8d9; border-color: #c6c8ca; } } .x-label { padding: .25rem .5rem; line-height: 1.5; border-radius: .3rem; border: 1px solid transparent; margin: 5px; word-break: keep-all !important; display: inline-block; } $i: 0; @each $color-name, $color-code in $colors { .x-label-#{$i} { color: $white !important; border-top-color: lighten($color-code, 10%) !important; border-bottom-color: darken($color-code, 10%) !important; background-color: $color-code !important; } $i: $i+1; } ================================================ FILE: scss/_main.scss ================================================ /* Single - Post */ .single-post-header { background-color: #fafbfc; background: none; padding: 20px 0px; margin-bottom: 20px; border-bottom: 0px solid #e1e4e8; h1 { font-size: 32px; margin-bottom: 0; font-weight: 400; line-height: 1.125; word-wrap: break-word; } .post-mynote-buttons { float: right; margin-top: 5px; } .author-link { font-weight: bold; color: #586069 !important; } .post-meta { padding: 5px; font-size: 14px; .poster-avatar { margin-right: 5px; } } } .page { /* Hide post meta in Page */ .post-meta { visibility: hidden; } } article { figcaption { color: gray("600"); margin: 0.25rem 0 1rem; text-align: center; font-style: italic; } } /* Category page. */ .category-header { background-color: #fafbfc; padding: 20px 0px; margin-bottom: 20px; border-bottom: 1px solid #e1e4e8; h1 { font-size: 2rem; margin-bottom: 0; font-weight: 400; line-height: 48px; word-wrap: break-word; &:before { font-family: 'Font Awesome 5 Free'; border: 0px #dddddd solid; border-radius: 5px; width: 48px; height: 48px; padding-left: 6px; display: inline-block; vertical-align: middle; position: relative; top: -3px; overflow: hidden; text-align: center; margin-right: 10px; line-height: 48px; font-size: 1.6rem; font-weight: 600; padding-right: 5px; @include metal(); } &.category:before { content: '\f0c6'; } &.archive:before { content: '\f1c6'; } &.tag:before { content: '\f02c'; } &.git:before { content: '\f1d3'; } &.search:before { content: '\f002'; } &.user:before { content: '\f007'; } &.error-404:before { content: '\f071'; } .badge { font-size: 0.81rem; } } .term-desctiotion { font-size: 0.81rem !important; } } /* Single - Post - A part of page title progress bar */ .single-post-title-bar { background-color: #24292e; color: #c8c9ca; font-weight: 600; display: none; transform: translateY(-60px); -webkit-transform: translateY(-60px); transform-origin: top; transition: .5s ease; &.fixed-top { z-index: 100001; } .container { justify-content: flex-start; } @include media-breakpoint-down(md) { .container { padding: 0; } } &.slide-down { transform: translateY(0); -webkit-transform: translateY(0); } .logo-img { height: 32px; } .navbar-brand { padding: 0; } .navbar { min-height: 60px; padding: 10px !important; } } /* Button - go to top. */ .go-top { display: inline-block; font-size: 16px; color: #fff; background: rgba(0, 0, 0, 0.5); position: fixed; right: 15px; bottom: 15px; margin: 0px; z-index: 1000; width: 35px; height: 35px; line-height: 35px; border-radius: 5px; text-align: center; &:hover { color: #ffffff; } i { position: relative; } } /* Tags */ .tags { margin: 15px 0; text-align: right; overflow: hidden; a { padding: 2px 5px; margin: 5px; text-decoration: none; font-size: 0.9rem; color: #24292e; border-radius: 3px; word-break: keep-all; display: inline-block; &:hover { background-image: linear-gradient(-180deg, #dddddd 0%, #ffffff 90%); } &:before { font-family: 'Font Awesome 5 Free'; content: "\f02b"; font-size: 13px; font-weight: 900; padding-right: 5px; color: #aaaaaa; } } } .modified-date { margin: 40px !important; text-align: center; font-size: 0.85rem; font-style: italic; } /* Pagination */ .pagination-container { margin: 20px auto !important; } /* Read more fade out effect */ .card-text-fade-out { height: 180px; max-height: 180px; position: relative !important; overflow: hidden; .effect-layer { position: absolute; content: ' '; bottom: 0; left: 0; width: 100%; height: 80px; overflow: hidden; display: block; text-align: center; z-index: 2; margin: 0; padding: 0 0 20px 0; background-image: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .5), rgba(255, 255, 255, .9), white); } } .card-body-footer { margin-top: 15px; } /* Background image fit the center */ .bg-cover { background-size: cover; background-repeat: no-repeat; background-position: center center; } ================================================ FILE: scss/_markdown-theme-github.scss ================================================ @font-face { font-family: octicons-link; src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff'); } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; line-height: 1.5; color: #24292e; font-size: 1rem; line-height: 1.5; word-wrap: break-word; > h1:first-child { display: none; } .pl-c { color: #6a737d; } .pl-c1, .pl-s .pl-v { color: #005cc5; } .pl-e, .pl-en { color: #6f42c1; } .pl-smi, .pl-s .pl-s1 { color: #24292e; } .pl-ent { color: #22863a; } .pl-k { color: #d73a49; } .pl-s, .pl-pds, .pl-s .pl-pse .pl-s1 { color: #032f62; } .pl-sr { color: #032f62; .pl-cce, .pl-sre, .pl-sra { color: #032f62; } } .pl-v, .pl-smw { color: #e36209; } .pl-bu { color: #b31d28; } .pl-ii { color: #fafbfc; background-color: #b31d28; } .pl-c2 { color: #fafbfc; background-color: #d73a49; &::before { content: "^M"; } } .pl-sr .pl-cce { font-weight: bold; color: #22863a; } .pl-ml { color: #735c0f; } .pl-mh { font-weight: bold; color: #005cc5; .pl-en { font-weight: bold; color: #005cc5; } } .pl-ms { font-weight: bold; color: #005cc5; } .pl-mi { font-style: italic; color: #24292e; } .pl-mb { font-weight: bold; color: #24292e; } .pl-md { color: #b31d28; background-color: #ffeef0; } .pl-mi1 { color: #22863a; background-color: #f0fff4; } .pl-mc { color: #e36209; background-color: #ffebda; } .pl-mi2 { color: #f6f8fa; background-color: #005cc5; } .pl-mdr { font-weight: bold; color: #6f42c1; } .pl-ba { color: #586069; } .pl-sg { color: #959da5; } .pl-corl { text-decoration: underline; color: #032f62; } .octicon { display: inline-block; vertical-align: text-top; fill: currentColor; } a { background-color: transparent; &:active, &:hover { outline-width: 0; } } strong { font-weight: inherit; font-weight: bolder; } h1 { font-size: 2em; margin: 0.67em 0; } img { border-style: none; } kbd { font-family: monospace; } hr { box-sizing: content-box; height: 0; overflow: visible; } input { font: inherit; margin: 0; overflow: visible; } [type="checkbox"] { box-sizing: border-box; padding: 0; } * { box-sizing: border-box; } input { font-family: inherit; font-size: inherit; line-height: inherit; } a { color: #0366d6; text-decoration: none; &:hover { text-decoration: underline; } } strong { font-weight: 600; } hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #dfe2e5; &::before { display: table; content: ""; } &::after { display: table; clear: both; content: ""; } } table { border-spacing: 0; border-collapse: collapse; } td, th { padding: 0; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0; } h1 { font-size: 32px; font-weight: 600; } h2 { font-size: 24px; font-weight: 600; } h3 { font-size: 20px; font-weight: 600; } h4 { font-size: 16px; font-weight: 600; } h5 { font-size: 14px; font-weight: 600; } h6 { font-size: 12px; font-weight: 600; } p { margin-top: 0; margin-bottom: 10px; } blockquote { margin: 0; } ul { padding-left: 0; margin-top: 0; margin-bottom: 0; } ol { padding-left: 0; margin-top: 0; margin-bottom: 0; ol { list-style-type: lower-roman; } } ul { ol { list-style-type: lower-roman; } ul ol, ol ol { list-style-type: lower-alpha; } } ol { ul ol, ol ol { list-style-type: lower-alpha; } } dd { margin-left: 0; } .octicon { vertical-align: text-bottom; } .pl-0 { padding-left: 0 !important; } .pl-1 { padding-left: 4px !important; } .pl-2 { padding-left: 8px !important; } .pl-3 { padding-left: 16px !important; } .pl-4 { padding-left: 24px !important; } .pl-5 { padding-left: 32px !important; } .pl-6 { padding-left: 40px !important; } &::before { display: table; content: ""; } &::after { display: table; clear: both; content: ""; } > * { &:first-child { margin-top: 0 !important; } &:last-child { margin-bottom: 0 !important; } } a:not([href]) { color: inherit; text-decoration: none; } .anchor { float: left; padding-right: 4px; margin-left: -20px; line-height: 1; &:focus { outline: none; } } p, blockquote, ul, ol, dl, table, pre { margin-top: 0; margin-bottom: 16px; } hr { height: 0.25em; padding: 0; margin: 24px 0; background-color: #e1e4e8; border: 0; } blockquote { padding: 0 1em; color: #6a737d; border-left: 0.25em solid #dfe2e5; > { :first-child { margin-top: 0; } :last-child { margin-bottom: 0; } } } kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #444d56; vertical-align: middle; background-color: #fafbfc; border: solid 1px #c6cbd1; border-bottom-color: #959da5; border-radius: 3px; box-shadow: inset 0 -1px 0 #959da5; } h1, h2, h3, h4, h5, h6 { margin-top: 24px; margin-bottom: 16px; font-weight: 600; line-height: 1.25; } h1 .octicon-link, h2 .octicon-link, h3 .octicon-link, h4 .octicon-link, h5 .octicon-link, h6 .octicon-link { color: #1b1f23; vertical-align: middle; visibility: hidden; } h1:hover .anchor, h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor { text-decoration: none; } h1:hover .anchor .octicon-link, h2:hover .anchor .octicon-link, h3:hover .anchor .octicon-link, h4:hover .anchor .octicon-link, h5:hover .anchor .octicon-link, h6:hover .anchor .octicon-link { visibility: visible; } h1 { padding-bottom: 0.3em; font-size: 2em; border-bottom: 1px solid #eaecef; } h2 { padding-bottom: 0.3em; font-size: 1.5em; border-bottom: 1px solid #eaecef; } h3 { font-size: 1.25em; } h4 { font-size: 1em; } h5 { font-size: 0.875em; } h6 { font-size: 0.85em; color: #6a737d; } ul, ol { padding-left: 2em; } ul { ul, ol { margin-top: 0; margin-bottom: 0; } } ol { ol, ul { margin-top: 0; margin-bottom: 0; } } li { word-wrap: break-all; > p { margin-top: 16px; } + li { margin-top: 0.25em; } } dl { padding: 0; dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: 600; } dd { padding: 0 16px; margin-bottom: 16px; } } table { display: block; width: 100%; overflow: auto; th { font-weight: 600; padding: 6px 13px; border: 1px solid #dfe2e5; } td { padding: 6px 13px; border: 1px solid #dfe2e5; } tr { background-color: #fff; border-top: 1px solid #c6cbd1; &:nth-child(2n) { background-color: #f6f8fa; } } } img { max-width: 100%; box-sizing: content-box; background-color: #fff; &[align=right] { padding-left: 20px; } &[align=left] { padding-right: 20px; } } .full-commit .btn-outline:not(:disabled):hover { color: #005cc5; border-color: #005cc5; } kbd { display: inline-block; padding: 3px 5px; font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #444d56; vertical-align: middle; background-color: #fafbfc; border: solid 1px #d1d5da; border-bottom-color: #c6cbd1; border-radius: 3px; box-shadow: inset 0 -1px 0 #c6cbd1; } :checked + .radio-label { position: relative; z-index: 1; border-color: #0366d6; } .task-list-item { list-style-type: none; + .task-list-item { margin-top: 3px; } input { margin: 0 0.2em 0.25em -1.6em; vertical-align: middle; } } hr { border-bottom-color: #eee; } } code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } pre { margin-top: 0; margin-bottom: 0; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } code { padding: 0.2em 0.4em; font-size: 85%; background-color: rgba(27, 31, 35, 0.05); border-radius: 3px; color: #333; } pre { word-wrap: normal; > code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; border: 0; background: transparent; } } pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; code { display: inline; padding: 0; margin: 0; overflow: visible; line-height: inherit; word-wrap: normal; border: 0; } } ================================================ FILE: scss/_misc.scss ================================================ ::selection { background:#04A4CC; color:#FFF; text-shadow:none; } ::-webkit-selection { background:#04A4CC; color:#FFF; text-shadow:none; } ::-moz-selection { background:#04A4CC; color:#FFF; text-shadow:none; } ================================================ FILE: scss/_page-progress.scss ================================================ $progress-bar-height: 4px; $progress-bar-color: rgba(214, 168, 168, 0.1); $progress-bar-value-color: dodgerblue; .progress-wrapper { position: relative; progress { appearance: none; position: absolute; width: 100%; height: $progress-bar-height; background-color: $progress-bar-color; border: none; &::-moz-progress-bar { background-color: $progress-bar-value-color; } &::-webkit-progress-bar { background-color: $progress-bar-color; } &::-webkit-progress-value { background-color: $progress-bar-value-color; } &::-ms-fill { background-color: $progress-bar-value-color; } } .progress-label { position: absolute; right: 0; bottom: 0; font-size: 14px; color: rgba(255, 255, 255, 0.6); } } #progress-title { width: 100%; display: inline-block; text-overflow: ellipsis; white-space: nowrap; word-break: keep-all !important; overflow: hidden; line-height: 40px; } .has-site-icon { #progress-title { width: calc(100% - 50px); } } ================================================ FILE: scss/_responsive.scss ================================================ /* > 1200px */ @include media-breakpoint-up(xl) { .section-intro { background-image: url("./assets/images/bg_circuit.png"); } } /* > 1200px */ @include media-breakpoint-up(xxl) { .section-intro { &[style] { background-size: cover; background-position: center center; } } } /* < 1200px */ @include media-breakpoint-down(lg) { .px-responsive { padding-left: 25px !important; padding-right: 25px !important; } } /* > 992px */ @include media-breakpoint-up(lg) { .navbar-expand-lg .navbar-nav .menu-item a { padding-right: .5rem; padding-left: .5rem; } } /* 992px - 1199.98px */ @include media-breakpoint-between(lg, lg) { .section-intro { background-image: url("./assets/images/bg_circuit_xl.png"); h1 { font-size: 4.2rem; } .desc-text { font-size: 1.5rem; } } } /* < 992px */ @include media-breakpoint-down(md) { .px-responsive { padding-left: 10px !important; padding-right: 10px !important; } .container { width: calc(100% - 20px); max-width: calc(100% - 20px); } nav.breadcrumb { padding-left: 0; padding-right: 0; ul { padding-left: 0; padding-right: 0; } } .header { .container { min-height: 60px; max-width: 100%; width: 100%; } .navbar-brand { position: absolute; top: 14px; left: 0; } .search-bar { width: calc(100% - 86px); position: absolute; top: 15px; right: 76px; } .navbar-toggler { position: absolute; top: 10px; right: 10px; } .navbar-collapse { margin-top: 50px; overflow: hidden; } @include clearfix(); } .has-site-icon { .search-bar { width: calc(100% - 135px) !important; position: absolute; top: 15px; right: 76px; } } .has-site-logo { .navbar-brand { position: absolute; top: 0; left: 0; margin-bottom: 0px; margin-top: 0px; } .search-bar { width: calc(100% - 280px) !important; position: absolute !important; top: 15px; right: 76px; } } } /* 768px - 991.98px */ @include media-breakpoint-between(md, md) { .section-intro { background-image: url("./assets/images/bg_circuit_lg.png"); h1 { font-size: 4.0rem; } .desc-text { font-size: 1.4rem; } } } /* < 768px */ @include media-breakpoint-down(sm) { .px-responsive { padding-left: 15px !important; padding-right: 15px !important; } .widget { margin: 15px 0; } .navbar-nav { .dropdown-menu { &::after { display: none !important; } &::before { display: none !important; } } } .column-control { display: none; } } /* 576px - 767.98px */ @include media-breakpoint-between(sm, sm) { .section-intro { background-image: url("./assets/images/bg_circuit_md.png"); h1 { font-size: 3.2rem; } .desc-text { font-size: 1.3rem; } } } /* < 576px */ @include media-breakpoint-down(mx) { .px-responsive { padding-left: 10px !important; padding-right: 10px !important; } .author-card { display: block !important; .author-avatar { text-align: center; } .author-info { padding-top: 0; } } .has-site-logo { .header { .search-bar { width: 100% !important; position: absolute; margin: 0 !important; top: 60px; right: 0; } } } .p-5 { padding: 0 !important; } } /* 360px - 575.98px */ @include media-breakpoint-between(mx, mx) { .section-intro { background-image: url("./assets/images/bg_circuit_sm.png"); h1 { margin-top: 20px; font-size: 2.8rem; } .desc-text { font-size: 1.1rem; } } } /* < 360px */ @include media-breakpoint-down(xs) { .section-intro { background-image: url("./assets/images/bg_circuit_mx.png"); h1 { margin-top: 30px; font-size: 2rem; } .desc-text { font-size: 0.95rem; } } } ================================================ FILE: scss/_shortcode.scss ================================================ /* Shortcode */ .brand-link { text-align: center; border: 1px #dddddd solid; border-radius: 50%; display: inline-block; @each $color-name, $color-code in $brand-colors { &.brand-#{$color-name} { border-top-color: lighten($color-code, 10%) !important; border-left-color: lighten($color-code, 10%) !important; border-right-color: darken($color-code, 10%) !important; border-bottom-color: darken($color-code, 10%) !important; color: $color-code !important; } } } .brand-sm .brand-link { width: 32px; height: 32px; font-size: 1rem; line-height: 32px; } .brand-md .brand-link { width: 40px; height: 40px; font-size: 1.25rem; line-height: 40px; } .brand-lg .brand-link { width: 48px; height: 48px; font-size: 1.5rem; line-height: 48px; } .brand-xl .brand-link { width: 64px; height: 64px; font-size: 1.8rem; line-height: 64px; } /* Author page */ .author-page { .brand-link { border: 0px; } .brand-sm .brand-link { width: 16px; height: 16px; line-height: 16px; } .brand-md .brand-link { width: 22px; height: 22px; line-height: 22px; } .brand-lg .brand-link { width: 28px; height: 28px; line-height: 28px; } .brand-xl .brand-link { width: 34px; height: 34px; line-height: 34px; } } ================================================ FILE: scss/_sticky-top.scss ================================================ .sticky-top { position: -webkit-sticky; position: sticky; z-index: 1020; &.sidebar { top: 90px !important; } &.title { top: 5px !important; } &.column-switch { top: 0px !important; z-index: 1030; color: #aaaaaa; height: 60px; .btn { font-size: 0.9rem; margin: 5px; &.active { color: #ffffff; } } } } ================================================ FILE: scss/_table-of-content.scss ================================================ nav[data-toggle='toc'] .nav>li>a { display: block; padding: 4px 20px; font-size: $toc_base_font_size; font-weight: 500; color: #767676; } nav[data-toggle='toc'] .nav>li>a:hover, nav[data-toggle='toc'] .nav>li>a:focus { padding-left: 19px; color: $toc_main_color; text-decoration: none; background-color: transparent; border-left: 2px solid $toc_border_color; } nav[data-toggle='toc'] .nav-link.active, nav[data-toggle='toc'] .nav-link.active:hover, nav[data-toggle='toc'] .nav-link.active:focus { padding-left: 18px; font-weight: bold; color: $toc_main_color; background-color: transparent; border-left: 3px solid $toc_border_color; } /* Nav: second level (shown on .active) */ nav[data-toggle='toc'] .nav-link+ul { /* display: none; */ /* Hide by default, but at >768px, show it */ padding-bottom: 10px; } nav[data-toggle='toc'] .nav .nav>li>a { padding-top: 1px; padding-bottom: 1px; padding-left: 30px; font-size: $toc_sub_font_size; font-weight: normal; } nav[data-toggle='toc'] .nav .nav>li>a:hover, nav[data-toggle='toc'] .nav .nav>li>a:focus { padding-left: 27px; } nav[data-toggle='toc'] .nav .nav>li>.active, nav[data-toggle='toc'] .nav .nav>li>.active:hover, nav[data-toggle='toc'] .nav .nav>li>.active:focus { padding-left: 27px; font-weight: 500; } nav[data-toggle='toc'] .nav-link.active+ul { display: block; } ================================================ FILE: scss/_the-author-card.scss ================================================ .author-card { display: flex; border-left: 15px gray("200") solid; background-color: gray("100"); border-radius: 3px; margin: 20px 0; .author-info { display: flex; flex-direction: column; } .author-links { margin-top: 10px; a { margin: 5px; } a:first-child { margin-left: 0px; } } > div { padding: 25px; } > img { border: 1px gray("400") solid !important; } .author-title { font-size: 1.6rem; line-height: 150%; margin-bottom: 10px; font-weight: bold; } } /* Author page */ .author-page { .author-card { border: 0px; background: none; border-radius: 0px; margin: 0; .author-title { font-size: 2.5rem; line-height: 150%; margin-bottom: 10px; font-weight: bold; a { color: #333333; text-decoration: none; } } } .section-title { display: none; } } ================================================ FILE: scss/_typography.scss ================================================ /* Typography */ .header { font-weight: 600; .search-bar { font-size: inherit; .search-input { font-size: 13px; } } .navbar-nav { & > li > a { font-size: 14px; } } } /* Typography - Single post page */ #post-title { font-family: $font-family-title-en !important; font-size: 2.2rem; font-weight: 300; padding: 0.5rem 0; @include media-breakpoint-down(mx) { font-size: 1.7rem; } } /* Typography - Home page */ .section-intro { font-family: $font-family-title-en !important; font-weight: 300; a { font-weight: 400; } h1 { font-size: 4.5rem; font-weight: 300; @include media-breakpoint-down(sm) { font-size: 3.5rem; } } .desc-text { font-size: 1.6rem; } } /* Typography - Comment */ .comment-wrapper { cite { font-style: normal !important; font-weight: 600 !important; } .comment-body { font-size: 14px; } } article { figcaption { font-size: 0.85rem; } } .comment-notes { font-size: 12px; } .section-title { font-size: 18px; margin: 40px 0 10px 0; } /* Typography - Others */ .label { font-size: .675rem; } .x-label { font-size: 1rem; } .f-14 { font-size: 14px !important; } .c-light { color: #586069 !important; } /* Post list */ .author-posted-date { font-size: 13px; } /* Use the best fit font for different languages */ @each $lang-code in $supported-languages { :lang(#{$lang-code}) { body { font-family: get-base-font($lang-code); } h1, h2, h3, h4, h5, h6 { font-family: get-heading-font($lang-code); } .section-intro, #post-title, .site-info { font-family: get-title-font($lang-code); } } } ================================================ FILE: scss/_variables.scss ================================================ // Font settings $font-family-base-en: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif !default; $font-family-title-en: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif !default; $font-family-heading-en: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif !default; // Font settings - for Mandarin Chinese $font-family-base-zh: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "標楷體", "DFKai-SB" !default; $font-family-title-zh: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "標楷體", "DFKai-SB" !default; $font-family-heading-zh: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "標楷體", "DFKai-SB" !default; // Font settings - for Japenese $font-family-base-ja: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic" !default; $font-family-title-ja: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic" !default; $font-family-heading-ja: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic" !default; // Font settings - for Korean $font-family-base-ko: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim" !default; $font-family-title-ko: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim" !default; $font-family-heading-ko: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim" !default; $supported-languages: ( "en", "zh", "ja", "ko" ) !default; $font-family-base: () !default; $font-family-base: map-merge(( "en": $font-family-base-en, "zh": $font-family-base-zh, "ja": $font-family-base-ja, "ko": $font-family-base-ko ), $font-family-base); $font-family-title: () !default; $font-family-title: map-merge(( "en": $font-family-title-en, "zh": $font-family-title-zh, "ja": $font-family-title-ja, "ko": $font-family-title-ko ), $font-family-title); $font-family-heading: () !default; $font-family-heading: map-merge(( "en": $font-family-heading-en, "zh": $font-family-heading-zh, "ja": $font-family-heading-ja, "ko": $font-family-heading-ko ), $font-family-heading); // Home- Intro box $home_intro_box_height: 640px !default; $home_intro_bg: #2b3137 !default; $home_intro_font_color: #ffffff !default; // Header - Navbar $header_navbar_bg: rgba(20, 25, 29, 0.95) !default; $header_navbar_link_color: #c8c9ca !default; $primary_anchor_color: #007bff; // Table of Content $toc_main_color: dodgerblue; $toc_border_color: dodgerblue; $toc_base_font_size: 14px; $toc_sub_font_size: 13px; // Brand Color $brand-colors: () !default; $brand-colors: map-merge(( "github": #333333, "gitlab": #fca326, "stackoverflow": #f48024, "facebook": #3b5998, "twitter": #1da1f2, "google": #dd4b39, "instagram": #833ab4, "pinterest": #bd081c, "youtube": #ff0000 ), $brand-colors); $white: #fff !default; $gray-100: #f8f9fa !default; $gray-200: #e9ecef !default; $gray-300: #dee2e6 !default; $gray-400: #ced4da !default; $gray-500: #adb5bd !default; $gray-600: #6c757d !default; $gray-700: #495057 !default; $gray-800: #343a40 !default; $gray-900: #212529 !default; $black: #000 !default; $grays: () !default; $grays: map-merge(( "100": $gray-100, "200": $gray-200, "300": $gray-300, "400": $gray-400, "500": $gray-500, "600": $gray-600, "700": $gray-700, "800": $gray-800, "900": $gray-900 ), $grays); $blue: #007bff !default; $indigo: #6610f2 !default; $purple: #6f42c1 !default; $pink: #e83e8c !default; $red: #dc3545 !default; $orange: #fd7e14 !default; $yellow: #ffc107 !default; $green: #28a745 !default; $teal: #20c997 !default; $cyan: #17a2b8 !default; $colors: () !default; $colors: map-merge(( "blue": $blue, "indigo": $indigo, "purple": $purple, "pink": $pink, "red": $red, "orange": $orange, "yellow": $yellow, "green": $green, "teal": $teal, "cyan": $cyan, "white": $white, "gray": $gray-600, "gray-dark": $gray-800 ), $colors); $primary: $blue !default; $secondary: $gray-600 !default; $success: $green !default; $info: $cyan !default; $warning: $yellow !default; $danger: $red !default; $light: $gray-100 !default; $dark: $gray-800 !default; $theme-colors: () !default; $theme-colors: map-merge(( "primary": $primary, "secondary": $secondary, "success": $success, "info": $info, "warning": $warning, "danger": $danger, "light": $light, "dark": $dark ), $theme-colors); $grid-breakpoints: ( xs: 0, mx: 360px, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1920px ) !default; ================================================ FILE: scss/_video.scss ================================================ .video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; iframe, object, embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } } ================================================ FILE: scss/_widget.scss ================================================ /* Sidebar widgets */ .sidebar { .widget { border-bottom: 1px #ddd solid; padding: 10px; margin: 0 0 10px 0; .search-field-wrapper { padding: 10px; } } } .widget { font-size: 0.9rem; .widget-title { font-size: 1.3rem; } ul { padding-left: 30px; } } /* Widget - Calendar */ .widget_calendar { .calendar_wrap { margin: 15px 0; border-radius: 4px; background-color: rgba(255, 255, 255, 0.1); } table { width: 100%; border: 1px #dddddd solid; background-color: #ffffff; color: #333333; th, td, caption { text-align: center; padding: 5px; } td a { color: $primary_anchor_color !important; } caption { font-weight: bold; } thead { border-bottom: 1px #dddddd solid; } tfoot { border-top: 1px #dddddd solid; } } } /* Widget - Tag could */ .widget_tag_cloud { .tag-cloud-link { color: #333333; background-color: #ffffff; border: 1px #dddddd solid; border-radius: 3px; margin: 2px 4px; line-height: 150%; padding: 2px 5px; word-break: keep-all; overflow: hidden; display: inline-block; } } /* Widgets in Home middle sidebar */ .home-middle-sidebar { width: 100%; background-color: lighten($home_intro_bg, 10%); color: darken($home-intro-font-color, 30%); overflow: hidden; display: block; margin: 20px 0; .widget { .widget-title { color: #ffffff; } a { color: #f1f1f1; } } .widget_tag_cloud { .tag-cloud-link { color: #333333; } } .widget_calendar { table { caption { color: #ffffff; } } } } .input-group { .search-field { border-right: 0; } } h2 { &.wp-block-heading { font-size: 1.25rem; } } .wp-block-search { &__input { border: 1px #dddddd solid; border-radius: 4px; } &__button { border-radius: 4px; } } .wp-block-latest-comments { padding-left: 0; } ================================================ FILE: scss/_wordpress.scss ================================================ .alignnone { margin: 5px 20px 20px 0; } .aligncenter { display: block; margin: 5px auto 5px auto; } .alignright { float: right; margin: 5px 0 20px 20px; } .alignleft { float: left; margin: 5px 20px 20px 0; } html.wp-toolbar { padding-top: 0 !important; padding-bottom: 32px !important; box-sizing: border-box; } /* Remove bottom on embeds that wrapped in paragraphs via wpautop. */ p { > embed:only-child, > iframe:only-child, > object:only-child { margin-bottom: 0; } } .wp-caption, .gallery-caption { color: #666; font-size: 13px; font-size: 0.8125rem; font-style: italic; margin-bottom: 1.5em; max-width: 100%; } .wp-caption { img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; } .wp-caption-text { margin: 0.8075em 0; } } .bypostauthor { border-bottom-width: 1px; } .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important; &:focus { background-color: #f1f1f1; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; } } .error404 { .site-info { position: fixed; bottom: 10px; background: #ffffff; } &.admin-bar { .site-info { bottom: 50px; } } } ================================================ FILE: scss/config.rb ================================================ require 'compass/import-once/activate' # Require any additional compass plugins here. # Set this to the root of your project when deployed: http_path = "/" css_dir = ".." sass_dir = "" images_dir = "images" javascripts_dir = "js" # You can select your preferred output style here (can be overridden via the command line): # output_style = :expanded or :nested or :compact or :compressed # To enable relative paths to assets via compass helper functions. Uncomment: # relative_assets = true # To disable debugging comments that display the original location of your selectors. Uncomment: line_comments = false environment = :production output_style = :expanded # If you prefer the indented syntax, you might want to regenerate this # project again passing --syntax sass, or you can uncomment this: # preferred_syntax = :sass # and then run: # sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass # Encoding.default_external = Encoding.find('utf-8') #require 'compass-normalize' cache = false ================================================ FILE: scss/editor-style.scss ================================================ @import "variables"; @import "functions"; @import "bootstrap"; @font-face { font-family: octicons-link; src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff'); } body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; line-height: 1.5; color: #24292e; font-size: 1rem; line-height: 1.5; word-wrap: break-word; /* > h1:first-child { display: none; } */ .pl-c { color: #6a737d; } .pl-c1, .pl-s .pl-v { color: #005cc5; } .pl-e, .pl-en { color: #6f42c1; } .pl-smi, .pl-s .pl-s1 { color: #24292e; } .pl-ent { color: #22863a; } .pl-k { color: #d73a49; } .pl-s, .pl-pds, .pl-s .pl-pse .pl-s1 { color: #032f62; } .pl-sr { color: #032f62; .pl-cce, .pl-sre, .pl-sra { color: #032f62; } } .pl-v, .pl-smw { color: #e36209; } .pl-bu { color: #b31d28; } .pl-ii { color: #fafbfc; background-color: #b31d28; } .pl-c2 { color: #fafbfc; background-color: #d73a49; &::before { content: "^M"; } } .pl-sr .pl-cce { font-weight: bold; color: #22863a; } .pl-ml { color: #735c0f; } .pl-mh { font-weight: bold; color: #005cc5; .pl-en { font-weight: bold; color: #005cc5; } } .pl-ms { font-weight: bold; color: #005cc5; } .pl-mi { font-style: italic; color: #24292e; } .pl-mb { font-weight: bold; color: #24292e; } .pl-md { color: #b31d28; background-color: #ffeef0; } .pl-mi1 { color: #22863a; background-color: #f0fff4; } .pl-mc { color: #e36209; background-color: #ffebda; } .pl-mi2 { color: #f6f8fa; background-color: #005cc5; } .pl-mdr { font-weight: bold; color: #6f42c1; } .pl-ba { color: #586069; } .pl-sg { color: #959da5; } .pl-corl { text-decoration: underline; color: #032f62; } .octicon { display: inline-block; vertical-align: text-top; fill: currentColor; } a { background-color: transparent; &:active, &:hover { outline-width: 0; } } strong { font-weight: inherit; font-weight: bolder; } h1 { font-size: 2em; margin: 0.67em 0; } img { border-style: none; } code, kbd, pre { font-family: monospace, monospace; font-size: 1em; } hr { box-sizing: content-box; height: 0; overflow: visible; } input { font: inherit; margin: 0; overflow: visible; } [type="checkbox"] { box-sizing: border-box; padding: 0; } * { box-sizing: border-box; } input { font-family: inherit; font-size: inherit; line-height: inherit; } a { color: #0366d6; text-decoration: none; &:hover { text-decoration: underline; } } strong { font-weight: 600; } hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #dfe2e5; &::before { display: table; content: ""; } &::after { display: table; clear: both; content: ""; } } table { border-spacing: 0; border-collapse: collapse; } td, th { padding: 0; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0; } h1 { font-size: 32px; font-weight: 600; } h2 { font-size: 24px; font-weight: 600; } h3 { font-size: 20px; font-weight: 600; } h4 { font-size: 16px; font-weight: 600; } h5 { font-size: 14px; font-weight: 600; } h6 { font-size: 12px; font-weight: 600; } p { margin-top: 0; margin-bottom: 10px; } blockquote { margin: 0; } ul { padding-left: 0; margin-top: 0; margin-bottom: 0; } ol { padding-left: 0; margin-top: 0; margin-bottom: 0; ol { list-style-type: lower-roman; } } ul { ol { list-style-type: lower-roman; } ul ol, ol ol { list-style-type: lower-alpha; } } ol { ul ol, ol ol { list-style-type: lower-alpha; } } dd { margin-left: 0; } code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } pre { margin-top: 0; margin-bottom: 0; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .octicon { vertical-align: text-bottom; } .pl-0 { padding-left: 0 !important; } .pl-1 { padding-left: 4px !important; } .pl-2 { padding-left: 8px !important; } .pl-3 { padding-left: 16px !important; } .pl-4 { padding-left: 24px !important; } .pl-5 { padding-left: 32px !important; } .pl-6 { padding-left: 40px !important; } &::before { display: table; content: ""; } &::after { display: table; clear: both; content: ""; } > * { &:first-child { margin-top: 0 !important; } &:last-child { margin-bottom: 0 !important; } } a:not([href]) { color: inherit; text-decoration: none; } .anchor { float: left; padding-right: 4px; margin-left: -20px; line-height: 1; &:focus { outline: none; } } p, blockquote, ul, ol, dl, table, pre { margin-top: 0; margin-bottom: 16px; } hr { height: 0.25em; padding: 0; margin: 24px 0; background-color: #e1e4e8; border: 0; } blockquote { padding: 0 1em; color: #6a737d; border-left: 0.25em solid #dfe2e5; > { :first-child { margin-top: 0; } :last-child { margin-bottom: 0; } } } kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #444d56; vertical-align: middle; background-color: #fafbfc; border: solid 1px #c6cbd1; border-bottom-color: #959da5; border-radius: 3px; box-shadow: inset 0 -1px 0 #959da5; } h1, h2, h3, h4, h5, h6 { margin-top: 24px; margin-bottom: 16px; font-weight: 600; line-height: 1.25; } h1 .octicon-link, h2 .octicon-link, h3 .octicon-link, h4 .octicon-link, h5 .octicon-link, h6 .octicon-link { color: #1b1f23; vertical-align: middle; visibility: hidden; } h1:hover .anchor, h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor { text-decoration: none; } h1:hover .anchor .octicon-link, h2:hover .anchor .octicon-link, h3:hover .anchor .octicon-link, h4:hover .anchor .octicon-link, h5:hover .anchor .octicon-link, h6:hover .anchor .octicon-link { visibility: visible; } h1 { padding-bottom: 0.3em; font-size: 2em; border-bottom: 1px solid #eaecef; } h2 { padding-bottom: 0.3em; font-size: 1.5em; border-bottom: 1px solid #eaecef; } h3 { font-size: 1.25em; } h4 { font-size: 1em; } h5 { font-size: 0.875em; } h6 { font-size: 0.85em; color: #6a737d; } ul, ol { padding-left: 2em; } ul { ul, ol { margin-top: 0; margin-bottom: 0; } } ol { ol, ul { margin-top: 0; margin-bottom: 0; } } li { word-wrap: break-all; > p { margin-top: 16px; } + li { margin-top: 0.25em; } } dl { padding: 0; dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: 600; } dd { padding: 0 16px; margin-bottom: 16px; } } table { display: block; width: 100%; overflow: auto; th { font-weight: 600; padding: 6px 13px; border: 1px solid #dfe2e5; } td { padding: 6px 13px; border: 1px solid #dfe2e5; } tr { background-color: #fff; border-top: 1px solid #c6cbd1; &:nth-child(2n) { background-color: #f6f8fa; } } } img { max-width: 100%; box-sizing: content-box; background-color: #fff; &[align=right] { padding-left: 20px; } &[align=left] { padding-right: 20px; } } code { padding: 0.2em 0.4em; font-size: 85%; background-color: rgba(27, 31, 35, 0.05); border-radius: 3px; color: #333; } pre { word-wrap: normal; > code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } } .highlight { margin-bottom: 16px; pre { margin-bottom: 0; word-break: normal; padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; } } pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; code { display: inline; max-width: auto; padding: 0; margin: 0; overflow: visible; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } } .full-commit .btn-outline:not(:disabled):hover { color: #005cc5; border-color: #005cc5; } kbd { display: inline-block; padding: 3px 5px; font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #444d56; vertical-align: middle; background-color: #fafbfc; border: solid 1px #d1d5da; border-bottom-color: #c6cbd1; border-radius: 3px; box-shadow: inset 0 -1px 0 #c6cbd1; } :checked + .radio-label { position: relative; z-index: 1; border-color: #0366d6; } .task-list-item { list-style-type: none; + .task-list-item { margin-top: 3px; } input { margin: 0 0.2em 0.25em -1.6em; vertical-align: middle; } } hr { border-bottom-color: #eee; } } /* Use the best fit font for different languages */ @each $lang-code in $supported-languages { :lang(#{$lang-code}) { body { font-family: get-base-font($lang-code); } h1, h2, h3, h4, h5, h6 { font-family: get-heading-font($lang-code); } .section-intro, #post-title, .site-info { font-family: get-title-font($lang-code); } } } ================================================ FILE: scss/index.html ================================================ ================================================ FILE: scss/style.scss ================================================ /* Theme Name: Mynote Theme URI: https://terryl.in/en/repository/mynote/ Requires at least: 3.6 Tested up to: 6.2.2 Requires PHP: 5.2.4 Description: Mynote is a responsive, clean, Markdown friendly WordPress blog theme. It is based on Bootstrap 4 and Fontawesome 5. It is suitable for programming, business, technical, professional, niche and any kind of blogging sites. Mynote has landing-page templates so that can your highly customize your homepage, make your website unique and professional. Version: 2.0.5 Author: Terry Lin Author URI: https://terryl.in Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-menu, custom-logo, custom-colors, custom-header, featured-images, featured-image-header, microformats, theme-options, footer-widgets, threaded-comments, translation-ready, blog, entertainment License: GNU General Public License v3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html Text Domain: mynote */ @import "variables"; @import "functions"; @import "bootstrap"; @import "misc"; @import "main"; @import "home"; @import "header"; @import "footer"; @import "comment"; @import "typography"; @import "widget"; @import "buttons"; @import "labels"; @import "sticky-top"; @import "page-progress"; @import "table-of-content"; @import "shortcode"; @import "breadcrumb"; @import "the-author-card"; @import "wordpress"; @import "responsive"; @import "video"; @import "markdown-theme-github"; ================================================ FILE: search.php ================================================

    found_posts; ?>

    found_posts, get_search_query() ); ?>
    ================================================ FILE: searchform.php ================================================ ================================================ FILE: sidebar-archive.php ================================================ ================================================ FILE: sidebar-home.php ================================================ ================================================ FILE: single-product.php ================================================

    ' ' . __( 'Previous Post', 'mynote' ) . ' %title', 'next_text' => ' ' . __( 'Next Post', 'mynote' ) . ' %title', ) ); ?>
    >
    '', ) ); ?>

    ' ' . __( 'Previous Post', 'mynote' ) . ' %title', 'next_text' => ' ' . __( 'Next Post', 'mynote' ) . ' %title', ) ); ?>
    li > a { color: rgba(255, 255, 255, 0.75) !important; } .header .navbar-nav > li > a:hover { color: white !important; } .header .navbar-nav .dropdown-toggle::after { display: inline-block; width: 0; height: 0; margin-left: .4em !important; vertical-align: middle !important; content: ""; border-top: .3em solid; border-right: .3em solid transparent; border-bottom: 0; border-left: .3em solid transparent; } .header .navbar-nav .dropdown-menu { min-width: 10rem; padding: .5rem 0; margin: 6px 0 0; font-size: 1rem; color: #212529; text-align: left; list-style: none; background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 0; box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.15); } @media (min-width: 992px) { .header .navbar-nav .dropdown-menu::before { border-bottom: 9px solid rgba(0, 0, 0, 0.2); border-left: 9px solid transparent; border-right: 9px solid transparent; content: ""; display: inline-block; left: 25px; position: absolute; top: -8px; } .header .navbar-nav .dropdown-menu::after { border-bottom: 8px solid #FFFFFF; border-left: 9px solid transparent; border-right: 9px solid transparent; content: ""; display: inline-block; left: 25px; position: absolute; top: -7px; } } .header .navbar-nav .dropdown-item { font-weight: 600; } .header .menu-item a { display: block; padding: .5rem 0; } .has-site-logo .navbar-brand { margin-bottom: -10px; margin-top: -10px; } .has-site-logo .header .logo-img { height: 60px; } .wrapper { position: relative; } .menu-is-collapsed header.header { width: 100%; position: absolute; top: 0; z-index: 9999; } .menu-is-collapsed .wrapper { padding-top: 60px; } .footer { margin: 40px 0 20px 0; } .footer .footer-columns { font-weight: 400; font-size: 13px; text-align: left; display: flex; justify-content: space-between; } .footer .footer-columns a, .footer .footer-columns strong { font-weight: normal; color: #333333; } .footer .footer-nav { text-align: center; font-size: 14px; display: inline-block; } .footer .footer-nav ul.footer-menu { padding: 0; margin: 0; display: inline-flex; list-style-type: none; } .footer .footer-nav ul.footer-menu li { margin: 0; } .footer .footer-nav ul.footer-menu li:after { content: "|"; color: #aaaaaa; margin: 0 10px; font-size: 13px; } .footer .footer-nav ul.footer-menu li:last-child:after { display: none; } .footer .footer-nav ul.footer-menu a { font-size: 13px; } .footer .footer-nav ul.social-icon-links { padding: 0; margin: 0; display: inline-flex; list-style-type: none; } .footer .footer-nav ul.social-icon-links li { margin: 5px 10px; } .footer .footer-nav ul.social-icon-links a { color: #333333; } @media (max-width: 767.98px) { .footer .footer-columns { display: block; } .footer .footer-nav { display: block; } .footer .footer-nav ul.footer-menu { display: block; margin: 15px 0; } .footer .footer-nav ul.footer-menu li a { border: 1px #dddddd solid; display: block; padding: 5px 10px; margin: 5px 0; border-radius: 4px; text-decoration: none; } .footer .footer-nav ul.footer-menu li a:hover { border: 1px #222222 solid; background-color: #333333; color: #ffffff; } .footer .footer-nav ul.footer-menu li:after { content: ""; display: none; } .footer .footer-nav ul.social-icon-links { display: block; list-style-type: none; } .footer .footer-nav ul.social-icon-links li { display: inline-block; } } .footer .brand-link:hover { background-color: #f1f1f1; color: #111111; } .home .footer { border-top: 0; } /* Comment */ .discussion-timeline { margin-top: 20px; padding-top: 2px; border-top: 1px solid #e6ebf1; } .comment-wrapper { position: relative; padding-left: 60px; margin-top: 15px; margin-bottom: 15px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; } .comment-wrapper .comment-avatar { float: left; margin-left: -60px; border-radius: 3px; } .comment-wrapper .comment-avatar .avatar { display: inline-block; overflow: hidden; line-height: 1; vertical-align: middle; border-radius: 3px; } .comment-wrapper .comment-container { position: relative; background-color: #fff; border: 1px solid #d1d5da; border-radius: 3px; } .comment-wrapper .comment-header { padding-right: 15px; padding-left: 15px; color: #586069; border-top-left-radius: 3px; border-top-right-radius: 3px; } .comment-wrapper .comment-header .comment-header-text { padding: 10px 0; max-width: 75%; } .comment-wrapper .comment-header .comment-label { float: right; padding: 2px 5px; margin: 8px 0 0 10px; font-size: 12px; cursor: default; border: 1px solid rgba(27, 31, 35, 0.1); border-radius: 3px; } .comment-wrapper .comment-header .comment-header-btn { display: block; float: right; margin: 8px 0 0 10px; } .comment-wrapper .comment-header .comment-header-btn a { font-size: 14px; padding: 5px; color: rgba(27, 31, 35, 0.3) !important; } .comment-wrapper cite.author { color: #c43d3d; } .comment-wrapper cite.author a { color: #c43d3d !important; } .comment-wrapper cite.reader { color: #586069; } .comment-wrapper cite.reader a { color: #586069 !important; } .comment-wrapper .comment-link { color: #586069 !important; } .comment-wrapper .comment-body { width: 100%; padding: 15px; overflow: visible; } .even .comment-header { background-color: #f1f8ff; border-bottom: 1px solid #c0d3eb; } .odd .comment-header { background-color: #f6f8fa; border-bottom: 1px solid #d1d5da; } .comment-reply-title { margin: 10px 0; } /* Typography */ .header { font-weight: 600; } .header .search-bar { font-size: inherit; } .header .search-bar .search-input { font-size: 13px; } .header .navbar-nav > li > a { font-size: 14px; } /* Typography - Single post page */ #post-title { font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif !important; font-size: 2.2rem; font-weight: 300; padding: 0.5rem 0; } @media (max-width: 575.98px) { #post-title { font-size: 1.7rem; } } /* Typography - Home page */ .section-intro { font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif !important; font-weight: 300; } .section-intro a { font-weight: 400; } .section-intro h1 { font-size: 4.5rem; font-weight: 300; } @media (max-width: 767.98px) { .section-intro h1 { font-size: 3.5rem; } } .section-intro .desc-text { font-size: 1.6rem; } /* Typography - Comment */ .comment-wrapper cite { font-style: normal !important; font-weight: 600 !important; } .comment-wrapper .comment-body { font-size: 14px; } article figcaption { font-size: 0.85rem; } .comment-notes { font-size: 12px; } .section-title { font-size: 18px; margin: 40px 0 10px 0; } /* Typography - Others */ .label { font-size: .675rem; } .x-label { font-size: 1rem; } .f-14 { font-size: 14px !important; } .c-light { color: #586069 !important; } /* Post list */ .author-posted-date { font-size: 13px; } /* Use the best fit font for different languages */ :lang(en) body { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif; } :lang(en) h1, :lang(en) h2, :lang(en) h3, :lang(en) h4, :lang(en) h5, :lang(en) h6 { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif; } :lang(en) .section-intro, :lang(en) #post-title, :lang(en) .site-info { font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif; } :lang(zh) body { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "標楷體", "DFKai-SB"; } :lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4, :lang(zh) h5, :lang(zh) h6 { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "標楷體", "DFKai-SB"; } :lang(zh) .section-intro, :lang(zh) #post-title, :lang(zh) .site-info { font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "SimHei", "Microsoft YaHei", "標楷體", "DFKai-SB"; } :lang(ja) body { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic"; } :lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4, :lang(ja) h5, :lang(ja) h6 { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic"; } :lang(ja) .section-intro, :lang(ja) #post-title, :lang(ja) .site-info { font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic"; } :lang(ko) body { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim"; } :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) h4, :lang(ko) h5, :lang(ko) h6 { font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim"; } :lang(ko) .section-intro, :lang(ko) #post-title, :lang(ko) .site-info { font-family: "Roboto", "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Dotum", "Gulim"; } /* Sidebar widgets */ .sidebar .widget { border-bottom: 1px #ddd solid; padding: 10px; margin: 0 0 10px 0; } .sidebar .widget .search-field-wrapper { padding: 10px; } .widget { font-size: 0.9rem; } .widget .widget-title { font-size: 1.3rem; } .widget ul { padding-left: 30px; } /* Widget - Calendar */ .widget_calendar .calendar_wrap { margin: 15px 0; border-radius: 4px; background-color: rgba(255, 255, 255, 0.1); } .widget_calendar table { width: 100%; border: 1px #dddddd solid; background-color: #ffffff; color: #333333; } .widget_calendar table th, .widget_calendar table td, .widget_calendar table caption { text-align: center; padding: 5px; } .widget_calendar table td a { color: #007bff !important; } .widget_calendar table caption { font-weight: bold; } .widget_calendar table thead { border-bottom: 1px #dddddd solid; } .widget_calendar table tfoot { border-top: 1px #dddddd solid; } /* Widget - Tag could */ .widget_tag_cloud .tag-cloud-link { color: #333333; background-color: #ffffff; border: 1px #dddddd solid; border-radius: 3px; margin: 2px 4px; line-height: 150%; padding: 2px 5px; word-break: keep-all; overflow: hidden; display: inline-block; } /* Widgets in Home middle sidebar */ .home-middle-sidebar { width: 100%; background-color: #414b54; color: #b3b3b3; overflow: hidden; display: block; margin: 20px 0; } .home-middle-sidebar .widget .widget-title { color: #ffffff; } .home-middle-sidebar .widget a { color: #f1f1f1; } .home-middle-sidebar .widget_tag_cloud .tag-cloud-link { color: #333333; } .home-middle-sidebar .widget_calendar table caption { color: #ffffff; } .input-group .search-field { border-right: 0; } h2.wp-block-heading { font-size: 1.25rem; } .wp-block-search__input { border: 1px #dddddd solid; border-radius: 4px; } .wp-block-search__button { border-radius: 4px; } .wp-block-latest-comments { padding-left: 0; } .btn-counter { display: inline-block; } .btn-counter .btn { float: left; color: #24292e; position: relative; display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap; vertical-align: middle; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid rgba(27, 31, 35, 0.2); border-radius: 0.25em; border-top-right-radius: 0; border-bottom-right-radius: 0; background-color: #eff3f6; background-image: linear-gradient(-180deg, #fafbfc 0%, #eff3f6 90%); background-repeat: repeat-x; background-position: -1px -1px; background-size: 110% 110%; -webkit-appearance: none; -moz-appearance: none; appearance: none; } .btn-counter.active .btn { background-image: linear-gradient(-180deg, #dddddd 0%, #ffffff 90%); } .btn-counter.text-only .btn { border-top-right-radius: 0.25em; border-bottom-right-radius: 0.25em; } .btn-counter .count-box { float: left; padding: 3px 10px; font-size: 12px; font-weight: 600; line-height: 20px; color: #24292e; vertical-align: middle; background-color: #fff; border: 1px solid rgba(27, 31, 35, 0.2); border-left: 0; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } .btn-group { display: inline-block; font-size: 0; } .btn-group .btn-counter .btn { border-radius: 0; } .btn-group .btn-counter:first-child .btn { border-top-left-radius: 0.25em; border-bottom-left-radius: 0.25em; } .btn-group .btn-counter:last-child .btn { border-left-width: 0 !important; border-top-right-radius: 0.25em; border-bottom-right-radius: 0.25em; } .post-mynote-buttons { overflow: hidden; font-size: 0; display: flex; } .post-mynote-buttons a, .post-mynote-buttons a:hover { text-decoration: none !important; } .post-mynote-buttons > div, .post-mynote-buttons > a { margin-left: 5px !important; } .post-mynote-buttons .github-button-container { display: inline-block; margin-left: 5px; } .post-mynote-buttons .github-button-container a { display: none; } .btn-green { background-color: #28a745; background-image: linear-gradient(-180deg, #34d058 0%, #28a745 90%); border-color: rgba(27, 31, 35, 0.5); color: #ffffff; } a.btn, a.button-like-link { text-decoration: none !important; } a.btn-xs { padding: .125rem .25rem; font-size: .675rem; line-height: 1.2; border-radius: .2rem; } a.btn-info { color: #17a2b8; } .label { padding: .125rem .25rem; line-height: 1.2; border-radius: .2rem; border: 1px solid transparent; } .label.label-success, .label.label-cat { color: #155724; background-color: #d4edda; border-color: #c3e6cb; } .label.label-warning, .label.label-tag { color: #856404; background-color: #fff3cd; border-color: #ffeeba; } .label.label-primary { color: #004085; background-color: #cce5ff; border-color: #b8daff; } .label.label-secondary { color: #383d41; background-color: #e2e3e5; border-color: #d6d8db; } .label.label-danger { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; } .label.label-light { color: #818182; background-color: #fefefe; border-color: #fdfdfe; } .label.label-dark { color: #1b1e21; background-color: #d6d8d9; border-color: #c6c8ca; } .x-label { padding: .25rem .5rem; line-height: 1.5; border-radius: .3rem; border: 1px solid transparent; margin: 5px; word-break: keep-all !important; display: inline-block; } .x-label-0 { color: #fff !important; border-top-color: #3395ff !important; border-bottom-color: #0062cc !important; background-color: #007bff !important; } .x-label-1 { color: #fff !important; border-top-color: #8540f5 !important; border-bottom-color: #510bc4 !important; background-color: #6610f2 !important; } .x-label-2 { color: #fff !important; border-top-color: #8c68ce !important; border-bottom-color: #59339d !important; background-color: #6f42c1 !important; } .x-label-3 { color: #fff !important; border-top-color: #ed6ca7 !important; border-bottom-color: #d91a72 !important; background-color: #e83e8c !important; } .x-label-4 { color: #fff !important; border-top-color: #e4606d !important; border-bottom-color: #bd2130 !important; background-color: #dc3545 !important; } .x-label-5 { color: #fff !important; border-top-color: #fd9a47 !important; border-bottom-color: #dc6502 !important; background-color: #fd7e14 !important; } .x-label-6 { color: #fff !important; border-top-color: #ffce3a !important; border-bottom-color: #d39e00 !important; background-color: #ffc107 !important; } .x-label-7 { color: #fff !important; border-top-color: #34ce57 !important; border-bottom-color: #1e7e34 !important; background-color: #28a745 !important; } .x-label-8 { color: #fff !important; border-top-color: #3ce0af !important; border-bottom-color: #199d76 !important; background-color: #20c997 !important; } .x-label-9 { color: #fff !important; border-top-color: #1fc8e3 !important; border-bottom-color: #117a8b !important; background-color: #17a2b8 !important; } .x-label-10 { color: #fff !important; border-top-color: white !important; border-bottom-color: #e6e6e6 !important; background-color: #fff !important; } .x-label-11 { color: #fff !important; border-top-color: #868e96 !important; border-bottom-color: #545b62 !important; background-color: #6c757d !important; } .x-label-12 { color: #fff !important; border-top-color: #4b545c !important; border-bottom-color: #1d2124 !important; background-color: #343a40 !important; } .sticky-top { position: -webkit-sticky; position: sticky; z-index: 1020; } .sticky-top.sidebar { top: 90px !important; } .sticky-top.title { top: 5px !important; } .sticky-top.column-switch { top: 0px !important; z-index: 1030; color: #aaaaaa; height: 60px; } .sticky-top.column-switch .btn { font-size: 0.9rem; margin: 5px; } .sticky-top.column-switch .btn.active { color: #ffffff; } .progress-wrapper { position: relative; } .progress-wrapper progress { appearance: none; position: absolute; width: 100%; height: 4px; background-color: rgba(214, 168, 168, 0.1); border: none; } .progress-wrapper progress::-moz-progress-bar { background-color: dodgerblue; } .progress-wrapper progress::-webkit-progress-bar { background-color: rgba(214, 168, 168, 0.1); } .progress-wrapper progress::-webkit-progress-value { background-color: dodgerblue; } .progress-wrapper progress::-ms-fill { background-color: dodgerblue; } .progress-wrapper .progress-label { position: absolute; right: 0; bottom: 0; font-size: 14px; color: rgba(255, 255, 255, 0.6); } #progress-title { width: 100%; display: inline-block; text-overflow: ellipsis; white-space: nowrap; word-break: keep-all !important; overflow: hidden; line-height: 40px; } .has-site-icon #progress-title { width: calc(100% - 50px); } nav[data-toggle='toc'] .nav > li > a { display: block; padding: 4px 20px; font-size: 14px; font-weight: 500; color: #767676; } nav[data-toggle='toc'] .nav > li > a:hover, nav[data-toggle='toc'] .nav > li > a:focus { padding-left: 19px; color: dodgerblue; text-decoration: none; background-color: transparent; border-left: 2px solid dodgerblue; } nav[data-toggle='toc'] .nav-link.active, nav[data-toggle='toc'] .nav-link.active:hover, nav[data-toggle='toc'] .nav-link.active:focus { padding-left: 18px; font-weight: bold; color: dodgerblue; background-color: transparent; border-left: 3px solid dodgerblue; } /* Nav: second level (shown on .active) */ nav[data-toggle='toc'] .nav-link + ul { /* display: none; */ /* Hide by default, but at >768px, show it */ padding-bottom: 10px; } nav[data-toggle='toc'] .nav .nav > li > a { padding-top: 1px; padding-bottom: 1px; padding-left: 30px; font-size: 13px; font-weight: normal; } nav[data-toggle='toc'] .nav .nav > li > a:hover, nav[data-toggle='toc'] .nav .nav > li > a:focus { padding-left: 27px; } nav[data-toggle='toc'] .nav .nav > li > .active, nav[data-toggle='toc'] .nav .nav > li > .active:hover, nav[data-toggle='toc'] .nav .nav > li > .active:focus { padding-left: 27px; font-weight: 500; } nav[data-toggle='toc'] .nav-link.active + ul { display: block; } /* Shortcode */ .brand-link { text-align: center; border: 1px #dddddd solid; border-radius: 50%; display: inline-block; } .brand-link.brand-github { border-top-color: #4d4d4d !important; border-left-color: #4d4d4d !important; border-right-color: #1a1a1a !important; border-bottom-color: #1a1a1a !important; color: #333333 !important; } .brand-link.brand-gitlab { border-top-color: #fdb858 !important; border-left-color: #fdb858 !important; border-right-color: #ec8b03 !important; border-bottom-color: #ec8b03 !important; color: #fca326 !important; } .brand-link.brand-stackoverflow { border-top-color: #f69c55 !important; border-left-color: #f69c55 !important; border-right-color: #da670b !important; border-bottom-color: #da670b !important; color: #f48024 !important; } .brand-link.brand-facebook { border-top-color: #4c70ba !important; border-left-color: #4c70ba !important; border-right-color: #2d4373 !important; border-bottom-color: #2d4373 !important; color: #3b5998 !important; } .brand-link.brand-twitter { border-top-color: #4db5f5 !important; border-left-color: #4db5f5 !important; border-right-color: #0c85d0 !important; border-bottom-color: #0c85d0 !important; color: #1da1f2 !important; } .brand-link.brand-google { border-top-color: #e47365 !important; border-left-color: #e47365 !important; border-right-color: #c23321 !important; border-bottom-color: #c23321 !important; color: #dd4b39 !important; } .brand-link.brand-instagram { border-top-color: #9c58c9 !important; border-left-color: #9c58c9 !important; border-right-color: #672e8d !important; border-bottom-color: #672e8d !important; color: #833ab4 !important; } .brand-link.brand-pinterest { border-top-color: #ee0a23 !important; border-left-color: #ee0a23 !important; border-right-color: #8c0615 !important; border-bottom-color: #8c0615 !important; color: #bd081c !important; } .brand-link.brand-youtube { border-top-color: #ff3333 !important; border-left-color: #ff3333 !important; border-right-color: #cc0000 !important; border-bottom-color: #cc0000 !important; color: #ff0000 !important; } .brand-sm .brand-link { width: 32px; height: 32px; font-size: 1rem; line-height: 32px; } .brand-md .brand-link { width: 40px; height: 40px; font-size: 1.25rem; line-height: 40px; } .brand-lg .brand-link { width: 48px; height: 48px; font-size: 1.5rem; line-height: 48px; } .brand-xl .brand-link { width: 64px; height: 64px; font-size: 1.8rem; line-height: 64px; } /* Author page */ .author-page .brand-link { border: 0px; } .author-page .brand-sm .brand-link { width: 16px; height: 16px; line-height: 16px; } .author-page .brand-md .brand-link { width: 22px; height: 22px; line-height: 22px; } .author-page .brand-lg .brand-link { width: 28px; height: 28px; line-height: 28px; } .author-page .brand-xl .brand-link { width: 34px; height: 34px; line-height: 34px; } .breadcrumb { font-size: 0.813rem !important; border-radius: 0 !important; } .breadcrumb ul, .breadcrumb li { margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; } .breadcrumb li:last-child { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } @media (max-width: 767.98px) { .breadcrumb li:last-child { width: 50%; } } .breadcrumb i { color: #333333; } .data-schema .breadcrumb { margin-bottom: 0 !important; } .author-card { display: flex; border-left: 15px #e9ecef solid; background-color: #f8f9fa; border-radius: 3px; margin: 20px 0; } .author-card .author-info { display: flex; flex-direction: column; } .author-card .author-links { margin-top: 10px; } .author-card .author-links a { margin: 5px; } .author-card .author-links a:first-child { margin-left: 0px; } .author-card > div { padding: 25px; } .author-card > img { border: 1px #ced4da solid !important; } .author-card .author-title { font-size: 1.6rem; line-height: 150%; margin-bottom: 10px; font-weight: bold; } /* Author page */ .author-page .author-card { border: 0px; background: none; border-radius: 0px; margin: 0; } .author-page .author-card .author-title { font-size: 2.5rem; line-height: 150%; margin-bottom: 10px; font-weight: bold; } .author-page .author-card .author-title a { color: #333333; text-decoration: none; } .author-page .section-title { display: none; } .alignnone { margin: 5px 20px 20px 0; } .aligncenter { display: block; margin: 5px auto 5px auto; } .alignright { float: right; margin: 5px 0 20px 20px; } .alignleft { float: left; margin: 5px 20px 20px 0; } html.wp-toolbar { padding-top: 0 !important; padding-bottom: 32px !important; box-sizing: border-box; } /* Remove bottom on embeds that wrapped in paragraphs via wpautop. */ p > embed:only-child, p > iframe:only-child, p > object:only-child { margin-bottom: 0; } .wp-caption, .gallery-caption { color: #666; font-size: 13px; font-size: 0.8125rem; font-style: italic; margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } .bypostauthor { border-bottom-width: 1px; } .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important; } .screen-reader-text:focus { background-color: #f1f1f1; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; } .error404 .site-info { position: fixed; bottom: 10px; background: #ffffff; } .error404.admin-bar .site-info { bottom: 50px; } /* > 1200px */ @media (min-width: 1200px) { .section-intro { background-image: url("./assets/images/bg_circuit.png"); } } /* > 1200px */ @media (min-width: 1920px) { .section-intro[style] { background-size: cover; background-position: center center; } } /* < 1200px */ @media (max-width: 1199.98px) { .px-responsive { padding-left: 25px !important; padding-right: 25px !important; } } /* > 992px */ @media (min-width: 992px) { .navbar-expand-lg .navbar-nav .menu-item a { padding-right: .5rem; padding-left: .5rem; } } /* 992px - 1199.98px */ @media (min-width: 992px) and (max-width: 1199.98px) { .section-intro { background-image: url("./assets/images/bg_circuit_xl.png"); } .section-intro h1 { font-size: 4.2rem; } .section-intro .desc-text { font-size: 1.5rem; } } /* < 992px */ @media (max-width: 991.98px) { .px-responsive { padding-left: 10px !important; padding-right: 10px !important; } .container { width: calc(100% - 20px); max-width: calc(100% - 20px); } nav.breadcrumb { padding-left: 0; padding-right: 0; } nav.breadcrumb ul { padding-left: 0; padding-right: 0; } .header .container { min-height: 60px; max-width: 100%; width: 100%; } .header .navbar-brand { position: absolute; top: 14px; left: 0; } .header .search-bar { width: calc(100% - 86px); position: absolute; top: 15px; right: 76px; } .header .navbar-toggler { position: absolute; top: 10px; right: 10px; } .header .navbar-collapse { margin-top: 50px; overflow: hidden; } .header::after { display: block; clear: both; content: ""; } .has-site-icon .search-bar { width: calc(100% - 135px) !important; position: absolute; top: 15px; right: 76px; } .has-site-logo .navbar-brand { position: absolute; top: 0; left: 0; margin-bottom: 0px; margin-top: 0px; } .has-site-logo .search-bar { width: calc(100% - 280px) !important; position: absolute !important; top: 15px; right: 76px; } } /* 768px - 991.98px */ @media (min-width: 768px) and (max-width: 991.98px) { .section-intro { background-image: url("./assets/images/bg_circuit_lg.png"); } .section-intro h1 { font-size: 4.0rem; } .section-intro .desc-text { font-size: 1.4rem; } } /* < 768px */ @media (max-width: 767.98px) { .px-responsive { padding-left: 15px !important; padding-right: 15px !important; } .widget { margin: 15px 0; } .navbar-nav .dropdown-menu::after { display: none !important; } .navbar-nav .dropdown-menu::before { display: none !important; } .column-control { display: none; } } /* 576px - 767.98px */ @media (min-width: 576px) and (max-width: 767.98px) { .section-intro { background-image: url("./assets/images/bg_circuit_md.png"); } .section-intro h1 { font-size: 3.2rem; } .section-intro .desc-text { font-size: 1.3rem; } } /* < 576px */ @media (max-width: 575.98px) { .px-responsive { padding-left: 10px !important; padding-right: 10px !important; } .author-card { display: block !important; } .author-card .author-avatar { text-align: center; } .author-card .author-info { padding-top: 0; } .has-site-logo .header .search-bar { width: 100% !important; position: absolute; margin: 0 !important; top: 60px; right: 0; } .p-5 { padding: 0 !important; } } /* 360px - 575.98px */ @media (min-width: 360px) and (max-width: 575.98px) { .section-intro { background-image: url("./assets/images/bg_circuit_sm.png"); } .section-intro h1 { margin-top: 20px; font-size: 2.8rem; } .section-intro .desc-text { font-size: 1.1rem; } } /* < 360px */ @media (max-width: 359.98px) { .section-intro { background-image: url("./assets/images/bg_circuit_mx.png"); } .section-intro h1 { margin-top: 30px; font-size: 2rem; } .section-intro .desc-text { font-size: 0.95rem; } } .video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; } .video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } @font-face { font-family: octicons-link; src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format("woff"); } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; line-height: 1.5; color: #24292e; font-size: 1rem; line-height: 1.5; word-wrap: break-word; } .markdown-body > h1:first-child { display: none; } .markdown-body .pl-c { color: #6a737d; } .markdown-body .pl-c1, .markdown-body .pl-s .pl-v { color: #005cc5; } .markdown-body .pl-e, .markdown-body .pl-en { color: #6f42c1; } .markdown-body .pl-smi, .markdown-body .pl-s .pl-s1 { color: #24292e; } .markdown-body .pl-ent { color: #22863a; } .markdown-body .pl-k { color: #d73a49; } .markdown-body .pl-s, .markdown-body .pl-pds, .markdown-body .pl-s .pl-pse .pl-s1 { color: #032f62; } .markdown-body .pl-sr { color: #032f62; } .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-sr .pl-sra { color: #032f62; } .markdown-body .pl-v, .markdown-body .pl-smw { color: #e36209; } .markdown-body .pl-bu { color: #b31d28; } .markdown-body .pl-ii { color: #fafbfc; background-color: #b31d28; } .markdown-body .pl-c2 { color: #fafbfc; background-color: #d73a49; } .markdown-body .pl-c2::before { content: "^M"; } .markdown-body .pl-sr .pl-cce { font-weight: bold; color: #22863a; } .markdown-body .pl-ml { color: #735c0f; } .markdown-body .pl-mh { font-weight: bold; color: #005cc5; } .markdown-body .pl-mh .pl-en { font-weight: bold; color: #005cc5; } .markdown-body .pl-ms { font-weight: bold; color: #005cc5; } .markdown-body .pl-mi { font-style: italic; color: #24292e; } .markdown-body .pl-mb { font-weight: bold; color: #24292e; } .markdown-body .pl-md { color: #b31d28; background-color: #ffeef0; } .markdown-body .pl-mi1 { color: #22863a; background-color: #f0fff4; } .markdown-body .pl-mc { color: #e36209; background-color: #ffebda; } .markdown-body .pl-mi2 { color: #f6f8fa; background-color: #005cc5; } .markdown-body .pl-mdr { font-weight: bold; color: #6f42c1; } .markdown-body .pl-ba { color: #586069; } .markdown-body .pl-sg { color: #959da5; } .markdown-body .pl-corl { text-decoration: underline; color: #032f62; } .markdown-body .octicon { display: inline-block; vertical-align: text-top; fill: currentColor; } .markdown-body a { background-color: transparent; } .markdown-body a:active, .markdown-body a:hover { outline-width: 0; } .markdown-body strong { font-weight: inherit; font-weight: bolder; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border-style: none; } .markdown-body kbd { font-family: monospace; } .markdown-body hr { box-sizing: content-box; height: 0; overflow: visible; } .markdown-body input { font: inherit; margin: 0; overflow: visible; } .markdown-body [type="checkbox"] { box-sizing: border-box; padding: 0; } .markdown-body * { box-sizing: border-box; } .markdown-body input { font-family: inherit; font-size: inherit; line-height: inherit; } .markdown-body a { color: #0366d6; text-decoration: none; } .markdown-body a:hover { text-decoration: underline; } .markdown-body strong { font-weight: 600; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #dfe2e5; } .markdown-body hr::before { display: table; content: ""; } .markdown-body hr::after { display: table; clear: both; content: ""; } .markdown-body table { border-spacing: 0; border-collapse: collapse; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 0; margin-bottom: 0; } .markdown-body h1 { font-size: 32px; font-weight: 600; } .markdown-body h2 { font-size: 24px; font-weight: 600; } .markdown-body h3 { font-size: 20px; font-weight: 600; } .markdown-body h4 { font-size: 16px; font-weight: 600; } .markdown-body h5 { font-size: 14px; font-weight: 600; } .markdown-body h6 { font-size: 12px; font-weight: 600; } .markdown-body p { margin-top: 0; margin-bottom: 10px; } .markdown-body blockquote { margin: 0; } .markdown-body ul { padding-left: 0; margin-top: 0; margin-bottom: 0; } .markdown-body ol { padding-left: 0; margin-top: 0; margin-bottom: 0; } .markdown-body ol ol { list-style-type: lower-roman; } .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol { list-style-type: lower-alpha; } .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body .octicon { vertical-align: text-bottom; } .markdown-body .pl-0 { padding-left: 0 !important; } .markdown-body .pl-1 { padding-left: 4px !important; } .markdown-body .pl-2 { padding-left: 8px !important; } .markdown-body .pl-3 { padding-left: 16px !important; } .markdown-body .pl-4 { padding-left: 24px !important; } .markdown-body .pl-5 { padding-left: 32px !important; } .markdown-body .pl-6 { padding-left: 40px !important; } .markdown-body::before { display: table; content: ""; } .markdown-body::after { display: table; clear: both; content: ""; } .markdown-body > *:first-child { margin-top: 0 !important; } .markdown-body > *:last-child { margin-bottom: 0 !important; } .markdown-body a:not([href]) { color: inherit; text-decoration: none; } .markdown-body .anchor { float: left; padding-right: 4px; margin-left: -20px; line-height: 1; } .markdown-body .anchor:focus { outline: none; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body hr { height: 0.25em; padding: 0; margin: 24px 0; background-color: #e1e4e8; border: 0; } .markdown-body blockquote { padding: 0 1em; color: #6a737d; border-left: 0.25em solid #dfe2e5; } .markdown-body blockquote > :first-child { margin-top: 0; } .markdown-body blockquote > :last-child { margin-bottom: 0; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #444d56; vertical-align: middle; background-color: #fafbfc; border: solid 1px #c6cbd1; border-bottom-color: #959da5; border-radius: 3px; box-shadow: inset 0 -1px 0 #959da5; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 24px; margin-bottom: 16px; font-weight: 600; line-height: 1.25; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { color: #1b1f23; vertical-align: middle; visibility: hidden; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { visibility: visible; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2em; border-bottom: 1px solid #eaecef; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.5em; border-bottom: 1px solid #eaecef; } .markdown-body h3 { font-size: 1.25em; } .markdown-body h4 { font-size: 1em; } .markdown-body h5 { font-size: 0.875em; } .markdown-body h6 { font-size: 0.85em; color: #6a737d; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ul ul, .markdown-body ul ol { margin-top: 0; margin-bottom: 0; } .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li { word-wrap: break-all; } .markdown-body li > p { margin-top: 16px; } .markdown-body li + li { margin-top: 0.25em; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: 600; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body table { display: block; width: 100%; overflow: auto; } .markdown-body table th { font-weight: 600; padding: 6px 13px; border: 1px solid #dfe2e5; } .markdown-body table td { padding: 6px 13px; border: 1px solid #dfe2e5; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #c6cbd1; } .markdown-body table tr:nth-child(2n) { background-color: #f6f8fa; } .markdown-body img { max-width: 100%; box-sizing: content-box; background-color: #fff; } .markdown-body img[align=right] { padding-left: 20px; } .markdown-body img[align=left] { padding-right: 20px; } .markdown-body .full-commit .btn-outline:not(:disabled):hover { color: #005cc5; border-color: #005cc5; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #444d56; vertical-align: middle; background-color: #fafbfc; border: solid 1px #d1d5da; border-bottom-color: #c6cbd1; border-radius: 3px; box-shadow: inset 0 -1px 0 #c6cbd1; } .markdown-body :checked + .radio-label { position: relative; z-index: 1; border-color: #0366d6; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item + .task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { margin: 0 0.2em 0.25em -1.6em; vertical-align: middle; } .markdown-body hr { border-bottom-color: #eee; } code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } pre { margin-top: 0; margin-bottom: 0; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } code { padding: 0.2em 0.4em; font-size: 85%; background-color: rgba(27, 31, 35, 0.05); border-radius: 3px; color: #333; } pre { word-wrap: normal; } pre > code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; border: 0; background: transparent; } pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; } pre code { display: inline; padding: 0; margin: 0; overflow: visible; line-height: inherit; word-wrap: normal; border: 0; } ================================================ FILE: tag.php ================================================

    ================================================ FILE: template-parts/content-none.php ================================================

    ================================================ FILE: template-parts/index.html ================================================ ================================================ FILE: template-parts/loop.php ================================================ ID ), 'full' ); $intro_style = ' bg-cover" style="background-image: url(' . esc_url( $backgroundImg[0] ) . ')"'; $custom_header_css = 'has-custom-header'; } ?>

    >
    '', ) ); ?>
    'post', 'posts_per_page' => get_option( 'posts_per_page' ), 'paged' => $paged, ) ); if ( have_posts() ) { get_template_part( 'template-parts/loop' ); get_template_part( 'template-parts/pagination' ); } else { get_template_part( 'template-parts/content', 'none' ); } ?>

    ================================================ FILE: template-parts/pagination.php ================================================