Compare commits

..

No commits in common. "3fca70d8d587aa57a96acb0608d108d7f9883ce4" and "6bcb54627c942c208a79b78c74c2500df535d4c2" have entirely different histories.

6 changed files with 26 additions and 47 deletions

View file

@ -43,9 +43,8 @@ PAGE_SAVE_AS = '{slug}.html'
PAGE_LANG_URL = '{slug}.{lang}.html'
PAGE_LANG_SAVE_AS = '{slug}.{lang}.html'
INDEX_SAVE_AS = 'articles.html'
BANNER= True
BANNER_ALL_PAGES= True
SITELOGO="logo/logo0x15.png"
# PAGE_BACKGROUND = 'images/background.jpg'
THEME = 'themes/hackit0x15/'
FONT_URL = 'theme/css/anaheim.css'
@ -59,7 +58,7 @@ EXTRA_PATH_METADATA = {
# Pelican bootstrap 3 theme settings
BOOTSTRAP_THEME = 'darkly'
HIDE_SITENAME = True
HIDE_SIDEBAR = True
PLUGIN_PATHS = ['plugins']
PLUGINS = ['langmenu', 'talks', 'tipue_search']

View file

@ -9,26 +9,6 @@ body {
font-size: 2em;
height: 100%;
}
/*banner*/
.banner{
background:#fff;
color:#9c2f2f;
}
.banner img {
vertical-align: middle;
left: 50%;
position: relative;
transform: translate(-50%,0);
}
.header-ul-menu {
list-style: none;
color: #fff;
background: #9c2f2f;
font-size: 2em;
margin-top: -60px;
}
/*fine banner*/
.navbar::after,
.navbar-collapse::after,

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View file

@ -99,13 +99,6 @@
</head>
<body>
<!-- Banner -->
{% if BANNER and BANNER_ALL_PAGES %}
{% include 'includes/banner.html' %}
{% elif BANNER and not BANNER_ALL_PAGES %}
{% block banner %}{% endblock %}
{% endif %}
<!-- End Banner -->
<div class="navbar {% if BOOTSTRAP_NAVBAR_INVERSE %}navbar-inverse{% else %}navbar-default{% endif %} navbar-static-top" role="navigation">
<div class="container{% if BOOTSTRAP_FLUID %}-fluid{% endif %}">
<div class="navbar-header">
@ -116,6 +109,7 @@
<span class="icon-bar"></span>
</button>
<a href="{{ SITEURL }}/" class="navbar-brand">
{% if SITELOGO %}<img src="{{ SITEURL }}/{{ SITELOGO }}" width="{{ SITELOGO_SIZE }}"/> {% endif %}
{% if not HIDE_SITENAME %}{{ SITENAME }}{% endif %}
</a>
</div>
@ -152,7 +146,13 @@
<!-- /.navbar-collapse -->
</div>
</div> <!-- /.navbar -->
<!-- Banner -->
{% if BANNER and BANNER_ALL_PAGES %}
{% include 'includes/banner.html' %}
{% elif BANNER and not BANNER_ALL_PAGES %}
{% block banner %}{% endblock %}
{% endif %}
<!-- End Banner -->
<div class="container{% if BOOTSTRAP_FLUID %}-fluid{% endif %}">
<div class="row">
{% if not HIDE_SIDEBAR or ABOUT_ME %}

View file

@ -1,16 +1,16 @@
<div class="banner">
<header id="header">
<ul class="header-ul-menu">
<li class="header-menu"><a class="brand-title" href="index.html">{{ SITENAME }}</a></li>
<li style="float:right;padding-right:5px;" class="header-menu">
lingue - en
</li>
</ul>
</header>
{% if SITELOGO %}
<img src="{{ SITEURL }}{{THEME}{{ SITELOGO }}" width="{{ SITELOGO_SIZE }}"/> {% endif %}
<style>
#banner{
background-image:url("{{ SITEURL}}/{{ BANNER }}");
}
</style>
</div>
<div id="banner">
<div class="container{% if BOOTSTRAP_FLUID %}-fluid{% endif %}">
<div class="copy">
<h1>{{ SITENAME }}</h1>
{% if BANNER_SUBTITLE %}
<p class="intro">{{ BANNER_SUBTITLE }}</p>
{% endif %}
</div>
</div>
</div>