V2 #1

Merged
danieljsummers merged 102 commits from v2 into main 2022-06-23 00:35:12 +00:00
5 changed files with 26 additions and 19 deletions
Showing only changes of commit 2a5afc536e - Show all commits

View File

@ -9,6 +9,7 @@ let private themes () =
Directory.EnumerateDirectories "themes"
|> Seq.map (fun it -> it.Split Path.DirectorySeparatorChar |> Array.last)
|> Seq.filter (fun it -> it <> "admin")
|> Seq.sort
|> Seq.map (fun it -> KeyValuePair.Create (it, it))
|> Array.ofSeq

View File

@ -3,7 +3,7 @@
"hostname": "data02.bitbadger.solutions",
"database": "myWebLog_dev"
},
"Generator": "myWebLog 2.0-alpha28",
"Generator": "myWebLog 2.0-alpha29",
"Logging": {
"LogLevel": {
"MyWebLog.Handlers": "Debug"

View File

@ -1,6 +1,6 @@
<h2 class="my-3">{{ page_title }}</h2>
<article>
<form action="{{ "admin/page/save" | relative_link }}" method="post">
<form action="{{ "admin/page/save" | relative_link }}" method="post" hx-push-url="true">
<input type="hidden" name="{{ csrf.form_field_name }}" value="{{ csrf.request_token }}">
<input type="hidden" name="pageId" value="{{ model.page_id }}">
<div class="container">

View File

@ -1,6 +1,6 @@
<h2 class="my-3">{{ page_title }}</h2>
<article>
<form action="{{ "admin/post/save" | relative_link }}" method="post">
<form action="{{ "admin/post/save" | relative_link }}" method="post" hx-push-url="true">
<input type="hidden" name="{{ csrf.form_field_name }}" value="{{ csrf.request_token }}">
<input type="hidden" name="postId" value="{{ model.post_id }}">
<div class="container">

View File

@ -23,12 +23,17 @@
--audio-bkg-color: hsl(0, 0%, 10%);
--audio-text-color: hsl(0, 0%, 50%);
}
blockquote.bible {
blockquote {
background-color: var(--bkg-color);
background-image: linear-gradient(hsl(0, 0%, 85%), hsl(0, 0%, 85%)), url('../img/paper.png') repeat;
background-blend-mode: soft-light;
color: hsl(0, 0%, 95%);
}
blockquote.standard {
background: unset;
color: unset;
border-top: none;
}
.ref {
text-shadow: white 0 0 6px, white 0 0 6px, white 0 0 6px, white 0 0 6px;
}
@ -176,20 +181,24 @@ hr.sidebar-sep {
background-color: var(--accent-color);
}
blockquote {
margin: 1rem 2rem 1rem 1rem;
border-left: solid 3px var(--accent-color);
padding-left: 1rem;
}
blockquote.bible {
margin: 1rem 2rem;
/* from bible */
padding: 11px;
margin-left: 2rem;
border: 0;
background: var(--bkg-color) url('img/paper.png') repeat;
font-family: Quicksand, serif;
border-top: solid 1px black;
display: flow-root;
font-size: 1.2rem;
}
blockquote.bible cite {
blockquote.standard {
margin: 1rem 2rem 1rem 1rem;
border-left: solid 3px var(--accent-color);
}
blockquote p.cite {
margin-bottom: 0;
}
blockquote cite {
display: block;
padding-right: 11px;
text-align: right;
@ -204,7 +213,7 @@ blockquote.bible cite {
.ref {
color: red;
}
blockquote.bible sup {
blockquote sup {
color: var(--superscript-color);
padding-right: .35rem;
}
@ -214,13 +223,10 @@ blockquote.bible sup {
.u {
text-decoration: underline;
}
blockquote {
font-size: 1.2rem;
}
blockquote footer cite {
blockquote.standard footer cite {
font-style: normal;
}
blockquote footer cite::before {
blockquote.standard footer cite::before {
content: ", ";
}
cite {
@ -270,9 +276,9 @@ h1 {
margin-bottom: 1.2rem;
}
.item-heading {
margin: -.4rem;
margin-bottom: .4rem;
margin: -.4rem -.4rem .4rem -.4rem;
border-bottom: solid 2px var(--link-color);
padding-top: .4rem;
padding-bottom: .2rem;
text-align: center;
background-color: var(--heading-bkg-color);