Intial card layout design
Format episodes, series, syndication pages with card format.
This commit is contained in:
@@ -249,9 +249,35 @@ article > p,
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 0.5rem;
|
gap: 1.0rem;
|
||||||
|
justify-content: space-between;
|
||||||
|
justify-items: space-between;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#podcast_lane > .lane,
|
||||||
|
#project_lane > .lane,
|
||||||
|
#latest_lane.lane {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
.lane > article {
|
||||||
|
padding: 1.0rem;
|
||||||
|
/* Add shadows to create the "card" effect */
|
||||||
|
border-top: thin solid hsl(190deg 48% 49% / 0.2);
|
||||||
|
border-left: thin solid hsl(190deg 48% 49% / 0.2);
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
box-shadow:
|
||||||
|
1px 2px 2px hsl(190deg 48% 49% / 0.2),
|
||||||
|
2px 4px 4px hsl(190deg 48% 49% / 0.2);
|
||||||
|
transition: 0.3s;
|
||||||
|
width: max-content;
|
||||||
|
flex: 1 0 50%;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
.lane > article:hover {
|
||||||
|
box-shadow:
|
||||||
|
4px 8px 8px hsl(190deg 48% 49% / 0.2),
|
||||||
|
8px 16px 16px hsl(190deg 48% 49% / 0.2);
|
||||||
|
}
|
||||||
a.lane-button {
|
a.lane-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -369,7 +395,10 @@ fieldset > input {
|
|||||||
border: thin solid var(--input-border-primary);
|
border: thin solid var(--input-border-primary);
|
||||||
border-radius: 0.2rem;
|
border-radius: 0.2rem;
|
||||||
}
|
}
|
||||||
@media (min-width: 900px) {
|
.no-css {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
@media (min-width: 600px) {
|
||||||
body > header {
|
body > header {
|
||||||
background-size: 200pt, cover;
|
background-size: 200pt, cover;
|
||||||
background-position: left 128pt top -12pt, left top;
|
background-position: left 128pt top -12pt, left top;
|
||||||
@@ -395,9 +424,7 @@ fieldset > input {
|
|||||||
}
|
}
|
||||||
#qr_code {
|
#qr_code {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
max-width: 195px;
|
||||||
#qr_code > img {
|
|
||||||
max-height: 195px;
|
|
||||||
}
|
}
|
||||||
fieldset>table,
|
fieldset>table,
|
||||||
fieldset>table thead,
|
fieldset>table thead,
|
||||||
@@ -446,4 +473,11 @@ fieldset > input {
|
|||||||
body > main {
|
body > main {
|
||||||
padding: 0.25rem 2rem;
|
padding: 0.25rem 2rem;
|
||||||
}
|
}
|
||||||
|
.lane > article {
|
||||||
|
flex-basis: 30%;
|
||||||
|
/* max-width: 30%; */
|
||||||
|
}
|
||||||
|
#latest_lane.lane section > ul {
|
||||||
|
margin: 0.5rem 3rem 0 1rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,23 +1,25 @@
|
|||||||
<!--% PROCESS 'shared-episode-summary.tpl.html' %-->
|
<!--% PROCESS 'shared-episode-summary.tpl.html' %-->
|
||||||
<!--% PROCESS "queries-episodes.tpl.html" %-->
|
<!--% PROCESS "queries-episodes.tpl.html" %-->
|
||||||
<article>
|
|
||||||
<header>
|
|
||||||
<h1>Complete Archive of Shows.</h1>
|
<h1>Complete Archive of Shows.</h1>
|
||||||
<p>
|
<p>
|
||||||
All this information is available to the public. Scrape if you wish but if we can format the data for you then we're happy to help.
|
All this information is available to the public. Scrape if you wish but if we can format the data for you then we're happy to help.
|
||||||
</p>
|
</p>
|
||||||
</header>
|
<div class="lane">
|
||||||
<!--% USE DBI(constants.driver) %-->
|
<!--% USE DBI(constants.driver) %-->
|
||||||
<!--% FOREACH episodes IN DBI.query(query_episodes)
|
<!--% FOREACH episodes IN DBI.query(query_episodes)
|
||||||
%-->
|
%-->
|
||||||
|
<article>
|
||||||
<!--% show_summary(episodes) %-->
|
<!--% show_summary(episodes) %-->
|
||||||
<p class="listen-in"><!--% display_listen_in(episodes.id) %--></p>
|
<p class="listen-in"><!--% display_listen_in(episodes.id) %--></p>
|
||||||
|
</article>
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
</div>
|
||||||
<h2 id="twt_episodes">Today With a Techie Archived Shows</h2>
|
<h2 id="twt_episodes">Today With a Techie Archived Shows</h2>
|
||||||
<p>
|
<p>
|
||||||
<!-- Creative Commons License -->
|
<!-- Creative Commons License -->
|
||||||
<a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/2.5/"><img alt="Creative Commons License" border="0" src="https://creativecommons.org/images/public/somerights20.png" width="88" height="31" /></a><br>The following work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/2.5/">Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License</a>.</p>
|
<a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/2.5/"><img alt="Creative Commons License" border="0" src="https://creativecommons.org/images/public/somerights20.png" width="88" height="31" /></a><br>The following work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/2.5/">Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License</a>.</p>
|
||||||
<p>Today With a Techie Radio was brought to you by <a href="https://en.wikipedia.org/wiki/Infonomicon">The Infonomicon Computer Club</a></p>
|
<p>Today With a Techie Radio was brought to you by <a href="https://en.wikipedia.org/wiki/Infonomicon">The Infonomicon Computer Club</a></p>
|
||||||
|
<div class="lane">
|
||||||
<!--% FOREACH twat_episode IN DBI.query('
|
<!--% FOREACH twat_episode IN DBI.query('
|
||||||
SELECT
|
SELECT
|
||||||
eps.id,
|
eps.id,
|
||||||
@@ -33,8 +35,9 @@
|
|||||||
ORDER BY eps.id DESC
|
ORDER BY eps.id DESC
|
||||||
')
|
')
|
||||||
%-->
|
%-->
|
||||||
|
<article>
|
||||||
<!--% twat_show_summary(twat_episode) %-->
|
<!--% twat_show_summary(twat_episode) %-->
|
||||||
|
</article>
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
@@ -1,10 +1,11 @@
|
|||||||
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
||||||
<!--% PROCESS "queries-series.tpl.html" %-->
|
<!--% PROCESS "queries-series.tpl.html" %-->
|
||||||
<article>
|
|
||||||
<!--% USE DBI(constants.driver) %-->
|
<!--% USE DBI(constants.driver) %-->
|
||||||
<h1 class="title">In-Depth Series</h1>
|
<h1 class="title">In-Depth Series</h1>
|
||||||
|
<div class="lane">
|
||||||
<!--% FOREACH series IN DBI.query(query_episodes) %-->
|
<!--% FOREACH series IN DBI.query(query_episodes) %-->
|
||||||
<h2><a href="<!--% absolute_path(baseurl) %-->series/<!--% zero_pad_left(series.id) %-->.html"><!--% series.name %--></a></h2>
|
<article>
|
||||||
|
<header><a href="<!--% absolute_path(baseurl) %-->series/<!--% zero_pad_left(series.id) %-->.html"><!--% series.name %--></a></header>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Number of episodes: <!--% series.number_of_episodes %--></li>
|
<li>Number of episodes: <!--% series.number_of_episodes %--></li>
|
||||||
<li>Open/closed: <!--% display_choice(series.private, 'closed', 'open') %--></li>
|
<li>Open/closed: <!--% display_choice(series.private, 'closed', 'open') %--></li>
|
||||||
@@ -13,5 +14,6 @@
|
|||||||
<li>Series RSS feeds: <a href="<!--% absolute_path(baseurl) %-->hpr_ogg_rss.php?series=<!--% series.id %-->">ogg</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_spx_rss.php?series=<!--% series.id %-->">spx</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_mp3_rss.php?series=<!--% series.id %-->">mp3</a></li>
|
<li>Series RSS feeds: <a href="<!--% absolute_path(baseurl) %-->hpr_ogg_rss.php?series=<!--% series.id %-->">ogg</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_spx_rss.php?series=<!--% series.id %-->">spx</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_mp3_rss.php?series=<!--% series.id %-->">mp3</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<em><!--% series.description %--></em>
|
<em><!--% series.description %--></em>
|
||||||
<!--% END %-->
|
|
||||||
</article>
|
</article>
|
||||||
|
<!--% END %-->
|
||||||
|
</div>
|
||||||
|
@@ -1,13 +1,9 @@
|
|||||||
<h1>RSS Syndication</h1>
|
<h1>RSS Syndication</h1>
|
||||||
|
|
||||||
<article>
|
|
||||||
<header>
|
|
||||||
<h2>Subscribe to our Feeds</h2>
|
<h2>Subscribe to our Feeds</h2>
|
||||||
</header>
|
|
||||||
<p>
|
<p>
|
||||||
Great that you want to listen. Have a look below at the feeds that best suite your listening habits.
|
Great that you want to listen. Have a look below at the feeds that best suite your listening habits.
|
||||||
</p>
|
</p>
|
||||||
</article>
|
<div class="lane">
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<h2><img src="<!--% absolute_path(baseurl) %-->images/feed.png" alt="rss logo"> The Community News Summary</h2>
|
<h2><img src="<!--% absolute_path(baseurl) %-->images/feed.png" alt="rss logo"> The Community News Summary</h2>
|
||||||
@@ -77,7 +73,8 @@
|
|||||||
<li><a href="<!--% absolute_path(baseurl) %-->comments.rss">Listener contributed comments to the episodes</a></li>
|
<li><a href="<!--% absolute_path(baseurl) %-->comments.rss">Listener contributed comments to the episodes</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
<hr />
|
<div>
|
||||||
|
<hr class="no-css">
|
||||||
<h1>Other Download Options</h1>
|
<h1>Other Download Options</h1>
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
|
Reference in New Issue
Block a user