bugfix bs3 theme, added fonts

This commit is contained in:
tubia 2015-06-03 13:28:22 +02:00
parent 0067172c07
commit d94264a9f8
8 changed files with 132 additions and 101 deletions

View file

@ -45,4 +45,5 @@ THEME = 'themes/bs3'
# Pelican bootstrap 3 theme settings # Pelican bootstrap 3 theme settings
BOOTSTRAP_THEME = 'cyborg' BOOTSTRAP_THEME = 'cyborg'
HIDE_SIDEBAR = True HIDE_SIDEBAR = True

View file

@ -1,3 +1,27 @@
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(../fonts/roboto-regular.ttf) format('truetype');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: local('Roboto Bold'), local('Roboto-Bold'), url(../fonts/roboto-bold.ttf) format('truetype');
}
@font-face {
font-family: 'HugFemmes';
font-style: normal;
font-weight: 400;
src: url(../fonts/hug-femmes.ttf) format('truetype');
}
@font-face {
font-family: 'HugFemmesBold';
font-style: normal;
font-weight: 700;
src: url(../fonts/hug-femmes-bold.ttf) format('truetype');
}
/*! /*!
* bootswatch v3.3.4+1 * bootswatch v3.3.4+1
* Homepage: http://bootswatch.com * Homepage: http://bootswatch.com

View file

@ -14,3 +14,7 @@
.navbar-default .navbar-nav > li > a { .navbar-default .navbar-nav > li > a {
color: #85CC95; color: #85CC95;
} }
.navbar-brand {
font-family: HugFemmesBold;
font-weight: 700;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -73,6 +73,7 @@
</head> </head>
<body> <body>
<div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-sm-3 col-sm-offset-9"><svg <div class="col-sm-3 col-sm-offset-9"><svg
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
@ -177,6 +178,7 @@
</svg> </svg>
</div> </div>
</div> </div>
</div>
<!-- Banner --> <!-- Banner -->
{% if BANNER and BANNER_ALL_PAGES %} {% if BANNER and BANNER_ALL_PAGES %}
{% include 'includes/banner.html' %} {% include 'includes/banner.html' %}
@ -184,7 +186,7 @@
{% block banner %}{% endblock %} {% block banner %}{% endblock %}
{% endif %} {% endif %}
<!-- End Banner --> <!-- End Banner -->
<div class="container{% if BOOTSTRAP_FLUID %}-fluid{% endif %}"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-10 col-md-offset-2" id="main-block"> <div class="col-md-10 col-md-offset-2" id="main-block">
<div class="row"> <div class="row">
@ -194,7 +196,7 @@
<div class="col-lg-12"> <div class="col-lg-12">
{% endif %} {% endif %}
<div class="navbar {% if BOOTSTRAP_NAVBAR_INVERSE %}navbar-inverse{% else %}navbar-default{% endif %}" id="navbar-block" role="navigation"> <div class="navbar {% if BOOTSTRAP_NAVBAR_INVERSE %}navbar-inverse{% else %}navbar-default{% endif %}" id="navbar-block" role="navigation">
<div class="container{% if BOOTSTRAP_FLUID %}-fluid{% endif %}"> <div class="container-fluid">
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span> <span class="sr-only">Toggle navigation</span>