Tables style
This commit is contained in:
parent
60009517c3
commit
14883ab6e9
2 changed files with 20 additions and 0 deletions
|
@ -12,6 +12,24 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<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="{% 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">
|
<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>
|
</head>
|
||||||
<body class="homepage is-preload">
|
<body class="homepage is-preload">
|
||||||
<div id="page-wrapper">
|
<div id="page-wrapper">
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
<br/>
|
<br/>
|
||||||
<input type="submit" value="Chercher">
|
<input type="submit" value="Chercher">
|
||||||
</form>
|
</form>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Prénom</th>
|
<th>Prénom</th>
|
||||||
|
|
Loading…
Reference in a new issue