diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-07 13:06:14 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-07 13:06:14 +0100 |
| commit | 7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8 (patch) | |
| tree | f7453d7dd5cbaaab246e23810b02d3edf1e451be /srcs/wordpress/wp-content/themes/twentytwenty | |
| parent | c59bdcf77c50cbe89b4a93782cdd6d9e7532080e (diff) | |
| download | ft_server-7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8.tar.gz ft_server-7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8.tar.bz2 ft_server-7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8.zip | |
Added wordpress
Diffstat (limited to 'srcs/wordpress/wp-content/themes/twentytwenty')
60 files changed, 36218 insertions, 0 deletions
diff --git a/srcs/wordpress/wp-content/themes/twentytwenty/.stylelintrc.json b/srcs/wordpress/wp-content/themes/twentytwenty/.stylelintrc.json new file mode 100644 index 0000000..4db6c01 --- /dev/null +++ b/srcs/wordpress/wp-content/themes/twentytwenty/.stylelintrc.json @@ -0,0 +1,12 @@ +{
+ "extends": [
+ "stylelint-config-wordpress"
+ ],
+ "plugins": ["stylelint-a11y"],
+ "rules": {
+ "font-family-no-missing-generic-family-keyword": null,
+ "no-descending-specificity": null,
+ "a11y/no-outline-none": true,
+ "a11y/selector-pseudo-class-focus": true
+ }
+}
diff --git a/srcs/wordpress/wp-content/themes/twentytwenty/404.php b/srcs/wordpress/wp-content/themes/twentytwenty/404.php new file mode 100644 index 0000000..fbf509a --- /dev/null +++ b/srcs/wordpress/wp-content/themes/twentytwenty/404.php @@ -0,0 +1,36 @@ +<?php +/** + * The template for displaying the 404 template in the Twenty Twenty theme. + * + * @package WordPress + * @subpackage Twenty_Twenty + * @since 1.0.0 + */ + +get_header(); +?> + +<main id="site-content" role="main"> + + <div class="section-inner thin error404-content"> + + <h1 class="entry-title"><?php _e( 'Page Not Found', 'twentytwenty' ); ?></h1> + + <div class="intro-text"><p><?php _e( 'The page you were looking for could not be found. It might have been removed, renamed, or did not exist in the first place.', 'twentytwenty' ); ?></p></div> + + <?php + get_search_form( + array( + 'label' => __( '404 not found', 'twentytwenty' ), + ) + ); + ?> + + </div><!-- .section-inner --> + +</main><!-- #site-content --> + +<?php get_template_part( 'template-parts/footer-menus-widgets' ); ?> + +<?php +get_footer(); diff --git a/srcs/wordpress/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/srcs/wordpress/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css new file mode 100644 index 0000000..4b3018a --- /dev/null +++ b/srcs/wordpress/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -0,0 +1,1454 @@ +/* ------------------------------------------- */ + +/* Twenty Twenty Editor Styles — Block Editor +/* ------------------------------------------- */ + +.editor-styles-wrapper { + background: #f5efe0; + color: #000; + letter-spacing: -0.015em; + -moz-font-smoothing: antialiased; + -webkit-font-smoothing: antialiased; +} + +.editor-styles-wrapper > * { + font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif; + font-size: 18px; +} + +@supports ( font-variation-settings: normal ) { + + .editor-styles-wrapper > * { + font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif; + } + +} + +.block-editor-default-block-appender textarea.block-editor-default-block-appender__content { + color: inherit; + font-family: inherit; + font-size: inherit; +} + +.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover):not(:focus), +.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover):not(:focus) { + color: inherit; +} + + +/* Fonts ------------------------------------- */ + +/* + * Chrome renders extra-wide characters for the Hoefler Text font. + * This results in a jumping cursor when typing in both the Classic and block + * editors. The following font-face override fixes the issue by manually + * inserting a custom font that includes just a Hoefler Text space replacement + * for that character instead. + */ +@font-face { + font-family: NonBreakingSpaceOverride; + src: url(data:application/font-woff2;charset=utf-8;base64,d09GMgAB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iHjVncIFnzVnc4F1zDkWjrzmPW+NNcwGlzIRKI3fJlUyrEjZQxb3mDH2fNGfRx4vmHKqG0JzHg6E0F9DOlFBGBxUI1GEzLNT4S0aLuTtsGAEUuYcQHkyg3KmIum1bNUvKlrjbbAIleqHHnS4iSudpQcySMYtdFiXlAxzSbAwfMxK6kZoHKhbjjespMTioOPZnzI+4ucCeTVyKMVKLfeAS6vSWaTinuZwzyy/Dc7vaed+6KaV0kukdPUk6yOcctZPvvxxqksq2lEW8RvHjMEO2FCl/zy6p3NEm0R9OFSafJdldc4QVeyaaObMBO0/5cCaa6d9Ggyubxire+lEojscdjoWUR1xGOy8KD8mG2ZLO2l2paDc3A39qmU2z2W5YNv5+u79e6QfGJY/hAAB42m3NywrCMBQE0DupWp/1AYI7/6DEaLQu66Mrd35BKUWKJSlFv1+rue4cGM7shgR981qSon+ZNwUJ8iDgoYU2OvDRRQ99DDDECAHGmGCKmf80hZSx/Kik/LliFbtmN6xmt+yOjdg9GztV4tROnRwX/Bsaaw51nt4Lc7tWaZYHp/MlzKx51LZs5htNri+2AAAAAQAB//8AD3jaY2BkYGDgAWIxIGZiYARCESBmAfMYAAR6AEMAAAABAAAAANXtRbgAAAAA2AhRFAAAAADYCNuG) format("woff"); +} + +/* ---------------------------------------------- +Inter variable font. Usage: + +@supports (font-variation-settings: normal) { + html { font-family: "Inter var", sans-serif; } +} +---------------------------------------------- */ + +@font-face { + font-family: "Inter var"; + font-weight: 100 900; /* stylelint-disable-line font-weight-notation */ + font-style: normal; + src: url(../fonts/inter/Inter-upright-var.woff2) format("woff2"); +} + +@font-face { + font-family: "Inter var"; + font-weight: 100 900; /* stylelint-disable-line font-weight-notation */ + font-style: italic; + src: url(../fonts/inter/Inter-italic-var.woff2) format("woff2"); +} + +/* Structure --------------------------------- */ + +.wp-block { + max-width: 610px; +} + +.wp-block[data-align="wide"] .wp-block[data-align="wide"], +.wp-block[data-align="full"] .wp-block[data-align="wide"] { + max-width: 1200px; +} + +.wp-block .wp-block[data-type="core/group"]:not([data-align="full"]):not([data-align="wide"]):not([data-align="left"]):not([data-align="right"]), +.wp-block .wp-block[data-type="core/cover"]:not([data-align="full"]):not([data-align="wide"]):not([data-align="left"]):not([data-align="right"]) { + margin-right: auto; + margin-left: auto; + max-width: 610px; +} + +.wp-block .wp-block[data-align="full"] { + margin-right: 0; + margin-left: 0; +} + +*[data-align="right"] .wp-block-edit, +*[data-align="left"] .wp-block-edit { + max-width: 50%; +} + +.wp-block[data-align="wide"] { + max-width: 1200px; +} + +.wp-block[data-align="full"] { + max-width: none; +} + +.editor-styles-wrapper .editor-rich-text__tinymce, +.editor-styles-wrapper .editor-rich-text__tinymce.mce-content-body { + line-height: 1.5; +} + + +/* Font Families ------------------------------ */ + +.editor-styles-wrapper p, +.editor-styles-wrapper ol, +.editor-styles-wrapper ul, +.editor-styles-wrapper dl, +.editor-styles-wrapper dt { + font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif; + letter-spacing: normal; +} + +.editor-post-title__block .editor-post-title__input, +.editor-styles-wrapper .wp-block h1, +.editor-styles-wrapper .wp-block h2, +.editor-styles-wrapper .wp-block h3, +.editor-styles-wrapper .wp-block h4, +.editor-styles-wrapper .wp-block h5, +.editor-styles-wrapper .wp-block h6, +.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter, +.editor-styles-wrapper cite, +.editor-styles-wrapper figcaption, +.editor-styles-wrapper .wp-caption-text { + font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif; +} + +@supports ( font-variation-settings: normal ) { + + .editor-post-title__block .editor-post-title__input, + .editor-styles-wrapper .wp-block h1, + .editor-styles-wrapper .wp-block h2, + .editor-styles-wrapper .wp-block h3, + .editor-styles-wrapper .wp-block h4, + .editor-styles-wrapper .wp-block h5, + .editor-styles-wrapper .wp-block h6, + .editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter, + .editor-styles-wrapper cite, + .editor-styles-wrapper figcaption, + .editor-styles-wrapper .wp-caption-text { + font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif; + } + +} + + +/* Colors ------------------------------------ */ + +/* CUSTOM COLORS */ + +:root .has-accent-color { + color: #cd2653; +} + +:root .has-accent-background-color { + background-color: #cd2653; + color: #fff; +} + +:root .has-primary-color { + color: #000; +} + +:root .has-primary-background-color { + background-color: #000; + color: #f5efe0; +} + +:root .has-secondary-color { + color: #6d6d6d; +} + +:root .has-secondary-background-color { + background-color: #6d6d6d; + color: #fff; +} + +:root .has-subtle-background-color { + color: #dcd7ca; +} + +:root .has-subtle-background-background-color { + background-color: #dcd7ca; + color: #000; +} + +:root .has-background-color { + color: #f5efe0; +} + +:root .has-background-background-color { + background-color: #f5efe0; + color: #000; +} + +/* GENERAL COLORS */ + +.has-black-background-color { + background-color: #000; + color: #fff; +} + +.has-white-background-color { + background-color: #fff; + color: #000; +} + +.has-black-color { + color: #000; +} + +.has-white-color { + color: #fff; +} + + +/* Typography -------------------------------- */ + +.editor-styles-wrapper .editor-block-list__layout a { + color: #cd2653; + text-decoration: underline; +} + +.editor-styles-wrapper a:focus, +.editor-styles-wrapper a:hover { + text-decoration: none; +} + +.editor-post-title__block .editor-post-title__input, +.editor-styles-wrapper .wp-block h1, +.editor-styles-wrapper .wp-block h2, +.editor-styles-wrapper .wp-block h3, +.editor-styles-wrapper .wp-block h4, +.editor-styles-wrapper .wp-block h5, +.editor-styles-wrapper .wp-block h6 { + font-feature-settings: "lnum"; + font-variant-numeric: lining-nums; + font-weight: 700; + letter-spacing: -0.0415625em; + line-height: 1.25; + margin: 40px 0 25px; +} + +.editor-post-title__block .editor-post-title__input, +.editor-styles-wrapper .wp-block h1 { + font-size: 36px; + font-weight: 800; + line-height: 1.138888889; +} + +.editor-styles-wrapper .wp-block h2 { + font-size: 32px; +} + +.editor-styles-wrapper .wp-block h3 { + font-size: 28px; +} + +.editor-styles-wrapper .wp-block h4 { + font-size: 24px; +} + +.editor-styles-wrapper .wp-block h5 { + font-size: 21px; +} + +.editor-styles-wrapper .wp-block h6 { + font-size: 16px; + letter-spacing: 0.03125em; + text-transform: uppercase; +} + +.editor-styles-wrapper li, +.editor-styles-wrapper p, +.editor-styles-wrapper p.wp-block-paragraph { + line-height: 1.4; +} + +/* POST TITLE */ + +.wp-block.editor-post-title__block { + max-width: 1000px; +} + +.editor-styles-wrapper .editor-post-title__block .editor-post-title__input { + margin: 0; + text-align: center; +} + +/* DROP CAP */ + +.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter { + color: #cd2653; + font-size: 5.1em; + font-weight: 800; + margin: 0.05em 0 0 0.1em; +} + + +/* Monospace --------------------------------- */ + +.editor-styles-wrapper code, +.editor-styles-wrapper kbd, +.editor-styles-wrapper pre, +.editor-styles-wrapper samp { + font-family: monospace; +} + +.editor-styles-wrapper kbd, +.editor-styles-wrapper pre, +.editor-styles-wrapper samp { + border-radius: 0; + font-size: 0.75em; + padding: 4px 6px; +} + +.editor-styles-wrapper pre { + border-color: #dcd7ca; + border-radius: 0; + line-height: 1.5; + padding: 1em; +} + + +/* Custom Text Sizes ------------------------- */ + +.editor-styles-wrapper p.has-large-font-size.editor-rich-text__tinymce, +.editor-styles-wrapper p.has-large-font-size.editor-rich-text__tinymce.mce-content-body, +.editor-styles-wrapper p.has-larger-font-size.editor-rich-text__tinymce, +.editor-styles-wrapper p.has-larger-font-size.editor-rich-text__tinymce.mce-content-body { + line-height: 1.4; +} + +.editor-styles-wrapper p.has-small-font-size { + font-size: 0.842em; +} + +.editor-styles-wrapper p.has-normal-font-size, +.editor-styles-wrapper p.has-regular-font-size { + font-size: 1em; +} + +.editor-styles-wrapper p.has-medium-font-size { + font-size: 1.1em; +} + +.editor-styles-wrapper p.has-large-font-size { + font-size: 1.25em; +} + +.editor-styles-wrapper p.has-larger-font-size { + font-size: 1.5em; +} + + +/* Post Media -------------------------------- */ + +.editor-styles-wrapper figure { + margin: 0; +} + +.editor-styles-wrapper .alignleft, +.editor-styles-wrapper .alignright { + margin-bottom: 1.2em; + max-width: 260px; +} + +.editor-styles-wrapper .wp-caption .alignleft, +.editor-styles-wrapper .wp-caption .alignright { + margin-bottom: 0; +} + +.editor-styles-wrapper .alignleft { + margin-left: 1em; +} + +.editor-styles-wrapper .alignright { + margin-right: 1em; +} + +.editor-styles-wrapper figcaption { + color: #6d6d6d; + font-size: 15px; + font-weight: 500; + line-height: 1.2; + margin-top: 5px; + text-align: inherit; +} + + +/* Forms ------------------------------------- */ + +.editor-styles-wrapper fieldset { + border: 2px solid #dcd7ca; + padding: 20px; +} + +.editor-styles-wrapper legend { + font-size: 0.85em; + font-weight: 700; + padding: 0 10px; +} + +.editor-styles-wrapper label { + font-size: 15px; + font-weight: 600; +} + + +/* Block: Base Margins ---------------------- */ + +/* Block: Shared Widget Styles -------------- */ + +.editor-styles-wrapper ul.wp-block-archives, +.editor-styles-wrapper ul.wp-block-categories, +.editor-styles-wrapper ul.wp-block-latest-posts, +.editor-styles-wrapper ul.wp-block-categories__list { + font-family: inherit; + list-style: none; + margin: 40px 0; + padding-right: 0; +} + +.editor-styles-wrapper ul.wp-block-categories__list ul { + margin: 0; +} + +.editor-styles-wrapper ul.wp-block-archives li, +.editor-styles-wrapper ul.wp-block-categories li, +.editor-styles-wrapper ul.wp-block-latest-posts li, +.editor-styles-wrapper ul.wp-block-categories__list li { + color: #6d6d6d; + line-height: 1.476; + margin: 5px 0 0 0; +} + +.editor-styles-wrapper ul.wp-block-archives li li, +.editor-styles-wrapper ul.wp-block-categories li li, +.editor-styles-wrapper ul.wp-block-categories__list li li, +.editor-styles-wrapper ul.wp-block-latest-posts li li { + margin-right: 20px; +} + +.editor-styles-wrapper .wp-block-archives li > a, +.editor-styles-wrapper .wp-block-categories li > a, +.editor-styles-wrapper .wp-block-latest-posts li > a { + font-weight: 700; + text-decoration: none; +} + +.editor-styles-wrapper .wp-block-archives li > a:focus, +.editor-styles-wrapper .wp-block-archives li > a:hover, +.editor-styles-wrapper .wp-block-categories li > a:focus, +.editor-styles-wrapper .wp-block-categories li > a:hover, +.editor-styles-wrapper .wp-block-latest-posts li > a:focus, +.editor-styles-wrapper .wp-block-latest-posts li > a:hover { + font-weight: 700; + text-decoration: none; +} + +.editor-styles-wrapper .wp-block-archives.aligncenter, +.editor-styles-wrapper .wp-block-categories.aligncenter { + text-align: center; +} + +.editor-styles-wrapper .wp-block-latest-comments time, +.editor-styles-wrapper .wp-block-latest-posts time { + color: #6d6d6d; + font-size: 0.7em; + font-weight: 600; + letter-spacing: normal; + line-height: 1.476; + margin-top: 0.15em; +} + + |
