bugfix bs3 theme, added fonts
This commit is contained in:
parent
0067172c07
commit
d94264a9f8
8 changed files with 132 additions and 101 deletions
|
@ -45,4 +45,5 @@ THEME = 'themes/bs3'
|
|||
|
||||
# Pelican bootstrap 3 theme settings
|
||||
BOOTSTRAP_THEME = 'cyborg'
|
||||
|
||||
HIDE_SIDEBAR = True
|
24
themes/bs3/static/css/bootstrap.cyborg.min.css
vendored
24
themes/bs3/static/css/bootstrap.cyborg.min.css
vendored
|
@ -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
|
||||
* Homepage: http://bootswatch.com
|
||||
|
|
|
@ -14,3 +14,7 @@
|
|||
.navbar-default .navbar-nav > li > a {
|
||||
color: #85CC95;
|
||||
}
|
||||
.navbar-brand {
|
||||
font-family: HugFemmesBold;
|
||||
font-weight: 700;
|
||||
}
|
BIN
themes/bs3/static/fonts/hug-femmes-bold.ttf
Normal file
BIN
themes/bs3/static/fonts/hug-femmes-bold.ttf
Normal file
Binary file not shown.
BIN
themes/bs3/static/fonts/hug-femmes.ttf
Normal file
BIN
themes/bs3/static/fonts/hug-femmes.ttf
Normal file
Binary file not shown.
BIN
themes/bs3/static/fonts/roboto-bold.ttf
Normal file
BIN
themes/bs3/static/fonts/roboto-bold.ttf
Normal file
Binary file not shown.
BIN
themes/bs3/static/fonts/roboto-regular.ttf
Normal file
BIN
themes/bs3/static/fonts/roboto-regular.ttf
Normal file
Binary file not shown.
|
@ -73,6 +73,7 @@
|
|||
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-3 col-sm-offset-9"><svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
|
@ -177,6 +178,7 @@
|
|||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Banner -->
|
||||
{% if BANNER and BANNER_ALL_PAGES %}
|
||||
{% include 'includes/banner.html' %}
|
||||
|
@ -184,7 +186,7 @@
|
|||
{% block banner %}{% endblock %}
|
||||
{% endif %}
|
||||
<!-- End Banner -->
|
||||
<div class="container{% if BOOTSTRAP_FLUID %}-fluid{% endif %}">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-2" id="main-block">
|
||||
<div class="row">
|
||||
|
@ -194,7 +196,7 @@
|
|||
<div class="col-lg-12">
|
||||
{% endif %}
|
||||
<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">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
|
|
Loading…
Reference in a new issue