From c9bf7dd9e8465ccb42264589b6ba906bb9805178 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Wed, 17 Nov 2021 22:11:22 -0500 Subject: Add static assets --- assets/index_begin.html | 21 ++++- assets/index_end.html | 9 +- assets/static/css/default.css | 198 ++++++++++++++++++++++++++++++++++++++++++ assets/static/favicon.ico | Bin 0 -> 894 bytes conf/clog.conf | 2 + 5 files changed, 225 insertions(+), 5 deletions(-) create mode 100644 assets/static/css/default.css create mode 100644 assets/static/favicon.ico diff --git a/assets/index_begin.html b/assets/index_begin.html index 3709210..4b46ec3 100644 --- a/assets/index_begin.html +++ b/assets/index_begin.html @@ -1,12 +1,25 @@ - - + -clog + + + +bunkergate.org + + -

clog posts

+ + + + +
diff --git a/assets/index_end.html b/assets/index_end.html index 53fb2b5..ea24b35 100644 --- a/assets/index_end.html +++ b/assets/index_end.html @@ -1,4 +1,11 @@
idtitlebody
+
+ + +HTML5 | +CSS3 + + - \ No newline at end of file + diff --git a/assets/static/css/default.css b/assets/static/css/default.css new file mode 100644 index 0000000..3db6da0 --- /dev/null +++ b/assets/static/css/default.css @@ -0,0 +1,198 @@ +body { + font-family: sans-serif; + color: rgb(0,0,0); + background-color: rgb(230,230,255); + font-size: 10pt; + min-width: 720px; + width: 95%; + margin-left: auto; + margin-right: auto; +} + +.post { + position: center; + color: rgb(0,0,0); + margin-top: 1em; + margin-bottom: 1em; + border-style: solid; + border-width: 1px; + border-color: rgb(0,0,0); +} + +.post .head { + border-bottom-style: solid; + border-width: 1px; + padding: 1px; +} + +.post .head h2 { + padding: 0.1em; +} + +.post .title { + font-weight: bold; +} + +.post .title a { + text-decoration: none; +} + +.post .date { + font-weight: bold; + color: rgb(230,230,255); + background-color: rgb(0,0,0); + float: right; + padding-right: 0.5em; + padding-left: 0.5em +} + +.post .tag { +/* display: none;*/ + text-align: right; + color: rgb(230,230,255); +} + +.post .tag span { + background-color: rgb(0,0,0); + padding: 0.1em 0.2em; + font-weight: bold; + color: rgb(230,230,255); +} + +.post .tag a { + color: rgb(230,230,255); +} + +.post .body { + padding: 0.5em; +} + +.post .body p { + margin: 1em; +} + +.post .body code { +/* background-color: rgb(115,115,127);*/ +/* color: rgb(230,230,255);*/ +} + +.post .body pre { + background-color: rgb(115,115,127); + color: rgb(230,230,255); + margin: 1em; + padding: 0.5em; + overflow-x: auto; +} + +.post .body h3 { + margin: 1em; +} + +.post .foot { + border-top-style: solid; + border-width: 1px; + margin: 0em; + padding: 0em; +} + +#head { + font-family: serif; + background-color: rgb(0,0,0); + color: rgb(230,230,255); + opacity: 0.5; + padding: 1px; + font-size: 40pt; + height: 0.9em; + text-shadow: 0.0em 0.0em 0.2em rgb(230,230,255); +} + +#menu { + font-weight: bold; + color: rgb(230,230,255); + background-color: rgb(0,0,0); + padding: 0.1em 0.2em; +} + +#menu a { + color: rgb(230,230,255); +} + +#menu a.email { + float: right; +} + +#menu span.email-pipe +{ + visibility: hidden; +} + +#footmenu { + font-weight: bold; + float: right; + color: rgb(230,230,255); + background-color: rgb(0,0,0); + padding: 0.1em 0.2em; +} + +#footmenu a { + color: rgb(230,230,255); + text-decoration: none; +} + +#paginate-nav { + font-weight: bold; + color: rgb(230,230,255); + background-color: rgb(0,0,0); + padding: 0.1em 0.2em; +} + +#paginate-nav a { + color: rgb(230,230,255); + text-decoration: none; +} + +h1 { + display: inline; + font-weight: normal; + font-size: 40pt; +} + +h2 { + font-size: 10pt; + display: inline; +} + +h3 { + margin: 0em; + font-size: 10pt; + display: inline; +} + +a { + color: rgb(0,0,0); +} + +hr { + display: none; +} + +dl { +/* padding: 0.5em;*/ +} + +dt { + float: left; +/* clear: left;*/ + width: 6em; + text-align: right; + font-weight: bold; +} + +dt:after { + content: ":"; +} + +dd { + margin: 0 0 0 7em; + padding: 0 0 0.5em 0; +} diff --git a/assets/static/favicon.ico b/assets/static/favicon.ico new file mode 100644 index 0000000..6d358db Binary files /dev/null and b/assets/static/favicon.ico differ diff --git a/conf/clog.conf b/conf/clog.conf index 6171c55..b86712f 100644 --- a/conf/clog.conf +++ b/conf/clog.conf @@ -19,6 +19,8 @@ domain * { certfile cert/server.pem certkey cert/key.pem + filemap /static/ assets/static + route / page route /posts page -- cgit v1.2.3