mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 15:27:17 +00:00
edited spolers
This commit is contained in:
parent
44c4c5e66e
commit
d90f9aa55e
@ -17,7 +17,7 @@ back: 2
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
<label class="spoiler">
|
<label class="spoiler">
|
||||||
<input type="checkbox" class="bo"/>
|
<input type="checkbox" class="bo"/>
|
||||||
<div class="title">{{ month }}</div>
|
<div class="title">{{ month }} (show)</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
{% for post in site.categories.en %}
|
{% for post in site.categories.en %}
|
||||||
{% assign new_month = post.date | date: "%B, %Y" %}
|
{% assign new_month = post.date | date: "%B, %Y" %}
|
||||||
@ -26,7 +26,7 @@ back: 2
|
|||||||
</label>
|
</label>
|
||||||
<label class="spoiler">
|
<label class="spoiler">
|
||||||
<input type="checkbox" class="bo"/>
|
<input type="checkbox" class="bo"/>
|
||||||
<div class="title">{{ new_month }}</div>
|
<div class="title">{{ new_month }} (show)</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% assign month = post.date | date: "%B, %Y" %}
|
{% assign month = post.date | date: "%B, %Y" %}
|
||||||
|
14
index.html
14
index.html
@ -10,8 +10,18 @@ title: arcanis' homepage
|
|||||||
<header>
|
<header>
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
|
|
||||||
<p class="view"><a href="/blog/">My blog</a><br>
|
<label class="spoiler">
|
||||||
<a href="/projects/">My projects</a></p>
|
<input type="checkbox" class="bo"/>
|
||||||
|
<div class="title"><a href="/blog/">Latest posts:</a></div>
|
||||||
|
<div class="body">
|
||||||
|
<p>
|
||||||
|
{% for post in site.categories.en limit:3 %}
|
||||||
|
<a href="{{ post.url }}">{{ post.title }}</a><br>
|
||||||
|
{% endfor %}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</label>
|
||||||
|
<p class="view"><a href="/projects/">My projects</a></p>
|
||||||
<p class="view"><a href="/about">About me</a></p>
|
<p class="view"><a href="/about">About me</a></p>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
|
/* spoiler */
|
||||||
.spoiler {
|
.spoiler {
|
||||||
display: block;
|
display: block;
|
||||||
background: #dcdcdc;
|
background: #dcdcdc;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
border: 1px solid #000000;
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 0 5px 0 5px;
|
padding: 0 0 0 0;
|
||||||
margin: 0 0 5px 0;
|
margin: 0 0 0 0;
|
||||||
}
|
}
|
||||||
.spoiler > .title {
|
.spoiler > .title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -19,7 +19,7 @@ back: 2
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
<label class="spoiler">
|
<label class="spoiler">
|
||||||
<input type="checkbox" class="bo"/>
|
<input type="checkbox" class="bo"/>
|
||||||
<div class="title">{% include longdate_to_ru.html %}</div>
|
<div class="title">{% include longdate_to_ru.html %} (показать)</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
{% for post in site.categories.ru %}
|
{% for post in site.categories.ru %}
|
||||||
{% assign new_month = post.date | date: "%B, %Y" %}
|
{% assign new_month = post.date | date: "%B, %Y" %}
|
||||||
@ -28,7 +28,7 @@ back: 2
|
|||||||
</label>
|
</label>
|
||||||
<label class="spoiler">
|
<label class="spoiler">
|
||||||
<input type="checkbox" class="bo"/>
|
<input type="checkbox" class="bo"/>
|
||||||
<div class="title">{% include longdate_to_ru.html %}</div>
|
<div class="title">{% include longdate_to_ru.html %} (показать)</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% assign month = post.date | date: "%B, %Y" %}
|
{% assign month = post.date | date: "%B, %Y" %}
|
||||||
|
@ -11,8 +11,18 @@ title: arcanis
|
|||||||
<header>
|
<header>
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
|
|
||||||
<p class="view"><a href="/ru/blog/">Блог</a><br>
|
<label class="spoiler">
|
||||||
<a href="/ru/projects/">Проекты</a></p>
|
<input type="checkbox" class="bo"/>
|
||||||
|
<div class="title"><a href="/ru/blog/">Блог</a></div>
|
||||||
|
<div class="body">
|
||||||
|
<p>
|
||||||
|
{% for post in site.categories.ru limit:3 %}
|
||||||
|
<a href="{{ post.url }}">{{ post.title }}</a><br>
|
||||||
|
{% endfor %}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</label>
|
||||||
|
<p class="view"><a href="/ru/projects/">Проекты</a></p>
|
||||||
<p class="view"><a href="/ru/about">Обо мне</a></p>
|
<p class="view"><a href="/ru/about">Обо мне</a></p>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user