Mise en page de la section documentation

Catégories de documents et noms de documents
This commit is contained in:
Alexel 2023-08-16 15:10:49 -04:00
parent 415ad428f7
commit 26751f508f
2 changed files with 48 additions and 2 deletions

View file

@ -0,0 +1,45 @@
.documentationCategorie {
font-family: "Poppins";
font-weight: 600;
/*semi-bold*/
font-size: 1.5rem;
/*24px*/
color: #fff;
/*Blanc pur*/
background-color: #394596;
/*Blanc pur*/
text-align: left;
width: 100%;
cursor: pointer;
}
.documentationDescription {
padding: 20px;
}
.documentationListe {
font-weight: 400;
/*semi-bold*/
font-size: 1rem;
/*16px*/
background-color: #fff;
list-style: none;
padding: 0;
}
.documentationDocument {
font-weight: 400;
/*semi-bold*/
font-size: 1rem;
/*16px*/
padding: 10px 20px;
}
.documentationDocument:hover {
background-color: rgba();
}
.documentationLien {
height: inherit;
width: inherit;
}

View file

@ -4,6 +4,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>AGECEM | Documentation</title> <title>AGECEM | Documentation</title>
<link rel="stylesheet" href="/public/css/documentation.css">
{{ template "general-html" }} {{ template "general-html" }}
</head> </head>
<body> <body>
@ -17,9 +18,9 @@
<details class="documentationCategorie"> <details class="documentationCategorie">
<summary class="documentationDescription">{{ $bucket_display_name }}</summary> <summary class="documentationDescription">{{ $bucket_display_name }}</summary>
<ul> <ul class="documentationListe">
{{ range .Documents }} {{ range .Documents }}
<li class="documentationDocument"> <a href="/public/documentation/{{ $bucket_name }}/{{ . }}">{{ . }}</a></li> <a class ="documentationLien" href="/public/documentation/{{ $bucket_name }}/{{ . }}"><li class="documentationDocument">{{ . }}</li></a>
{{ end}} {{ end}}
</ul> </ul>
</details> </details>