Tables style

This commit is contained in:
Hugo LEVY-FALK 2018-12-14 19:58:39 +01:00
parent 60009517c3
commit 14883ab6e9
2 changed files with 20 additions and 0 deletions

View file

@ -12,6 +12,24 @@
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="{% static 'css/main.css' %}" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" integrity="sha384-gfdkjb5BdAXd+lj+gudLWI+BXq4IuLW5IT+brZEZsLFm++aCMlF1V92rMkPaX4PP" crossorigin="anonymous">
<style>
td, th {
border: 1px solid #ddd;
padding: 8px;
}
tr:nth-child(even){background-color: #f2f2f2;}
tr:hover {background-color: #ddd;}
th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #b1ddab;
color: white;
}
</style>
</head>
<body class="homepage is-preload">
<div id="page-wrapper">

View file

@ -8,6 +8,8 @@
<br/>
<input type="submit" value="Chercher">
</form>
<br/>
<br/>
<table>
<tr>
<th>Prénom</th>