--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/web/app/themes/twentynineteen-child/comments.php Mon May 13 21:41:45 2019 +0200
@@ -0,0 +1,20 @@
+<?php
+/**
+ * The template for displaying comments
+ *
+ * This is the template that displays the area of the page that contains both the current comments
+ * and the comment form.
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
+ *
+ * @package WordPress
+ * @subpackage Twenty_Nineteen
+ * @since 1.0.0
+ */
+
+/*
+ * If the current post is protected by a password and
+ * the visitor has not yet entered the password we will
+ * return early without loading the comments.
+*/
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/web/app/themes/twentynineteen-child/footer.php Mon May 13 21:41:45 2019 +0200
@@ -0,0 +1,49 @@
+<?php
+/**
+ * The template for displaying the footer
+ *
+ * Contains the closing of the #content div and all content after.
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
+ *
+ * @package WordPress
+ * @subpackage Twenty_Nineteen
+ * @since 1.0.0
+ */
+
+?>
+
+ </div><!-- #content -->
+
+ <footer id="colophon" class="site-footer">
+ <?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
+ <div class="site-info">
+ <?php if ( ! empty( $blog_info ) ) : ?>
+ <a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
+ <?php endif; ?>
+ <?php
+ if ( function_exists( 'the_privacy_policy_link' ) ) {
+ the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
+ }
+ ?>
+ <?php if ( has_nav_menu( 'footer' ) ) : ?>
+
+ <?php endif; ?>
+ <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_ars.jpg" class="logo-footer" alt="logo ars industrialis"/>
+ <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_iri.jpg" class="logo-footer" alt="logo iri"/>
+ <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_plaineco.jpg" class="logo-footer" alt="logo paline commune"/>
+ <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_msh.jpg" class="logo-footer" alt="logo msh"/>
+ <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_dassault.jpg" class="logo-footer" alt="logo dassault"/>
+ <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_orange.jpg" class="logo-footer" alt="logo orange"/>
+ <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_socgen.jpg" class="logo-footer" alt="logo société générale"/>
+ <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_caisse.jpg" class="logo-footer" alt="logo caisse des dépôts"/>
+ <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_afnic.jpg" class="logo-footer" alt="logo fondation afnic"/>
+ </div><!-- .site-info -->
+ </footer><!-- #colophon -->
+
+</div><!-- #page -->
+
+<?php wp_footer(); ?>
+
+</body>
+</html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/web/app/themes/twentynineteen-child/home.php Mon May 13 21:41:45 2019 +0200
@@ -0,0 +1,38 @@
+<?php
+/**
+ * The template for displaying all single posts
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
+ *
+ * @package WordPress
+ * @subpackage Twenty_Nineteen
+ * @since 1.0.0
+ */
+
+get_header();
+?>
+
+ <section id="primary" class="content-area">
+ <main id="main" class="site-main">
+
+ <?php
+
+ /* Start the Loop */
+ while ( have_posts() ) :
+ the_post();
+
+ get_template_part( 'template-parts/content/content', 'home' );
+
+ // If comments are open or we have at least one comment, load up the comment template.
+ if ( comments_open() || get_comments_number() ) {
+ comments_template();
+ }
+
+ endwhile; // End of the loop.
+ ?>
+
+ </main><!-- #main -->
+ </section><!-- #primary -->
+
+<?php
+get_footer();
Binary file src/web/app/themes/twentynineteen-child/images/logo_afnic.jpg has changed
Binary file src/web/app/themes/twentynineteen-child/images/logo_ars.jpg has changed
Binary file src/web/app/themes/twentynineteen-child/images/logo_caisse.jpg has changed
Binary file src/web/app/themes/twentynineteen-child/images/logo_dassault.jpg has changed
Binary file src/web/app/themes/twentynineteen-child/images/logo_iri.jpg has changed
Binary file src/web/app/themes/twentynineteen-child/images/logo_msh.jpg has changed
Binary file src/web/app/themes/twentynineteen-child/images/logo_orange.jpg has changed
Binary file src/web/app/themes/twentynineteen-child/images/logo_plaineco.jpg has changed
Binary file src/web/app/themes/twentynineteen-child/images/logo_socgen.jpg has changed
--- a/src/web/app/themes/twentynineteen-child/style.css Wed Apr 24 16:12:58 2019 +0200
+++ b/src/web/app/themes/twentynineteen-child/style.css Mon May 13 21:41:45 2019 +0200
@@ -10,4 +10,250 @@
License URI: http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: twentynenieteenchild
-*/
\ No newline at end of file
+*/
+
+
+/* TITLE */
+.site-title a {
+ display: block;
+ font-size: 2.5em;
+ text-align: center;
+ padding-bottom: .2em;
+}
+
+/* DESCRIPTION */
+.site-description {
+ display: block;
+ font-size: 1em;
+ color: black;
+ text-align: center;
+ padding-bottom: 1em;
+}
+
+/* MENU */
+body.page .main-navigation {
+ display: flex;
+ justify-content: center;
+}
+
+.featured-image .main-navigation .main-menu > li.menu-item-has-children .submenu-expand svg {
+ color: white;
+}
+
+.main-navigation {
+ display: flex;
+ justify-content: center;
+}
+
+.main-navigation .menu-menu-container {
+ display: flex;
+ justify-content: center;
+}
+
+.menu-menu-container .main-menu > li > a {
+ flex: 1 100%;
+ font-size: .75em;
+ font-weight: 600;
+ color: black;
+}
+
+.main-navigation .main-menu > li.menu-item-has-children .submenu-expand svg {
+ color: black;
+}
+
+.main-navigation .sub-menu {
+ background-color: black;
+ font-size: .75em;
+}
+
+/* HOME POSTS */
+.content-area, .site-main {
+ display: flex;
+ flex-flow: row wrap;
+ Justify-content: flex-start;
+ align-items: baseline;
+}
+
+body.home .entry {
+ margin: 0;
+ flex: 1 25%;
+ max-width: 25%;
+ /* border: 0.5px solid; */
+}
+
+@media only screen and (max-width: 768px) {
+ body.home .entry {
+ margin: 0;
+ flex: 1 100%;
+ max-width: 100%;
+ }
+}
+
+
+.entry .post-thumbnail {
+ margin: 1rem calc(10% + 10px);
+}
+
+.hfeed .entry .entry-header {
+ margin: calc(3 * 1rem) calc(10% + 10px) calc(1rem / 2);
+}
+
+.site-title:not(:empty) + .site-description:not(:empty)::before {
+ content: "";
+ margin: 0 .1em;
+}
+
+.entry-title {
+ font-size: .7em;
+ line-height: 1.2;
+}
+
+.entry .entry-title::before {
+ display: none;
+}
+
+.entry .post-thumbnail .post-thumbnail-inner {
+ display: flex;
+ justify-content: space-around;
+}
+
+.entry .post-thumbnail .post-thumbnail-inner img {
+ position: relative;
+}
+
+.image-filters-enabled .entry .post-thumbnail:before {
+ background: transparent;
+}
+
+.image-filters-enabled .entry .post-thumbnail:after {
+ background: transparent;
+}
+
+.image-filters-enabled .entry .post-thumbnail .post-thumbnail-inner {
+ filter: grayscale(2%);
+
+}
+
+.entry-footer {
+ font-size: .5em;
+}
+
+/*POST DETAIL*/
+.image-filters-enabled .site-header.featured-image .site-featured-image::before {
+ background: black;
+ mix-blend-mode: darken;
+ opacity: 0.9;
+}
+
+.post-thumbnail {
+ display: none;
+}
+
+.site-header.featured-image {
+ min-height: 25vh;
+ margin-bottom: 0;
+}
+
+.featured-image {
+ display: flex;
+ justify-content: center;
+}
+
+.featured-image > * {
+ display: flex;
+ justify-content: center;
+ flex: 1 100%;
+}
+
+.featured-image .entry-header {
+ display: flex;
+ justify-content: center;
+ flex-flow: row wrap;
+}
+
+.featured-image .entry-header > * {
+ display: flex;
+ justify-content: center;
+ flex: 1 100%;
+}
+
+.featured-image .entry-title::before {
+ display: none;
+}
+
+.featured-image .entry-title {
+ font-size: 2em;
+}
+
+.site-content .entry-content {
+ max-width: 100%;
+ margin: 0 5%;
+ padding: 0;
+}
+
+/*PAGE DETAIL*/
+.content-area h1.entry-title {
+ display: none;
+}
+
+h2::before {
+ display: none;
+}
+
+/*WIDGETS*/
+.widget-title {
+font-size: .95em;
+}
+
+.widget_recent_entries ul li {
+ line-height: 1;
+ margin-top: 0.5rem;
+ margin-bottom: 0;
+}
+
+.widget a {
+ font-size: .50em;
+ font-weight: 400;
+}
+
+.entry .entry-content > *, .entry .entry-summary > * {
+ max-width: 100%;
+ text-align: left;
+}
+
+.post-navigation .nav-links a .post-title {
+
+ hyphens: auto;
+ font-size: .6em;
+ line-height: .5;
+
+}
+
+/*FOOTER + WIDGETS */
+#colophon .widget-column {
+ display: flex;
+ flex-wrap: nowrap;
+ width: 100%;
+}
+
+@media only screen and (max-width: 768px) {
+ #colophon .widget-column {
+ display: flex;
+ flex-wrap: wrap;
+ width: 100%;
+ }
+}
+
+#colophon .widget-column .widget {
+ margin-right: calc(3 * 1rem);
+ width: calc(25% - (3 * 1rem));
+ flex: 1 100%;
+}
+
+#colophon .widget-area, #colophon .site-info {
+ margin: calc(3 * 1rem) calc(5% + 0px);
+}
+
+.logo-footer {
+ margin: 1.5em;
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/web/app/themes/twentynineteen-child/template-parts/content/content-home.php Mon May 13 21:41:45 2019 +0200
@@ -0,0 +1,29 @@
+<?php
+/**
+ * Template part for displaying post archives and search results
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
+ *
+ * @package WordPress
+ * @subpackage Twenty_Nineteen
+ * @since 1.0.0
+ */
+
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <?php
+ if ( is_sticky() && is_home() && ! is_paged() ) {
+ printf( '<span class="sticky-post">%s</span>', _x( 'Featured', 'post', 'twentynineteen' ) );
+ }
+ the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
+ ?>
+ </header><!-- .entry-header -->
+
+ <?php twentynineteen_post_thumbnail(); ?>
+
+ <!--<footer class="entry-footer">
+ <?php twentynineteen_entry_footer(); ?>
+ </footer>--><!-- .entry-footer -->
+</article><!-- #post-${ID} -->
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/web/app/themes/twentynineteen-child/template-parts/header/entry-header.php Mon May 13 21:41:45 2019 +0200
@@ -0,0 +1,38 @@
+<?php
+/**
+ * Displays the post header
+ *
+ * @package WordPress
+ * @subpackage Twenty_Nineteen
+ * @since 1.0.0
+ */
+
+$discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?>
+
+<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
+
+<?php if ( ! is_page() ) : ?>
+<div class="entry-meta">
+ <?php twentynineteen_posted_by(); ?>
+ <?php twentynineteen_posted_on(); ?>
+ <?php
+ // Edit post link.
+ edit_post_link(
+ sprintf(
+ wp_kses(
+ /* translators: %s: Name of current post. Only visible to screen readers. */
+ __( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ),
+ array(
+ 'span' => array(
+ 'class' => array(),
+ ),
+ )
+ ),
+ get_the_title()
+ ),
+ '<span class="edit-link">' . twentynineteen_get_icon_svg( 'edit', 16 ),
+ '</span>'
+ );
+ ?>
+</div><!-- .meta-info -->
+<?php endif; ?>