Font de la page d'accueil

This commit is contained in:
Klafyvel 2018-03-01 14:06:23 +01:00
parent 9a25f4dcbe
commit 481ef60413
4 changed files with 13 additions and 1 deletions

Binary file not shown.

View file

@ -0,0 +1 @@

View file

@ -1,3 +1,4 @@
{% load static %}
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
@ -5,6 +6,7 @@
<title>Il était une fois dans l'est</title> <title>Il était une fois dans l'est</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="{% static "style.css" %}"/>
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script> <script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
<style> <style>
html { html {
@ -21,6 +23,15 @@ body {
height: 60px; /* Set the fixed height of the footer here */ height: 60px; /* Set the fixed height of the footer here */
line-height: 60px; /* Vertically center the text there */ line-height: 60px; /* Vertically center the text there */
background-color: #f5f5f5; background-color: #f5f5f5;
}
@font-face {
font-family: 'Valeria';
font-style: normal;
src: url("/static/ValeriaBoldGrunge.ttf");
}
h1.site-title
{
font-family: 'Valeria';
} }
{% block style %}{% endblock %} {% block style %}{% endblock %}
</style> </style>

View file

@ -1,6 +1,6 @@
{% extends 'base.html'%} {% extends 'base.html'%}
{% block content %} {% block content %}
<h1>Il était une fois dans l'est</h1> <h1 class="site-title">Il était une fois dans l'est</h1>
<br/> <br/>
<br/> <br/>
<div class="row"> <div class="row">