align time right

main2
Bob Mottram 2019-10-10 12:22:16 +01:00
parent 7772489cb0
commit 503e079547
2 changed files with 12 additions and 11 deletions

View File

@ -382,6 +382,11 @@ input[type=number] {
font-size: var(--font-size);
}
.labelsright {
float: right;
font-size: var(--font-size);
}
input[type=date] {
background-color: var(--main-bg-color-reply);
color: var(--main-fg-color);
@ -606,10 +611,8 @@ div.gallery img {
float: left;
max-width: 400px;
width: 8%;
padding: 0px 7px;
margin-right: 20px;
border-radius: 10%;
vertical-align: middle;
-ms-transform: translateY(-25%);
transform: translateY(-25%);
}
.container img.timelineicon {
float: right;
@ -872,10 +875,8 @@ div.gallery img {
float: left;
max-width: 400px;
width: 12%;
padding: 0px 7px;
margin-right: 20px;
border-radius: 10%;
vertical-align: middle;
-ms-transform: translateY(-25%);
transform: translateY(-25%);
}
.container img.timelineicon {
float: right;

View File

@ -937,10 +937,10 @@ def htmlNewPost(translate: {},baseDir: str, \
'<p><img class="emojicalendar" src="/emoji/1F5D3.png"/>' \
'<label class="labels">'+translate['Date']+': </label>' \
'<input type="date" name="eventDate">' \
'<label class="labels">'+translate['Time']+': </label>' \
'<input type="time" name="eventTime"></p>' \
'<label class="labelsright">'+translate['Time']+':' \
'<input type="time" name="eventTime"></label></p>' \
'<input type="text" placeholder="'+translate['Location']+'" name="location">' \
'</div>' \
'</div>'
newPostForm=htmlHeader(cssFilename,newPostCSS)