Font de la page d'accueil
This commit is contained in:
parent
9a25f4dcbe
commit
481ef60413
4 changed files with 13 additions and 1 deletions
BIN
static/ValeriaBoldGrunge.ttf
Normal file
BIN
static/ValeriaBoldGrunge.ttf
Normal file
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
@ -5,6 +6,7 @@
|
|||
<title>Il était une fois dans l'est</title>
|
||||
<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="{% static "style.css" %}"/>
|
||||
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
|
||||
<style>
|
||||
html {
|
||||
|
@ -21,6 +23,15 @@ body {
|
|||
height: 60px; /* Set the fixed height of the footer here */
|
||||
line-height: 60px; /* Vertically center the text there */
|
||||
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 %}
|
||||
</style>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends 'base.html'%}
|
||||
{% 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/>
|
||||
<div class="row">
|
||||
|
|
Loading…
Reference in a new issue