mirror of
https://github.com/aljazceru/twentyone-world.github.io.git
synced 2026-01-10 10:14:31 +01:00
feat: cleanup
This commit is contained in:
@@ -9,51 +9,11 @@ layout: core
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span3 sidebar">
|
||||
<div class="head">
|
||||
<p class="tagline">A simple and lightweight framework for creating beautiful, interactive vector maps.</p>
|
||||
</div>
|
||||
|
||||
{% if page.toc %}
|
||||
{% if page.toc == true %}
|
||||
<div class="toc">
|
||||
<h3>Table of Contents</h3>
|
||||
</div>
|
||||
{% else %}
|
||||
{% for tocinfo in page.toc %}
|
||||
<div class="toc">
|
||||
<h3>{{ tocinfo[0] }}</h3>
|
||||
|
||||
<ul>
|
||||
{% for l in tocinfo[1] %}
|
||||
{% if l[1]['_'] %}
|
||||
<li><a href="{{ l[0] }}">{{ l[1]['_'] }}</a>
|
||||
<ul>
|
||||
{% for s in l[1] %}
|
||||
{% if s[0] != '_' %}
|
||||
<li><a href="{{ s[0] }}">{{ s[1] }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% else %}
|
||||
{% capture longurl %}{{ l[0] | append:'/index.html' }}{% endcapture %}
|
||||
<li{% if longurl == page.url %} class="active"{% endif %}><a href="{{ l[0] }}">{{ l[1] }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="span9">
|
||||
<div class="span12">
|
||||
{% if page.headline %}
|
||||
<div class="hero-unit"{% if page.headbg %} style="background:url({{page.headbg}})" {% endif %}>
|
||||
<h1>{{ page.headline }}</h1>
|
||||
<p>{{ page.tagline }}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="content{% if page.class %} {{ page.class }}{% endif %}">
|
||||
|
||||
24
css/k.css
24
css/k.css
@@ -10,25 +10,6 @@ body {
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sidebar .tagline {
|
||||
font-style: italic;
|
||||
font-size: 15px;
|
||||
text-align: center;
|
||||
color: #888;
|
||||
padding: 5px 18% 20px;
|
||||
}
|
||||
|
||||
.sidebar h3 {
|
||||
font-weight: normal;
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.nav-tabs.nav-stacked > li > a:hover {
|
||||
border: none!important;
|
||||
}
|
||||
@@ -115,7 +96,6 @@ ul.thumbnails li {
|
||||
}
|
||||
|
||||
.content h1, .content h2, .content h3,
|
||||
.sidebar h3, .sidebar .tagline
|
||||
{
|
||||
font-family: Garamond, 'Garamond classico', Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
|
||||
}
|
||||
@@ -368,10 +348,6 @@ h3:hover .headerlink {
|
||||
|
||||
@media screen and (max-width: 979px) {
|
||||
|
||||
.sidebar .tagline {
|
||||
padding: 5px 0 10px;
|
||||
}
|
||||
|
||||
.content p, .content li {
|
||||
font-size: 13px;
|
||||
line-height: 19px;
|
||||
|
||||
Reference in New Issue
Block a user