close to prerelase
This commit is contained in:
parent
e55fbb5b67
commit
31022358ed
181 changed files with 2118 additions and 141 deletions
8
werc/sites/events.thirdculture.top/_werc/config
Normal file
8
werc/sites/events.thirdculture.top/_werc/config
Normal file
|
@ -0,0 +1,8 @@
|
|||
masterSite=thirdculture.top
|
||||
siteTitle='Third Culture Events'
|
||||
siteSubTitle='happening right now'
|
||||
conf_enable_ico
|
||||
icoTitle='Events'
|
||||
icoDesc='Hand picked, interesting events happening in the Ottawa area!'
|
||||
conf_enable_wiki
|
||||
conf_dirdir_index_type='html'
|
|
@ -0,0 +1,28 @@
|
|||
<header>
|
||||
<h1><a href="/"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAMAAACfvvDEAAADAFBMVEUAAAAAAKgA/wD/+wCC/wAA/wAA/30A//8Agv8AAP95AP/PAP//ANf/AIL/AAD/fQDLmkWWPBhhAAD/94LD/4KC/4KC/76C//+Cw/+Cgv+mgv/Pgv/7gv//gsP/goL/noKCAACCHACCPACCUQCCZQCCeQBBggAAggAAgjwAgoIAQYIAAIIoAIJNAIJ5AIKCAEEAAAAQEBAgICAwMDBFRUVVVVVlZWV1dXWGhoaampqqqqq6urrLy8vf39/v7+////9NAABZAABxAACGAACeAAC2AADPAADnAAD/AAD/HBz/NDT/UVH/bW3/ior/oqL/vr5NJABVKABtNACGPACeSQC2WQDPZQDncQD/fQD/jhz/mjT/plH/sm3/vob/z6L/375NSQBZUQBxaQCGggCelgC2rgDPxwDn4wD//wD//xz/+zT/+1H/923/+4b/+6L/+74ATQAAYQAAeQAAjgAApgAAugAA0wAA6wAA/wAc/xw4/zRV/1Fx/22K/4am/6LD/74AQUEAWVkAcXEAhoYAnp4AtrYAz88A5+cA//9Z//t1//uK//+e//u6///L///b//8AIEEALFkAOHEARYYAUZ4AXbYAac8AdecAgv8cjv80nv9Rqv9tuv+Ky/+i1/++4/8AAE0AAGUABHkABI4ABKYAAL4AANMAAOsAAP8cJP80PP9RXf9tef+Kkv+iqv++x/8kAE0wAGVBAIJNAJpZALJlAMtxAOd5AP+CAP+OHP+WNP+mUf+ubf++hv/Lov/bvv9JAE1fAGN1AHqLAJChAKe3AL3NANTjAOvmF+3qL/DtR/LxX/X0dvf4jvr7pvz/vv8gAAAsAAA4BARJDAhVFBBhIBhxKCR9OCyGRTiaWU2qbV26gnXLmorfsqLvz77/698gIAA8PABRTQBlWQh5ZQyObRSieRy2fSi+gjjHjk3PlmHbpnXjso7rw6b308P/69//HBz/HBz/HBz/HBz/HBz/HBz/HBysfHz/HBz/HBz/HBz/HBwAAABtbW2qqqptbW0REdKpAAAAD3RFWHRTb2Z0d2FyZQBHcmFmeDKgolNqAAAASGNyTmcAAAACMD8AAAACQE8AAAACUF8AAAACYG8AAAACcH8AAAACgI8AAAACkJ8AAAACoK8AAAACsL8AAAACwM8AAAAC0N8AAAAC4O+6mu6bAAAAk0lEQVQ4jd3UXQ6AIAgA4C7BC6dg3f9wZTPkz2RlD4W1gr6htdmyZmN5SdI4Pi5xHymJJeZKxIA+k4dyNJDIEhOyXS4kC0OdRCVxIP1tINVTldyW5i1kqqX9iDL3ksjQSHId6implG0ugHLompV1KqhQFIVUkBztSF5nJIMNoaju2ZOmp9+4JyXTcxC/lfn//Gy5AVilLcOiiriTAAAAAElFTkSuQmCC"></a><a href="/" class="headerLink">%($"siteTitle%) <br><span id="headerSubTitle">[ %($"siteSubTitle%) ]</span></a></h1>
|
||||
<nav>
|
||||
% cat `{ get_lib_file top_bar.inc }
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
% if(! ~ $#handlers_bar_left 0) {
|
||||
<nav id="side-bar">
|
||||
% for(h in $handlers_bar_left) {
|
||||
<div>
|
||||
% run_handler $$h
|
||||
</div>
|
||||
% }
|
||||
</nav>
|
||||
% }
|
||||
|
||||
<div class="background"></div>
|
||||
<article>
|
||||
% run_handlers $handlers_body_head
|
||||
% run_handler $handler_body_main
|
||||
% run_handlers $handlers_body_foot
|
||||
</article>
|
||||
|
||||
<footer>
|
||||
% run_handlers $handlers_foot_body
|
||||
% cat `{ get_lib_file footer.inc }
|
||||
</footer>
|
|
@ -0,0 +1,4 @@
|
|||
<div><p>[ <a href="/new_post">Make a new post</a> ]</p>
|
||||
<form action="" method="POST">
|
||||
<p>[ <input type="submit" name="dirdir_edit" value="Edit page" /> ]</p>
|
||||
</form></div>
|
BIN
werc/sites/events.thirdculture.top/_werc/pub/imgs/starback.gif
Normal file
BIN
werc/sites/events.thirdculture.top/_werc/pub/imgs/starback.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
359
werc/sites/events.thirdculture.top/_werc/pub/style.css
Normal file
359
werc/sites/events.thirdculture.top/_werc/pub/style.css
Normal file
|
@ -0,0 +1,359 @@
|
|||
body {
|
||||
background:
|
||||
url("imgs/starback.gif"),
|
||||
black;
|
||||
background-repeat: repeat;
|
||||
}
|
||||
|
||||
.background {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
backdrop-filter: blur(1px);
|
||||
}
|
||||
|
||||
nav#side-bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
article {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
backdrop-filter: none;
|
||||
}
|
||||
|
||||
input[name="dirdir_edit"] {
|
||||
color: #2667de;
|
||||
display: inline-block;
|
||||
font-weight: normal;
|
||||
padding: 0;
|
||||
font-size: 100%
|
||||
}
|
||||
input[name="dirdir_edit"]:hover {
|
||||
color: #2667de !important;
|
||||
background-color: none;
|
||||
border-left: none;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.icofeed {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||||
gap: 10px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.categories_box {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.categories_box legend {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.categories {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
.categories a {
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
transition: color 0.1s ease;
|
||||
}
|
||||
|
||||
.categories a:hover {
|
||||
color: white;
|
||||
animation: flicker 0.8s infinite;
|
||||
transition: opacity 0.1s ease;
|
||||
}
|
||||
|
||||
.categories a::after {
|
||||
content: "|";
|
||||
color: white;
|
||||
padding-right: 0.5em;
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
.categories a:last-child::after {
|
||||
content: "|";
|
||||
}
|
||||
|
||||
.categories a:first-child::before {
|
||||
color: white;
|
||||
content: "|";
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
@keyframes flicker {
|
||||
0% { color: #fff; opacity: 1; }
|
||||
25% { color: #def8ff; opacity: 1; }
|
||||
50% { color: #fff; opacity: 1; }
|
||||
75% { color: #def8ff; opacity: 1; }
|
||||
100% { color: #fff; opacity: 1; }
|
||||
}
|
||||
|
||||
.event_box {
|
||||
text-align: center;
|
||||
border-left: 4px solid white;
|
||||
border-right: 4px solid white;
|
||||
border-radius: 4px;
|
||||
max-width: fit-content;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.event_box h2 {
|
||||
font-size: xxx-large;
|
||||
}
|
||||
|
||||
.date {
|
||||
display: flex;
|
||||
background-color: rgba(30,30,30,0.5);
|
||||
color: #f0f0f0;
|
||||
padding: 8px 0px 8px 0px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #4a4a4a;
|
||||
align-items: center;
|
||||
font-size: large;
|
||||
margin: auto;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.date::before,
|
||||
.date::after {
|
||||
content: '⋆★⋆';
|
||||
flex: 1;
|
||||
color: grey;
|
||||
}
|
||||
|
||||
.date:not(:empty)::before {
|
||||
margin-right: .25em;
|
||||
}
|
||||
|
||||
.date:not(:empty)::after {
|
||||
margin-left: .25em;
|
||||
}
|
||||
|
||||
|
||||
.post {
|
||||
background-color: rgba(0,0,0,0);
|
||||
border: 1px solid #3a3a3a;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
aspect-ratio: 1;
|
||||
position: relative;
|
||||
transition: box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
.post .event_info .date {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.post .event_info .date::before,
|
||||
.post .event_info .date::after {
|
||||
content: '⋆★⋆';
|
||||
flex: 1;
|
||||
color: var(--alt-accent)
|
||||
}
|
||||
|
||||
.post .event_info .date:not(:empty)::before {
|
||||
margin-right: .25em;
|
||||
}
|
||||
|
||||
.post .event_info .date:not(:empty)::after {
|
||||
margin-left: .25em;
|
||||
}
|
||||
|
||||
.post .event_box h2 {
|
||||
margin: 0;
|
||||
padding: 12px;
|
||||
font-size: 200%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.post .cat_list {
|
||||
padding: 0 12px;
|
||||
font-size: 0.9em;
|
||||
color: #b0b0b0;
|
||||
}
|
||||
|
||||
.post .cat_list a {
|
||||
color: #66b3ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.location a[href=""] {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.location a[href=""]:hover {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.post .cat_list a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.cat_list div {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.cat_list::before {
|
||||
content: 'Catagories: ';
|
||||
}
|
||||
|
||||
.post .cat_list::before {
|
||||
content: '';
|
||||
}
|
||||
|
||||
.post .cat_list div:nth-child(n+4) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.event_body {
|
||||
padding: 12px;
|
||||
color: #c0c0c0;
|
||||
flex-grow: 1;
|
||||
overflow: hidden;
|
||||
font-size: medium;
|
||||
max-width: 650px;
|
||||
}
|
||||
|
||||
.post .event_body {
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
line-clamp: 3;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.event_info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: rgba(30,30,30,0.5);
|
||||
padding: 1px 1px 5px 1px;
|
||||
margin: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.event_info > div {
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #4a4a4a;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.event_info .cat_list {
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.post .event_info .cat_list {
|
||||
width: initial;
|
||||
}
|
||||
|
||||
.event_info .location::before {
|
||||
content: 'Location: ';
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.event_info .event_link::before {
|
||||
content: '> ';
|
||||
}
|
||||
.event_info .event_link::after {
|
||||
content: ' <';
|
||||
}
|
||||
|
||||
.post .event_poster {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.event_poster img {
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.post .event_poster img {
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.post .event_box {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-align: left;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.post .event_box > * {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post:hover .event_info a, .post:hover .event_body {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.event_box_link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post .event_box_link {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.event_img_link {
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.post:hover .event_box {
|
||||
background-color: rgba(0,0,0,0.7);
|
||||
}
|
||||
|
||||
.post:hover .event_box > * {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.post .event_box .event_poster {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.link_span {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.post:hover .link_span {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.icofeed {
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue