[Events] readability improvement, banner spacing
This commit is contained in:
@@ -36,7 +36,7 @@ def main():
|
|||||||
f.write(html)
|
f.write(html)
|
||||||
f.close()
|
f.close()
|
||||||
with open(f'pages/en/{page["name"]}.html') as f:
|
with open(f'pages/en/{page["name"]}.html') as f:
|
||||||
pageHtml = "<div><img src='/img/students_bug.jpg' alt='Students found the bug' /></div>"
|
pageHtml = "<div class='cover-wrap'><img src='/img/students_bug.jpg' alt='Students found the bug' /></div>"
|
||||||
pageHtml += f.read()
|
pageHtml += f.read()
|
||||||
html = buildPage(page['name'], page['titleEN'], pageHtml, page['style'], templateEN)
|
html = buildPage(page['name'], page['titleEN'], pageHtml, page['style'], templateEN)
|
||||||
f = open(f'site/en/{page["name"]}.html', 'w')
|
f = open(f'site/en/{page["name"]}.html', 'w')
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.date {
|
.date {
|
||||||
width: 250px;
|
width: 220px;
|
||||||
font-size: 0.9em;
|
font-size: 0.75em;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@@ -32,24 +32,32 @@
|
|||||||
.title {
|
.title {
|
||||||
border-left: 2px solid var(--border);
|
border-left: 2px solid var(--border);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-left: 1rem;
|
padding-left: 2rem;
|
||||||
padding-right: 0.5em;
|
padding-right: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.place {
|
.place {
|
||||||
font-size: 0.9em;
|
font-size: 0.7em;
|
||||||
|
opacity: 0.7;
|
||||||
|
&:before {
|
||||||
|
content: "-";
|
||||||
|
margin-right: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.types {
|
.types {
|
||||||
font-size: 0.9em;
|
font-size: 0.8em;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
font-weight: 900;
|
||||||
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1160px) {
|
@media screen and (max-width: 1160px) {
|
||||||
.event {
|
.event {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 2.2rem;
|
||||||
border-left: 3px solid var(--border);
|
border-left: 3px solid var(--border);
|
||||||
&:hover {
|
&:hover {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
@@ -71,6 +79,9 @@
|
|||||||
.title {
|
.title {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
}
|
}
|
||||||
|
.place:before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.types {
|
.types {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user