Skip to content

Commit bcbb9a5

Browse files
committed
Update index.html generation: fix stylesheet path and improve GitHub link text
1 parent 2297ea4 commit bcbb9a5

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

exporters/html/html_export.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def generate_index_html(output_path: Path, num_recent: int = 10) -> None:
253253
<meta charset="UTF-8">
254254
<meta name="viewport" content="width=device-width, initial-scale=1.0">
255255
<title>SE-Lex</title>
256-
<link rel="stylesheet" href="/styles.css">
256+
<link rel="stylesheet" href="styles.css">
257257
<style>
258258
header {
259259
text-align: center;
@@ -281,10 +281,6 @@ def generate_index_html(output_path: Path, num_recent: int = 10) -> None:
281281
transition: background-color 0.3s;
282282
}
283283
284-
.github-link:hover {
285-
background-color: var(--selex-light-blue);
286-
}
287-
288284
.document-list {
289285
background: white;
290286
border-radius: 8px;
@@ -323,7 +319,7 @@ def generate_index_html(output_path: Path, num_recent: int = 10) -> None:
323319
<body>
324320
<header>
325321
<h1><span class="logo">SE-Lex</span></h1>
326-
<a href="https://github.com/se-lex" class="github-link">→ GitHub: se-lex</a>
322+
<a href="https://github.com/se-lex" class="github-link">Mer information & källkod på GitHub-repo</a>
327323
</header>
328324
329325
<main>

0 commit comments

Comments
 (0)