jekyll-theme-gouvfr 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +2 -0
- data/_includes/footer.html +27 -0
- data/_includes/head.html +12 -0
- data/_includes/header.html +38 -0
- data/_includes/hero.html +15 -0
- data/_includes/script.html +1 -0
- data/_includes/sidebar.html +15 -0
- data/_layouts/blog.html +29 -0
- data/_layouts/default.html +61 -0
- data/_layouts/home.html +9 -0
- data/_layouts/page.html +21 -0
- data/_layouts/post.html +16 -0
- data/_sass/_variables.scss +46 -0
- data/_sass/main.scss +27 -0
- data/assets/fonts/Evolventa/Evolventa-Bold.ttf +0 -0
- data/assets/fonts/Evolventa/Evolventa-BoldOblique.ttf +0 -0
- data/assets/fonts/Evolventa/Evolventa-Oblique.ttf +0 -0
- data/assets/fonts/Evolventa/Evolventa-Regular.ttf +0 -0
- data/assets/fonts/Evolventa/gpl.txt +340 -0
- data/assets/fonts/Evolventa/lppl.txt +416 -0
- data/assets/fonts/Source Sans Pro/SIL Open Font License.txt +43 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-Black.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-BlackIt.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-Bold.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-BoldIt.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-ExtraLight.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-ExtraLightIt.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-It.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-Light.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-LightIt.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-Regular.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-Semibold.otf +0 -0
- data/assets/fonts/Source Sans Pro/SourceSansPro-SemiboldIt.otf +0 -0
- data/assets/images/datagouvfr.svg +1 -0
- data/assets/images/etalab.svg +1 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/favicons/apple-icon-180x180.png +0 -0
- data/assets/images/favicons/browserconfig.xml +9 -0
- data/assets/images/favicons/favicon-16x16.png +0 -0
- data/assets/images/favicons/favicon-32x32.png +0 -0
- data/assets/images/favicons/manifest.json +18 -0
- data/assets/images/favicons/safari-pinned-tab.svg +15 -0
- data/assets/images/icons/arrow-down.svg +1 -0
- data/assets/images/icons/arrow-right.svg +1 -0
- data/assets/images/icons/tick.svg +1 -0
- data/assets/images/logo-footer.svg +1 -0
- data/assets/images/logo-marianne.svg +1 -0
- data/assets/images/preview.png +0 -0
- data/assets/images/preview_fb.png +0 -0
- data/assets/main.scss +6 -0
- data/assets/style/main.css +1548 -0
- data/assets/style/main.min.css +1 -0
- data/assets/template.css +1686 -0
- metadata +140 -0
    
        checksums.yaml
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            SHA1:
         | 
| 3 | 
            +
              metadata.gz: 00c72655c1c506d5c6a5ef0f64c6a539017d2ae8
         | 
| 4 | 
            +
              data.tar.gz: 805373b00e1823b11ad6595216c09cdde1f871b8
         | 
| 5 | 
            +
            SHA512:
         | 
| 6 | 
            +
              metadata.gz: c94d6fa3509226cb44b7c06e8bb699a18dd3caba50d929b597e9d7bf823db73c403452e797980877ee044d468004d875c1017f039bf915ba023f27bf23af09ce
         | 
| 7 | 
            +
              data.tar.gz: ac9450b23c1d353420e2e8dfdf5453c35f6e120f908170e26a327c5af8db076e2346d7c1ffbd99b3cabcd681652b6c5b601184c073bb8709cffbe5446617c745
         | 
    
        data/LICENSE
    ADDED
    
    | @@ -0,0 +1,21 @@ | |
| 1 | 
            +
            MIT License
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            Copyright (c) 2018 Etalab
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Permission is hereby granted, free of charge, to any person obtaining a copy
         | 
| 6 | 
            +
            of this software and associated documentation files (the "Software"), to deal
         | 
| 7 | 
            +
            in the Software without restriction, including without limitation the rights
         | 
| 8 | 
            +
            to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         | 
| 9 | 
            +
            copies of the Software, and to permit persons to whom the Software is
         | 
| 10 | 
            +
            furnished to do so, subject to the following conditions:
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            The above copyright notice and this permission notice shall be included in all
         | 
| 13 | 
            +
            copies or substantial portions of the Software.
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         | 
| 16 | 
            +
            IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         | 
| 17 | 
            +
            FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         | 
| 18 | 
            +
            AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         | 
| 19 | 
            +
            LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         | 
| 20 | 
            +
            OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         | 
| 21 | 
            +
            SOFTWARE.
         | 
    
        data/README.md
    ADDED
    
    
| @@ -0,0 +1,27 @@ | |
| 1 | 
            +
            <footer class="footer">
         | 
| 2 | 
            +
              <div class="container">
         | 
| 3 | 
            +
                <div class="footer__logo">
         | 
| 4 | 
            +
                  <img src="{{file.path}}/assets/images/logo-footer.svg" alt="Etalab">
         | 
| 5 | 
            +
                  {% if site.data.footer.social %}
         | 
| 6 | 
            +
                  <ul class="footer__social">
         | 
| 7 | 
            +
                    {% for item in site.data.footer.social %}
         | 
| 8 | 
            +
                    <li><a href="{{ item.target }}"><svg class="icon icon-{{ item.icon }}"><use xlink:href="#icon-{{ item.icon }}"></use></svg></a></li>
         | 
| 9 | 
            +
                    {% endfor %}
         | 
| 10 | 
            +
                  </ul>
         | 
| 11 | 
            +
                  {% endif %}
         | 
| 12 | 
            +
                </div>
         | 
| 13 | 
            +
                {% for item in site.data.footer.links %}
         | 
| 14 | 
            +
                <div class="footer__links">
         | 
| 15 | 
            +
                  {% if item.label %}
         | 
| 16 | 
            +
                  <h2>{{ item.label}}</h2>     
         | 
| 17 | 
            +
                  {% endif %}
         | 
| 18 | 
            +
                  <ul>
         | 
| 19 | 
            +
                  {% for link in item.children %}
         | 
| 20 | 
            +
                  <li><a href="{{ link.target }}">{{ link.label }}</a></li>
         | 
| 21 | 
            +
                  {% endfor %}
         | 
| 22 | 
            +
                </ul>
         | 
| 23 | 
            +
                </div>
         | 
| 24 | 
            +
                {% endfor %}
         | 
| 25 | 
            +
                <div></div>
         | 
| 26 | 
            +
              </div>
         | 
| 27 | 
            +
            </footer>
         | 
    
        data/_includes/head.html
    ADDED
    
    | @@ -0,0 +1,12 @@ | |
| 1 | 
            +
            <head>
         | 
| 2 | 
            +
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         | 
| 3 | 
            +
                <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
         | 
| 4 | 
            +
             | 
| 5 | 
            +
                <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
         | 
| 6 | 
            +
                <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}" />
         | 
| 7 | 
            +
             | 
| 8 | 
            +
                <link rel="stylesheet" type="text/css" media="screen,projection" href="{{ site.url }}{{ "/assets/style/main.css" }}">
         | 
| 9 | 
            +
                <link rel="stylesheet" type="text/css" media="screen,projection" href="{{ site.url }}{{ "/assets/main.css" | relative_url }}">
         | 
| 10 | 
            +
                <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}" />
         | 
| 11 | 
            +
                <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}" />
         | 
| 12 | 
            +
            </head>
         | 
| @@ -0,0 +1,38 @@ | |
| 1 | 
            +
              
         | 
| 2 | 
            +
            <header class="navbar">
         | 
| 3 | 
            +
              <div class="navbar__container">
         | 
| 4 | 
            +
                <a class="navbar__home" href="{{ "/" | relative_url }}">
         | 
| 5 | 
            +
                  <img class="navbar__logo" src="{{ '/assets/images/logo-marianne.svg' | relative_url }}"
         | 
| 6 | 
            +
                    alt="{{ site.title }}" /><span class="navbar__domain">{{ site.data.menu.title }}</span><img src="{{ '/assets/images/datagouvfr.svg' }}" class="navbar__gouvfr" alt="gouv.fr" />
         | 
| 7 | 
            +
                </a>
         | 
| 8 | 
            +
                
         | 
| 9 | 
            +
                <nav>
         | 
| 10 | 
            +
                  <ul class="nav__links">
         | 
| 11 | 
            +
                    {% for item in site.data.menu.nav %}
         | 
| 12 | 
            +
                    <li class="nav__item">
         | 
| 13 | 
            +
                      {% if item.children %}
         | 
| 14 | 
            +
                        <div class="dropdown">
         | 
| 15 | 
            +
                          {{ item.label }}
         | 
| 16 | 
            +
                          <div class="dropdown-content">
         | 
| 17 | 
            +
                            {% for child in item.children %}
         | 
| 18 | 
            +
                              {% if child.target %}
         | 
| 19 | 
            +
                                {% assign target = site.pages | where:"path",child.target | first %}
         | 
| 20 | 
            +
                                <a href="{{ target.url }}">{{ child.label }}</a>
         | 
| 21 | 
            +
                              {% else %}
         | 
| 22 | 
            +
                                <a href{% if child.url %}="{{ child.url }}"{% endif %}>{{ child.label }}</a>
         | 
| 23 | 
            +
                              {% endif %}
         | 
| 24 | 
            +
                            {% endfor %}
         | 
| 25 | 
            +
                          </div>
         | 
| 26 | 
            +
                        </div>
         | 
| 27 | 
            +
                      {% elsif item.target %}
         | 
| 28 | 
            +
                        {% assign target = site.pages | where:"path",item.target | first %}
         | 
| 29 | 
            +
                        <a href="{{ target.url }}">{{ item.label }}</a>
         | 
| 30 | 
            +
                      {% else %}
         | 
| 31 | 
            +
                        <a href{% if item.url %}="{{ item.url }}"{% endif %}>{{ item.label }}</a>
         | 
| 32 | 
            +
                      {% endif %}
         | 
| 33 | 
            +
                    </li>
         | 
| 34 | 
            +
                    {% endfor %}
         | 
| 35 | 
            +
                  </ul>
         | 
| 36 | 
            +
                </nav>
         | 
| 37 | 
            +
              </div>
         | 
| 38 | 
            +
            </header>
         | 
    
        data/_includes/hero.html
    ADDED
    
    | @@ -0,0 +1,15 @@ | |
| 1 | 
            +
            <div class="hero {% if include.date %}article__hero{% endif %}">
         | 
| 2 | 
            +
              <div class="hero__container">
         | 
| 3 | 
            +
                {% if include.image %}
         | 
| 4 | 
            +
                  <img src="{{ include.image }}" />
         | 
| 5 | 
            +
                {% endif %}
         | 
| 6 | 
            +
                {% if include.date %}
         | 
| 7 | 
            +
                  <div class="article__container">
         | 
| 8 | 
            +
                    <h1 class="article__title">{{ page.title | escape }}</h1>
         | 
| 9 | 
            +
                    <div class="article__meta">Paru le <time>{{ page.date | date: "%m/%d" }}</time></div>
         | 
| 10 | 
            +
                  </div>
         | 
| 11 | 
            +
                {% else %}
         | 
| 12 | 
            +
                <h1 class="hero__title">{{ include.title | escape }}</h1>
         | 
| 13 | 
            +
                {% endif %}
         | 
| 14 | 
            +
              </div>
         | 
| 15 | 
            +
            </div>
         | 
| @@ -0,0 +1 @@ | |
| 1 | 
            +
            <!--  Scripts-->                   
         | 
| @@ -0,0 +1,15 @@ | |
| 1 | 
            +
            <nav class="side-pane">
         | 
| 2 | 
            +
              <ul class="side-pane__menu">
         | 
| 3 | 
            +
                {% assign collections = site.collections | sort: 'order' %}
         | 
| 4 | 
            +
                {% for collection in collections %}
         | 
| 5 | 
            +
                    {% if collection.docs %}
         | 
| 6 | 
            +
                    <li class="side-pane__title"><h3>{{ collection.title }}</h3></li>
         | 
| 7 | 
            +
                    {% for col_page in collection.docs %}
         | 
| 8 | 
            +
                    <li {% if page.id == col_page.id %}class="active"{% endif %}>
         | 
| 9 | 
            +
                        <a class="side-pane__link" href="{{ col_page.url | relative_url }}">{{ col_page.label| default: col_page.title | escape }}</a>
         | 
| 10 | 
            +
                    </li>
         | 
| 11 | 
            +
                    {% endfor %}
         | 
| 12 | 
            +
                    {% endif %}
         | 
| 13 | 
            +
                {% endfor %}
         | 
| 14 | 
            +
              </ul>
         | 
| 15 | 
            +
            </nav>
         | 
    
        data/_layouts/blog.html
    ADDED
    
    | @@ -0,0 +1,29 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            layout: default
         | 
| 3 | 
            +
            ---
         | 
| 4 | 
            +
            {% include hero.html title=page.summary %}
         | 
| 5 | 
            +
            <section class="section-grey">
         | 
| 6 | 
            +
              <div class="container article__container">
         | 
| 7 | 
            +
                {% for post in site.posts %}
         | 
| 8 | 
            +
                  <article class="article article__preview panel">
         | 
| 9 | 
            +
                    <div class="article__author">
         | 
| 10 | 
            +
                      {% if post.author.avatar %}
         | 
| 11 | 
            +
                        <img src="{{ post.author.avatar }}" />
         | 
| 12 | 
            +
                      {% endif %}
         | 
| 13 | 
            +
                      <span class="article__author-name">{{ post.author }}</span>
         | 
| 14 | 
            +
                    </div>
         | 
| 15 | 
            +
                    <a class="article__link" href="{{ post.url }}" title="{{ post.title }}">
         | 
| 16 | 
            +
                      <h2 class="article__title">{{ post.title }}</h2>
         | 
| 17 | 
            +
                    </a>
         | 
| 18 | 
            +
                    <div class="article__meta">Paru le <time>{{ post.date | date_to_long_string }}</time></div>
         | 
| 19 | 
            +
                    <div class="article__thumbnail">
         | 
| 20 | 
            +
                      <img src="{{ post.image }}" alt="" />
         | 
| 21 | 
            +
                    </div>
         | 
| 22 | 
            +
                    <div class="richtext">
         | 
| 23 | 
            +
                      <p>{{ post.excerpt }}</p>
         | 
| 24 | 
            +
                    </div>
         | 
| 25 | 
            +
                    <a class="article__more" href="{{ post.url }}">Lire la suite…</a>
         | 
| 26 | 
            +
                  </article>
         | 
| 27 | 
            +
                {% endfor %}
         | 
| 28 | 
            +
              </div>
         | 
| 29 | 
            +
            </section>
         | 
| @@ -0,0 +1,61 @@ | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html lang="{{ page.lang | default: site.lang | default: "en" }}">
         | 
| 3 | 
            +
             | 
| 4 | 
            +
              {% include head.html %}
         | 
| 5 | 
            +
             | 
| 6 | 
            +
              <body>
         | 
| 7 | 
            +
                <svg style="position: absolute; width: 0; height: 0; overflow: hidden;" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
         | 
| 8 | 
            +
                  <defs>
         | 
| 9 | 
            +
                    <symbol id="icon-search">
         | 
| 10 | 
            +
                      <title>search</title>
         | 
| 11 | 
            +
                      <path d="M15.504 13.616l-3.79-3.223c-0.392-0.353-0.811-0.514-1.149-0.499 0.895-1.048 1.435-2.407 1.435-3.893 0-3.314-2.686-6-6-6s-6 2.686-6 6 2.686 6 6 6c1.486 0 2.845-0.54 3.893-1.435-0.016 0.338 0.146 0.757 0.499 1.149l3.223 3.79c0.552 0.613 1.453 0.665 2.003 0.115s0.498-1.452-0.115-2.003zM6 10c-2.209 0-4-1.791-4-4s1.791-4 4-4 4 1.791 4 4-1.791 4-4 4z"></path>
         | 
| 12 | 
            +
                    </symbol>
         | 
| 13 | 
            +
             | 
| 14 | 
            +
                    <symbol id="icon-mail">
         | 
| 15 | 
            +
                      <title>mail</title>
         | 
| 16 | 
            +
                      <path d="M29,4l-26,0c-1.65,0 -3,1.35 -3,3l0,20c0,1.65 1.35,3 3,3l26,0c1.65,0 3,-1.35 3,-3l0,-20c0,-1.65 -1.35,-3 -3,-3Zm-16.539,13.199l-8.461,6.59l0,-15.676l8.461,9.086Zm-6.949,-9.199l20.976,0l-10.488,7.875l-10.488,-7.875l0,0Zm7.278,9.553l3.21,3.447l3.21,-3.447l6.58,8.447l-19.579,0l6.58,-8.447l-0.001,0Zm6.749,-0.354l8.461,-9.086l0,15.676l-8.461,-6.59Z"/>
         | 
| 17 | 
            +
                    </symbol>
         | 
| 18 | 
            +
             | 
| 19 | 
            +
                    <symbol id="icon-fb">
         | 
| 20 | 
            +
                      <title>facebook</title>
         | 
| 21 | 
            +
                      <path d="M29,0l-26,0c-1.65,0 -3,1.35 -3,3l0,26c0,1.65 1.35,3 3,3l13,0l0,-14l-4,0l0,-4l4,0l0,-2c0,-3.306 2.694,-6 6,-6l4,0l0,4l-4,0c-1.1,0 -2,0.9 -2,2l0,2l6,0l-1,4l-5,0l0,14l9,0c1.65,0 3,-1.35 3,-3l0,-26c0,-1.65 -1.35,-3 -3,-3Z"/>
         | 
| 22 | 
            +
                    </symbol>
         | 
| 23 | 
            +
             | 
| 24 | 
            +
                    <symbol id="icon-github">
         | 
| 25 | 
            +
                      <title>github</title>
         | 
| 26 | 
            +
                      <path d="M16,0.395c-8.836,0 -16,7.163 -16,16c0,7.069 4.585,13.067 10.942,15.182c0.8,0.148 1.094,-0.347 1.094,-0.77c0,-0.381 -0.015,-1.642 -0.022,-2.979c-4.452,0.968 -5.391,-1.888 -5.391,-1.888c-0.728,-1.849 -1.776,-2.341 -1.776,-2.341c-1.452,-0.993 0.11,-0.973 0.11,-0.973c1.606,0.113 2.452,1.649 2.452,1.649c1.427,2.446 3.743,1.739 4.656,1.33c0.143,-1.034 0.558,-1.74 1.016,-2.14c-3.554,-0.404 -7.29,-1.777 -7.29,-7.907c0,-1.747 0.625,-3.174 1.649,-4.295c-0.166,-0.403 -0.714,-2.03 0.155,-4.234c0,0 1.344,-0.43 4.401,1.64c1.276,-0.355 2.645,-0.532 4.005,-0.539c1.359,0.006 2.729,0.184 4.008,0.539c3.054,-2.07 4.395,-1.64 4.395,-1.64c0.871,2.204 0.323,3.831 0.157,4.234c1.026,1.12 1.647,2.548 1.647,4.295c0,6.145 -3.743,7.498 -7.306,7.895c0.574,0.497 1.085,1.47 1.085,2.963c0,2.141 -0.019,3.864 -0.019,4.391c0,0.426 0.288,0.925 1.099,0.768c6.354,-2.118 10.933,-8.113 10.933,-15.18c0,-8.837 -7.164,-16 -16,-16l0,0Z"/>
         | 
| 27 | 
            +
                    </symbol>
         | 
| 28 | 
            +
             | 
| 29 | 
            +
                    <symbol id="icon-rss">
         | 
| 30 | 
            +
                      <title>rss</title>
         | 
| 31 | 
            +
                      <path d="M29,0l-26,0c-1.65,0 -3,1.35 -3,3l0,26c0,1.65 1.35,3 3,3l26,0c1.65,0 3,-1.35 3,-3l0,-26c0,-1.65 -1.35,-3 -3,-3Zm-20.281,25.975c-1.5,0 -2.719,-1.206 -2.719,-2.706c0,-1.488 1.219,-2.712 2.719,-2.712c1.506,0 2.719,1.225 2.719,2.712c0,1.5 -1.219,2.706 -2.719,2.706Zm6.825,0.025c0,-2.556 -0.994,-4.962 -2.794,-6.762c-1.806,-1.806 -4.2,-2.8 -6.75,-2.8l0,-3.912c7.425,0 13.475,6.044 13.475,13.475l-3.931,0l0,-0.001Zm6.944,0c0,-9.094 -7.394,-16.5 -16.481,-16.5l0,-3.912c11.25,0 20.406,9.162 20.406,20.413l-3.925,0l0,-0.001Z"/>
         | 
| 32 | 
            +
                    </symbol>
         | 
| 33 | 
            +
             | 
| 34 | 
            +
                    <symbol id="icon-rss">
         | 
| 35 | 
            +
                      <title>rss</title>
         | 
| 36 | 
            +
                      <path id="Checked-Icon" d="M13.23,0.307l-8.118,8.197l-3.345,-3.384c-0.405,-0.408 -1.06,-0.408 -1.464,0c-0.404,0.408 -0.404,1.071 0,1.479l4.055,4.101c0.208,0.21 0.481,0.31 0.754,0.305c0.272,0.005 0.545,-0.095 0.753,-0.305l8.829,-8.915c0.404,-0.408 0.404,-1.07 0,-1.478c-0.404,-0.409 -1.06,-0.409 -1.464,0Z"/>
         | 
| 37 | 
            +
                    </symbol>
         | 
| 38 | 
            +
             | 
| 39 | 
            +
                    <symbol id="icon-twitter">
         | 
| 40 | 
            +
                      <title>twitter</title>
         | 
| 41 | 
            +
                      <path d="M32,7.075c-1.175,0.525 -2.444,0.875 -3.769,1.031c1.356,-0.813 2.394,-2.1 2.887,-3.631c-1.269,0.75 -2.675,1.3 -4.169,1.594c-1.2,-1.275 -2.906,-2.069 -4.794,-2.069c-3.625,0 -6.563,2.938 -6.563,6.563c0,0.512 0.056,1.012 0.169,1.494c-5.456,-0.275 -10.294,-2.888 -13.531,-6.862c-0.563,0.969 -0.887,2.1 -0.887,3.3c0,2.275 1.156,4.287 2.919,5.463c-1.075,-0.031 -2.087,-0.331 -2.975,-0.819c0,0.025 0,0.056 0,0.081c0,3.181 2.263,5.838 5.269,6.437c-0.55,0.15 -1.131,0.231 -1.731,0.231c-0.425,0 -0.831,-0.044 -1.237,-0.119c0.838,2.606 3.263,4.506 6.131,4.563c-2.25,1.762 -5.075,2.813 -8.156,2.813c-0.531,0 -1.05,-0.031 -1.569,-0.094c2.913,1.869 6.362,2.95 10.069,2.95c12.075,0 18.681,-10.006 18.681,-18.681c0,-0.287 -0.006,-0.569 -0.019,-0.85c1.281,-0.919 2.394,-2.075 3.275,-3.394l0,-0.001Z"/>
         | 
| 42 | 
            +
                    </symbol>
         | 
| 43 | 
            +
             | 
| 44 | 
            +
                    <symbol id="icon-googleplus">
         | 
| 45 | 
            +
                      <title>google +</title>
         | 
| 46 | 
            +
                      <path d="M29 0H3C1.35 0 0 1.35 0 3v26c0 1.65 1.35 3 3 3h26c1.65 0 3-1.35 3-3V3c0-1.65-1.35-3-3-3zM12 24c-4.425 0-8-3.575-8-8s3.575-8 8-8c2.162 0 3.969.787 5.363 2.094l-2.175 2.088c-.594-.569-1.631-1.231-3.188-1.231-2.731 0-4.963 2.263-4.963 5.05s2.231 5.05 4.963 5.05c3.169 0 4.356-2.275 4.538-3.45h-4.537v-2.744h7.556c.069.4.125.8.125 1.325 0 4.575-3.063 7.819-7.681 7.819L12 24zm16-8h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2z" fill="#fff" fill-rule="nonzero"/>
         | 
| 47 | 
            +
                    </symbol>
         | 
| 48 | 
            +
             | 
| 49 | 
            +
                    <symbol id="icon-cross">
         | 
| 50 | 
            +
                        <title>cross</title>
         | 
| 51 | 
            +
                        <path d="M10 0c5.519 0 10 4.481 10 10s-4.481 10-10 10S0 15.519 0 10 4.481 0 10 0zm3.975 7.56a4.673 4.673 0 0 0-1.535-1.535L10 8.465l-2.44-2.44A4.673 4.673 0 0 0 6.025 7.56L8.465 10l-2.44 2.44c.384.625.91 1.151 1.535 1.535l2.44-2.44 2.44 2.44a4.673 4.673 0 0 0 1.535-1.535L11.535 10l2.44-2.44z"/>
         | 
| 52 | 
            +
                    </symbol>
         | 
| 53 | 
            +
                  </defs>
         | 
| 54 | 
            +
                </svg>
         | 
| 55 | 
            +
                {% include header.html %}
         | 
| 56 | 
            +
                {{ content }}
         | 
| 57 | 
            +
                {% include footer.html %}
         | 
| 58 | 
            +
                {% include script.html %}
         | 
| 59 | 
            +
              </body>
         | 
| 60 | 
            +
             | 
| 61 | 
            +
            </html>
         | 
    
        data/_layouts/home.html
    ADDED
    
    
    
        data/_layouts/page.html
    ADDED
    
    | @@ -0,0 +1,21 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            layout: default
         | 
| 3 | 
            +
            ---
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            {% assign lang = page.lang | default: site.lang | default: "en" %}
         | 
| 6 | 
            +
            <div class="page article">
         | 
| 7 | 
            +
            {% include hero.html title=page.title %}
         | 
| 8 | 
            +
            <section>
         | 
| 9 | 
            +
              <div class="container">
         | 
| 10 | 
            +
                <div class="richtext">
         | 
| 11 | 
            +
                  {{ content }}
         | 
| 12 | 
            +
                </div>
         | 
| 13 | 
            +
                {% comment %}
         | 
| 14 | 
            +
                    Use the github edit link until netlify-cms support easy deep link.
         | 
| 15 | 
            +
                    See: https://github.com/netlify/netlify-cms/issues/697
         | 
| 16 | 
            +
                {% endcomment %}
         | 
| 17 | 
            +
                <a class="edit-button" href="https://github.com/{{ site.github_repository }}/edit/master/{{ page.path }}">
         | 
| 18 | 
            +
                    ✎ {{ site.i18n[lang].edit }}
         | 
| 19 | 
            +
                </a>
         | 
| 20 | 
            +
              </div>
         | 
| 21 | 
            +
            </section>
         | 
    
        data/_layouts/post.html
    ADDED
    
    | @@ -0,0 +1,16 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            layout: default
         | 
| 3 | 
            +
            ---
         | 
| 4 | 
            +
            <section class="article article__full">
         | 
| 5 | 
            +
              {% include hero.html title=page.title date=page.date image=page.image %}
         | 
| 6 | 
            +
              <div class="article__content" itemscope itemtype="http://schema.org/BlogPosting">
         | 
| 7 | 
            +
                <div class="article__container">
         | 
| 8 | 
            +
                  <div class="richtext" itemprop="articleBody">
         | 
| 9 | 
            +
                    {{ content }}
         | 
| 10 | 
            +
                  </div>
         | 
| 11 | 
            +
                </div>
         | 
| 12 | 
            +
                {% if site.disqus.shortname %}
         | 
| 13 | 
            +
                  {% include disqus_comments.html %}
         | 
| 14 | 
            +
                {% endif %}
         | 
| 15 | 
            +
              </div>
         | 
| 16 | 
            +
            </section>
         | 
| @@ -0,0 +1,46 @@ | |
| 1 | 
            +
              
         | 
| 2 | 
            +
              $blue: #0081d5;
         | 
| 3 | 
            +
              $light-blue: #1e90da;
         | 
| 4 | 
            +
              $dark-blue: #006cb0;
         | 
| 5 | 
            +
              $lighter-blue: #b4e1fa;
         | 
| 6 | 
            +
              $white: #fff;
         | 
| 7 | 
            +
              $lightest-grey: #fafbfc;
         | 
| 8 | 
            +
              $lighter-grey: #ebeff3;
         | 
| 9 | 
            +
              $light-grey: #c9d3df;
         | 
| 10 | 
            +
              $grey: #adb9c9;
         | 
| 11 | 
            +
              $dark-grey: #8393a7;
         | 
| 12 | 
            +
              $darker-grey: #53657d;
         | 
| 13 | 
            +
              $almost-black: #26353f;
         | 
| 14 | 
            +
              $black: #1c1c1c;
         | 
| 15 | 
            +
              $green: #03bd5b;
         | 
| 16 | 
            +
              $light-green: #daf5e7;
         | 
| 17 | 
            +
              $orange: #ff9947;
         | 
| 18 | 
            +
              $light-orange: #fff0e4;
         | 
| 19 | 
            +
              $red: #d1335b;
         | 
| 20 | 
            +
              $dark-red: #a13030;
         | 
| 21 | 
            +
              $light-red: #f8e1e7;
         | 
| 22 | 
            +
              $theme-primary: $blue;
         | 
| 23 | 
            +
              $theme-primary-light: $light-blue;
         | 
| 24 | 
            +
              $theme-primary-dark: $dark-blue;
         | 
| 25 | 
            +
              $theme-secondary: $blue;
         | 
| 26 | 
            +
              $theme-secondary-darken: $dark-blue;
         | 
| 27 | 
            +
              $theme-border: $grey;
         | 
| 28 | 
            +
              $theme-border-lighter: $light-grey;
         | 
| 29 | 
            +
              $theme-border-active: $light-blue;
         | 
| 30 | 
            +
              $theme-border-radius: 3px;
         | 
| 31 | 
            +
              $theme-background-white: $white;
         | 
| 32 | 
            +
              $theme-background-grey: $lighter-grey;
         | 
| 33 | 
            +
              $theme-background-color: $blue;
         | 
| 34 | 
            +
              $theme-background-dark: $black;
         | 
| 35 | 
            +
              $theme-box-shadow: $light-grey;
         | 
| 36 | 
            +
              $theme-label-text: $dark-grey;
         | 
| 37 | 
            +
              $theme-dark-text: $almost-black;
         | 
| 38 | 
            +
              $theme-success-border: $green;
         | 
| 39 | 
            +
              $theme-success-bg: $light-green;
         | 
| 40 | 
            +
              $theme-warning-border: $orange;
         | 
| 41 | 
            +
              $theme-warning-bg: $light-orange;
         | 
| 42 | 
            +
              $theme-error-border: $red;
         | 
| 43 | 
            +
              $theme-error-bg: $light-red;
         | 
| 44 | 
            +
              $theme-info-border: $blue;
         | 
| 45 | 
            +
              $theme-info-bg: $lighter-blue;
         | 
| 46 | 
            +
             
         | 
    
        data/_sass/main.scss
    ADDED
    
    | @@ -0,0 +1,27 @@ | |
| 1 | 
            +
            .page .hero__container {
         | 
| 2 | 
            +
              min-height: unset;
         | 
| 3 | 
            +
            }
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            .page .hero h1 {
         | 
| 6 | 
            +
              margin: 0;
         | 
| 7 | 
            +
            }
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            a.navbar__home {
         | 
| 10 | 
            +
              font-family: Evolventa;
         | 
| 11 | 
            +
              display: flex;
         | 
| 12 | 
            +
              align-items: center;
         | 
| 13 | 
            +
              color: $almost-black;
         | 
| 14 | 
            +
              letter-spacing: 0.05em;
         | 
| 15 | 
            +
            }
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            .navbar__home img {
         | 
| 18 | 
            +
              vertical-align: middle;
         | 
| 19 | 
            +
            }
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            .navbar__logo {
         | 
| 22 | 
            +
              margin-right: 0.8em;
         | 
| 23 | 
            +
            }
         | 
| 24 | 
            +
             | 
| 25 | 
            +
            .navbar__gouvfr {
         | 
| 26 | 
            +
              height: 18.4px;
         | 
| 27 | 
            +
            }
         | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file |