Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGruber committed Sep 23, 2024
1 parent 4908427 commit 5d9d0e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func serveHtml() {
fs := http.FileServer(http.Dir("public"))

http.Handle("/", fs)
http.Handle("/styles.css", http.FileServer(http.Dir("public")))
http.Handle("/styles.css", fs)

server_addr := os.Getenv("SERVER_ADDR")
if server_addr == "" {
Expand Down
14 changes: 8 additions & 6 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ nav a {
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
padding: 10px 12px;
text-decoration: none;
font-size: 17px;
}
Expand All @@ -20,7 +20,7 @@ nav a:hover {
}

nav a.active {
background-color: #4CAF50;
background-color: #4caf50;
color: white;
}

Expand Down Expand Up @@ -76,7 +76,8 @@ header nav {
margin-top: 10px;
}

header .highlight, header .current a {
header .highlight,
header .current a {
color: #e8491d;
font-weight: bold;
}
Expand Down Expand Up @@ -148,7 +149,7 @@ iframe {

/* Pa737 */
body {
font-family: 'Arial', sans-serif;
font-family: "Arial", sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
Expand All @@ -172,7 +173,7 @@ header a {
color: #fff;
text-decoration: none;
text-transform: uppercase;
font-size: 16px;
font-size: 15px;
}

header ul {
Expand All @@ -198,7 +199,8 @@ header nav {
margin-top: 10px;
}

header .highlight, header .current a {
header .highlight,
header .current a {
color: #e8491d;
font-weight: bold;
}
Expand Down

0 comments on commit 5d9d0e5

Please sign in to comment.