Début thème sombre.

Création liste résultats de recherche.
This commit is contained in:
Antoine Waehren 2021-12-03 03:18:06 +01:00
parent e43c33e763
commit 0c3fe53ef2
2 changed files with 61 additions and 1 deletions

57
static/style_dark.css Normal file
View File

@ -0,0 +1,57 @@
body {
background: black;
font-family: arial;
color: white;
}
h1, p {
padding: 20px;
}
table, tr, td {
border: 1px solid white;
border-collapse: collapse;
padding: 10px;
}
.table_key {
font-weight: bold;
}
.flexbox {
display: flex;
}
#banner {
background-color: #dfcba8;
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
margin-top: calc(-50vw + 50%);
display: flex;
align-items: center;
padding-top: 5px;
padding-bottom: 5px;
}
#banner_index {
background-color: #dfcba8;
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
margin-top: calc(-50vw + 50%);
padding-top: 5px;
padding-bottom: 5px;
}
#logo_title {
font-weight: bold;
font-size: 30px;
}
.searchbar {
float: right;
padding-right: 20px;
}
.right-align {
margin-left: auto;
}

View File

@ -15,6 +15,9 @@
<input type="text" placeholder="Saisissez votre recherche..." size=20>
<input type="submit" value="Rechercher">
</form>
<table
<script> {% for key, value in dres %}
{{<a href=}value{>}key{</a>}}
{% endfor %}
</script>
</body>
</html>