working a bit
This commit is contained in:
parent
46e92edf43
commit
c277386aaf
2
Makefile
2
Makefile
@ -1,6 +1,8 @@
|
||||
PY?=python3
|
||||
PELICAN?=pelican
|
||||
PELICANOPTS=
|
||||
# For global server
|
||||
PORT=8000
|
||||
|
||||
BASEDIR=$(CURDIR)
|
||||
INPUTDIR=$(BASEDIR)/content
|
||||
|
@ -15,7 +15,7 @@ a {
|
||||
color: #df7366;
|
||||
}
|
||||
|
||||
#header a {
|
||||
#header a, nav a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@ -37,9 +37,8 @@ body {
|
||||
#nav #content {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 1.5em 0 31.5em 0;
|
||||
padding: 1.5em 0 0 0;
|
||||
z-index: 1;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
ul, li {
|
||||
@ -151,7 +150,9 @@ li:hover .dropdown, .dropdown li:hover .submenu, li:focus-within .dropdown, .dro
|
||||
|
||||
#header {
|
||||
text-align: center;
|
||||
margin-bottom: 4rem
|
||||
margin-bottom: -2rem;
|
||||
height: 100vh;
|
||||
min-height: 30em;
|
||||
}
|
||||
|
||||
#header h1 {
|
||||
@ -233,7 +234,7 @@ hr::after {
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
#header .background {
|
||||
body > .background {
|
||||
background: linear-gradient(145deg, #3f2b4e 0%,#7b6b75 23%,#58445d 42%,#56425b 52%,#c7bbbd 81%,#422d4f 100%);
|
||||
filter: blur(50px);
|
||||
width: 100%;
|
||||
@ -256,6 +257,7 @@ main {
|
||||
border: 2px solid #553f59;
|
||||
margin: auto;
|
||||
color: #fffd;
|
||||
margin-top:6rem;
|
||||
}
|
||||
|
||||
main > section {
|
||||
|
@ -23,10 +23,12 @@
|
||||
|
||||
{% block content %}
|
||||
<section id="content" class="body">
|
||||
<!--<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
||||
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a>-->
|
||||
<header>
|
||||
<h2 class="entry-title">
|
||||
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
||||
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
||||
{{ article.title }}
|
||||
</h2>
|
||||
{% import 'translations.html' as translations with context %}
|
||||
{{ translations.translations_for(article) }}
|
||||
</header>
|
||||
|
@ -5,55 +5,63 @@
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/main.css" />
|
||||
</head>
|
||||
<body class="homepage is-preload">
|
||||
<body>
|
||||
<div class="background"></div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Nav -->
|
||||
<!-- Todo – drop down list in css -->
|
||||
<nav id="nav">
|
||||
<div id="content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{SITEURL}}/#header">Accueil</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{SITEURL}}/blog_index.html">Blog</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Dropdown</a>
|
||||
<ul class="dropdown">
|
||||
<li><a href="#">Lorem ipsum dolor</a></li>
|
||||
<li><a href="#">Magna phasellus</a></li>
|
||||
<li><a href="#">Etiam dolore nisl</a></li>
|
||||
<li>
|
||||
<a href="#">And a submenu …</a>
|
||||
<ul class="submenu">
|
||||
<li><a href="#">Lorem ipsum dolor</a></li>
|
||||
<li><a href="#">Phasellus consequat</a></li>
|
||||
<li><a href="#">Magna phasellus</a></li>
|
||||
<li><a href="#">Etiam dolore nisl</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#">Veroeros feugiat</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{{SITEURL}}/#services">Nos services</a></li>
|
||||
<li><a href="{{SITEURL}}/#contact">Nous contacter</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Header -->
|
||||
<div id="header">
|
||||
<div class="background"></div>
|
||||
|
||||
|
||||
|
||||
<!-- Nav -->
|
||||
<!-- Todo – drop down list in css -->
|
||||
<nav id="nav">
|
||||
<div id="content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{SITEURL}}/#header">Accueil</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{SITEURL}}/blog_index.html">Blog</a>
|
||||
</li>
|
||||
<!--<li>
|
||||
<a href="#">Dropdown</a>
|
||||
<ul class="dropdown">
|
||||
<li><a href="#">Lorem ipsum dolor</a></li>
|
||||
<li><a href="#">Magna phasellus</a></li>
|
||||
<li><a href="#">Etiam dolore nisl</a></li>
|
||||
<li>
|
||||
<a href="#">And a submenu …</a>
|
||||
<ul class="submenu">
|
||||
<li><a href="#">Lorem ipsum dolor</a></li>
|
||||
<li><a href="#">Phasellus consequat</a></li>
|
||||
<li><a href="#">Magna phasellus</a></li>
|
||||
<li><a href="#">Etiam dolore nisl</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#">Veroeros feugiat</a></li>
|
||||
</ul>
|
||||
</li>-->
|
||||
<li><a href="{{SITEURL}}/#services">Nos services</a></li>
|
||||
<li><a href="{{SITEURL}}/#contact">Nous contacter</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- header -->
|
||||
{% if output_file == 'index.html' %}
|
||||
{% include 'header.html' %}
|
||||
<div id="header">
|
||||
<div class="inner">
|
||||
<header>
|
||||
<h1><a href="index.html" id="logo">Jean-Cloud</a></h1>
|
||||
<hr />
|
||||
<p>Le cloud lent, hébergé près de chez vous !</p>
|
||||
</header>
|
||||
<footer>
|
||||
<a href="#jeanqui" class="button circled scrolly">Découvrir !</a>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
<!-- Main content -->
|
||||
<main>
|
||||
{% block content %}
|
||||
|
@ -1,11 +0,0 @@
|
||||
<!-- Inner -->
|
||||
<div class="inner">
|
||||
<header>
|
||||
<h1><a href="index.html" id="logo">Jean-Cloud</a></h1>
|
||||
<hr />
|
||||
<p>Le cloud lent, hébergé près de chez vous !</p>
|
||||
</header>
|
||||
<footer>
|
||||
<a href="#jeanqui" class="button circled scrolly">Découvrir !</a>
|
||||
</footer>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user