mirror of https://gitlab.com/bashrc2/epicyon
Indentation
parent
3fe7a8c498
commit
9875820469
|
@ -927,16 +927,16 @@ aside .toggle-inside li {
|
||||||
|
|
||||||
@media screen and (min-width: 400px) {
|
@media screen and (min-width: 400px) {
|
||||||
body, html {
|
body, html {
|
||||||
background-color: var(--main-bg-color);
|
background-color: var(--main-bg-color);
|
||||||
color: var(--main-fg-color);
|
color: var(--main-fg-color);
|
||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
max-width: var(--column-center-width);
|
max-width: var(--column-center-width);
|
||||||
min-width: 950px;
|
min-width: 950px;
|
||||||
margin-left: var(--column-left-width);
|
margin-left: var(--column-left-width);
|
||||||
font-size: var(--font-size);
|
font-size: var(--font-size);
|
||||||
line-height: var(--line-spacing);
|
line-height: var(--line-spacing);
|
||||||
}
|
}
|
||||||
.column-left {
|
.column-left {
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -1400,16 +1400,16 @@ aside .toggle-inside li {
|
||||||
|
|
||||||
@media screen and (max-width: 1000px) {
|
@media screen and (max-width: 1000px) {
|
||||||
body, html {
|
body, html {
|
||||||
background-color: var(--main-bg-color);
|
background-color: var(--main-bg-color);
|
||||||
color: var(--main-fg-color);
|
color: var(--main-fg-color);
|
||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
max-width: var(--column-center-width);
|
max-width: var(--column-center-width);
|
||||||
min-width: 950px;
|
min-width: 950px;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
font-size: var(--font-size);
|
font-size: var(--font-size);
|
||||||
line-height: var(--line-spacing);
|
line-height: var(--line-spacing);
|
||||||
}
|
}
|
||||||
.column-left {
|
.column-left {
|
||||||
float: left;
|
float: left;
|
||||||
|
|
|
@ -5537,7 +5537,8 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
|
|
||||||
# happening today button
|
# happening today button
|
||||||
tlStr += \
|
tlStr += \
|
||||||
'<center>\n<a href="' + usersPath + '/calendar?year=' + \
|
' <center>\n' + \
|
||||||
|
' <a href="' + usersPath + '/calendar?year=' + \
|
||||||
str(now.year) + '?month=' + str(now.month) + \
|
str(now.year) + '?month=' + str(now.month) + \
|
||||||
'?day=' + str(now.day) + '"><button class="buttonevent">' + \
|
'?day=' + str(now.day) + '"><button class="buttonevent">' + \
|
||||||
translate['Happening Today'] + '</button></a>\n'
|
translate['Happening Today'] + '</button></a>\n'
|
||||||
|
@ -5545,18 +5546,19 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
# happening this week button
|
# happening this week button
|
||||||
if thisWeeksEventsCheck(baseDir, nickname, domain):
|
if thisWeeksEventsCheck(baseDir, nickname, domain):
|
||||||
tlStr += \
|
tlStr += \
|
||||||
'<a href="' + usersPath + \
|
' <a href="' + usersPath + \
|
||||||
'/calendar"><button class="buttonevent">' + \
|
'/calendar"><button class="buttonevent">' + \
|
||||||
translate['Happening This Week'] + '</button></a>\n'
|
translate['Happening This Week'] + '</button></a>\n'
|
||||||
tlStr += '</center>\n'
|
tlStr += ' </center>\n'
|
||||||
else:
|
else:
|
||||||
# happening this week button
|
# happening this week button
|
||||||
if thisWeeksEventsCheck(baseDir, nickname, domain):
|
if thisWeeksEventsCheck(baseDir, nickname, domain):
|
||||||
tlStr += \
|
tlStr += \
|
||||||
'<center>\n<a href="' + usersPath + \
|
' <center>\n' + \
|
||||||
|
' <a href="' + usersPath + \
|
||||||
'/calendar"><button class="buttonevent">' + \
|
'/calendar"><button class="buttonevent">' + \
|
||||||
translate['Happening This Week'] + '</button></a>\n' + \
|
translate['Happening This Week'] + '</button></a>\n' + \
|
||||||
'</center>\n'
|
' </center>\n'
|
||||||
|
|
||||||
# benchmark 8
|
# benchmark 8
|
||||||
timeDiff = int((time.time() - timelineStartTime) * 1000)
|
timeDiff = int((time.time() - timelineStartTime) * 1000)
|
||||||
|
|
Loading…
Reference in New Issue