Compare commits
No commits in common. "f2fc55c614adfffff76a015c53052717da45de1d" and "cb792d449607e481cac9690d2557c2d3b8130a8f" have entirely different histories.
f2fc55c614
...
cb792d4496
|
@ -0,0 +1,93 @@
|
|||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*, *:before, *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background-color: rgb(240, 240, 240);
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
||||
article {
|
||||
max-width: 1012px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
padding-bottom: 4em;
|
||||
}
|
||||
|
||||
nav {
|
||||
background-color: rgb(32, 32, 32);
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
color: rgb(180, 220, 180);
|
||||
}
|
||||
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 2.5rem;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav a {
|
||||
color: rgb(220, 220, 250);
|
||||
}
|
||||
|
||||
|
||||
.footer-wrapper, .nav-wrapper {
|
||||
max-width: 1012px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.nav-wrapper {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
transition: 0.3s;
|
||||
padding-top: 1.2em;
|
||||
padding-bottom: 1.2em;
|
||||
}
|
||||
|
||||
.nav-item a {
|
||||
padding-left: 1.8em;
|
||||
padding-right: 1.8em;
|
||||
padding-top: 1.2em;
|
||||
padding-bottom: 1.2em;
|
||||
font-size: 1.2em;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.nav-item:hover {
|
||||
background-color: rgb(180, 220, 200);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.nav-item:hover a {
|
||||
transition: 0.3s;
|
||||
color: rgb(5, 35, 35);
|
||||
}
|
||||
|
||||
.footer-wrapper {
|
||||
text-align: right;
|
||||
padding-top: 1.0em;
|
||||
padding-bottom: 1em;
|
||||
padding-left: 1.0em;
|
||||
padding-right: 1.0em;
|
||||
/*bottom: 0;*/
|
||||
}
|
1
main.go
1
main.go
|
@ -183,6 +183,7 @@ func startServer(srv *http.Server) {
|
|||
//serveMux.Handle("/certbot/", http.StripPrefix("/certbot/", http.FileServer(http.Dir("./certbot-tmp"))))
|
||||
serveMux.Handle("/gfm/", http.StripPrefix("/gfm", http.FileServer(gfmstyle.Assets)))
|
||||
serveMux.Handle("/resize/", Cache(Resize(640, http.StripPrefix("/resize", http.FileServer(http.Dir("static/"))))))
|
||||
serveMux.HandleFunc("/main.css", func(w http.ResponseWriter, r *http.Request) { http.ServeFile(w, r, "main.css") })
|
||||
if webhookKey != nil {
|
||||
log.Print("web hook found")
|
||||
serveMux.HandleFunc("/update", func(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
Loading…
Reference in New Issue