maud formatting
This commit is contained in:
66
src/page.rs
66
src/page.rs
@@ -10,52 +10,50 @@ pub fn new(content: Markup) -> Markup {
|
||||
meta name="viewport" content="width=device-width, initial-scale=1.0";
|
||||
link rel="stylesheet" href="/static/pico.min.css";
|
||||
link rel="stylesheet" href="/static/style.css";
|
||||
title {
|
||||
"Digital Shadows"
|
||||
}
|
||||
title { "Digital Shadows" }
|
||||
}
|
||||
body {
|
||||
header.container {
|
||||
nav {
|
||||
ul {
|
||||
li { a href="/" { strong { "Digital Shadows" } } }
|
||||
nav {
|
||||
ul {
|
||||
li {
|
||||
a href="/" {
|
||||
strong { "Digital Shadows" }
|
||||
}
|
||||
}
|
||||
ul {
|
||||
li {
|
||||
a href="/"{
|
||||
span role="img" aria-label="home" {
|
||||
"🏠"
|
||||
}
|
||||
}
|
||||
}
|
||||
ul {
|
||||
li {
|
||||
a href="/" {
|
||||
span role="img" aria-label="home" { "🏠" }
|
||||
}
|
||||
li {
|
||||
a href="/game" {
|
||||
span role="img" aria-label="camera" {
|
||||
"📸"
|
||||
}
|
||||
}
|
||||
}
|
||||
li {
|
||||
a href="/game" {
|
||||
span role="img" aria-label="camera" { "📸" }
|
||||
}
|
||||
li { span id="theme_switcher" {} }
|
||||
}
|
||||
li {
|
||||
span id="theme_switcher" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
main.container {
|
||||
section {
|
||||
(content)
|
||||
}
|
||||
}
|
||||
main.container {
|
||||
section { (content) }
|
||||
}
|
||||
|
||||
footer.container {
|
||||
small {
|
||||
"Footer "
|
||||
mark { "to be completed" }
|
||||
a href="#" { "with links" }
|
||||
" • "
|
||||
a target="_blank" href="https://www.digidow.eu/impressum/" { "Impressum" }
|
||||
}
|
||||
footer.container {
|
||||
small {
|
||||
"Footer "
|
||||
mark { "to be completed" }
|
||||
a href="#" { "with links" }
|
||||
" • "
|
||||
a target="_blank" href="https://www.digidow.eu/impressum/" { "Impressum" }
|
||||
}
|
||||
script src="/static/theme.js" {}
|
||||
}
|
||||
script src="/static/theme.js" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user