Commit f95863e7 authored by Denis Salem's avatar Denis Salem
Browse files

Wip: Clean and fix themes for unit tests.

parent 7ce381e2
......@@ -42,11 +42,19 @@
<div></div><span>Navigation</span><div></div>
</div>
</div>
.:IfInThread::
<div id="blog-navigation" class="navigation">
.:GetPreviousPage::<a class="navigation-previous" href="{path}"></a>·:.
<ul class="navigation-pages-list">.:ForPages::5::<li><a href="{path}">{page_number}</a></li>:: · :.</ul>
.:GetNextPage::·<a class="navigation-next" href="{path}"></a>:.
</div>
::
<div id="blog-navigation" class="navigation">
.:GetPreviousPage::<a class="navigation-previous" href="{path}" title="{entry_title}"></a>:.
.:GetNextPage::<a class="navigation-next" href="{path}" title="{entry_title}"></a>:.
</div>
:.
:.
</aside>
<div id="blog-content">
......
......@@ -26,6 +26,25 @@ h1
math
{display:block;}
.note,
.footnote
{border-left: 2px solid grey;
padding-left: 10px;
display: inline-block;
margin: 0px;
width: calc(100% - 12px);
float: none;
clear: both;}
.footnote
{height: 0px;
opacity: 0;
transition: 0.25s ease all;}
.footnote:target
{height: auto;
opacity: 1;}
/**************/
/* VENC BOXES */
/**************/
......@@ -89,8 +108,11 @@ header ul
padding: 0px;}
header li
{font-size: 1.25em;
display: inline-block;}
header li a
{margin: 1em;
font-size: 1.25em;
display: inline-block;}
header li li {font-size: 1em;}
......@@ -151,9 +173,11 @@ header a:hover
opacity: 0.5;}
.entry pre
{overflow: scroll;}
{overflow-x: auto;}
.__VENC_PYGMENTIZE_WRAPPER__ table {width: 700px; display: block; clear: both;}
.__VENC_PYGMENTIZE_WRAPPER__ {clear: both; width: 100%;}
.__VENC_PYGMENTIZE_WRAPPER__ pre {overflow: hidden; overflow-x: auto;}
.__VENC_PYGMENTIZE_WRAPPER__ table {width: 100%; display: block; clear: both;}
.__VENC_PYGMENTIZE_WRAPPER__ table tr {width: 100%; display: block;}
.__VENC_PYGMENTIZE_WRAPPER__ table tbody {width: 100%; display: block;}
.__VENC_PYGMENTIZE_WRAPPER__ table .linenos {width: 4%; display: inline-block;vertical-align: top;}
......@@ -165,7 +189,7 @@ header a:hover
/***************/
footer
{padding: 1em;
font-size: 2em;
font-size: 1.5em;
text-align: center;}
footer #pagesList
......@@ -175,16 +199,33 @@ footer #pagesList
margin: 0px;
padding-left: 3px;}
footer #pagesList li
{display:inline-block;
margin-left: 1em;
margin-right: 1em;}
footer a
{color: black;}
footer #pagesList li, #previous, #next
{display: inline-block;}
/***************/
/* L A Y O U T */
/***************/
#__VENC_THREAD__
{margin-bottom: 1em;}
@media (max-width: 360px) {
header li
{display: block;}
header ul
{margin: 0px;
padding: 0px;
display: block;}
#archivesHeader
{display: none;}
......@@ -200,6 +241,9 @@ footer #pagesList li, #previous, #next
letter-spacing: 0px;}
footer
{font-size: 1.25em;}
{font-size: 1.25em;
min-height: 1.25em;}
.__VENC_PYGMENTIZE_WRAPPER__ table .linenos {width: 5%; display: inline-block;vertical-align: top;}
.__VENC_PYGMENTIZE_WRAPPER__ table .code {width: 93%; display: inline-block;vertical-align: top;}
}
</div>
<footer id="__VENC_NAVIGATION__">
.:GetPreviousPage:: <a id="previous" href="{path}">{entry_title} ←</a>:.
<ul id="pagesList">.:ForPages::5::<li><a href="{path}">{page_number}</a></li>:: . :.</ul>
.:GetNextPage:: <a id="next" href="{path}" data-venc-api-infinite-scroll-hook="{path}">→ {entry_title}</a>:.
.:IfInThread::
.:GetPreviousPage:: <a id="previous" href="{path}"></a>:.
<ul id="pagesList">.:ForPages::5::<li><a href="{path}">{page_number}</a></li>:: . :.</ul>
.:GetNextPage:: <a id="next" href="{path}" data-venc-api-infinite-scroll-hook="{path}"></a>:.
::
.:GetPreviousPage:: <a id="previous" href="{path}" title="{entry_title}"></a>:.
.:GetNextPage:: <a id="next" href="{path}" title="{entry_title}"></a>:.
:.
</footer>
</body>
</html>
......@@ -6,7 +6,7 @@
<meta name="keywords" content=".:GetBlogKeywords:." />
<meta name="description" content=".:GetBlogDescription:."/>
<meta charset="utf-8" />
<script type="text/javascript" src=".:GetRelativeOrigin:.VenC-Infinite-Scroll-1.1.0.js"></script>
.:IfInThread::<script type="text/javascript" src=".:GetRelativeOrigin:.VenC-Infinite-Scroll-1.1.0.js"></script>:: :.
<script type="text/javascript">
window.onload = VENC_INFINITE_SCROLL_ON_LOAD;
</script>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment