Browse Source

Font de la page d'accueil

master
Klafyvel 8 years ago
parent
commit
481ef60413
  1. BIN
      static/ValeriaBoldGrunge.ttf
  2. 1
      static/style.css
  3. 11
      templates/base.html
  4. 2
      templates/home.html

BIN
static/ValeriaBoldGrunge.ttf

Binary file not shown.

1
static/style.css

@ -0,0 +1 @@

11
templates/base.html

@ -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>

2
templates/home.html

@ -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…
Cancel
Save