change blockquote to p.spilerbody inside label.spoiler according to

standards
This commit is contained in:
arcan1s 2014-08-25 22:32:21 +04:00
parent a5e4391249
commit 774f567f3f
7 changed files with 20 additions and 20 deletions

View File

@ -51,9 +51,9 @@ GS/CS d-(+) s: a-- C++++ UL+++>$ P L++ E--- W++ N !o !K w- !O M- !V PS+@ PE Y PG
<span class="box">
<p>
The connection information
<blockquote>
<p class="spoilerbody">
User is <code>music</code>, password is the same.
</blockquote>
</p>
</p>
</span>
</label>

View File

@ -21,11 +21,11 @@ hastr: true
<span class="box">
<b>{{ month }}</b>
<span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
<blockquote>
<p class="spoilerbody">
{% for post in site.categories.en %}
{% assign new_month = post.date | date: "%Y" %}
{% if new_month != month %}
</blockquote>
</p>
</span>
</label>
<label class="spoiler">
@ -33,13 +33,13 @@ hastr: true
<span class="box">
<b>{{ new_month }}</b>
<span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
<blockquote>
<p class="spoilerbody">
{% endif %}
{% assign month = post.date | date: "%Y" %}
<i>{{ post.date | date_to_string }}</i> &raquo;
<a href="#{{ post.short }}" class="anchor" id="{{ post.short }}"><span class="octicon octicon-link"></span></a>
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> ({{ post.tags }})<br>
{% endfor %}
</blockquote>
</p>
</span>
</label>

View File

@ -15,11 +15,11 @@ title: arcanis' homepage
<span class="box">
<a href="/feed.xml" title="RSS"><img src="/resources/feed-icon-14x14.png" alt="RSS"></a>
<a href="/blog/" title="Blog">Blog</a> <span class="close">(hide)</span><span class="open">(show)</span>
<blockquote>
<p class="spoilerbody">
{% for post in site.categories.en limit:3 %}
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a><br>
{% endfor %}
</blockquote>
</p>
</span>
</label>
<p class="view"><a href="/projects/" title="Projects">Projects</a><br>

View File

@ -82,10 +82,10 @@ figure.img figcaption {
}
/* spoiler */
.spoiler > input + .box > blockquote {
.spoiler > input + .box > p.spoilerbody {
display: none;
}
.spoiler > input:checked + .box > blockquote {
.spoiler > input:checked + .box > p.spoilerbody {
display: block;
}
.spoiler > input[type="checkbox"] {
@ -111,7 +111,7 @@ figure.img figcaption {
.spoiler > input + .box > span.open {
display: inline;
}
.spoiler blockquote,
.spoiler p.spoilerbody,
.spoiler {
border-radius: 5px;
-webkit-border-radius: 5px;
@ -123,7 +123,7 @@ figure.img figcaption {
.spoiler {
overflow-x: hidden;
}
.spoiler blockquote {
.spoiler p.spoilerbody {
min-height: 23px;
margin: 0;
padding: 4px 4px 4px 10px;

View File

@ -52,9 +52,9 @@ GS/CS d-(+) s: a-- C++++ UL+++>$ P L++ E--- W++ N !o !K w- !O M- !V PS+@ PE Y PG
<span class="box">
<p>
Информация по подключению
<blockquote>
<p class="spoilerbody">
Пользователь <code>music</code>, пароль такой же.
</blockquote>
</p>
</p>
</span>
</label>

View File

@ -23,11 +23,11 @@ hastr: true
<span class="box">
<b>{% include longdate_to_ru.html %}</b>
<span class="close" style="float:right;">(скрыть)</span><span class="open" style="float:right;">(показать)</span>
<blockquote>
<p class="spoilerbody">
{% for post in site.categories.ru %}
{% assign new_month = post.date | date: "%Y" %}
{% if new_month != month %}
</blockquote>
</p>
</span>
</label>
<label class="spoiler">
@ -35,13 +35,13 @@ hastr: true
<span class="box">
<b>{% include longdate_to_ru.html %}</b>
<span class="close" style="float:right;">(скрыть)</span><span class="open" style="float:right;">(показать)</span>
<blockquote>
<p class="spoilerbody">
{% endif %}
{% assign month = post.date | date: "%Y" %}
<i>{% include shortdate_to_ru.html %}</i> &raquo;
<a href="#{{ post.short }}" class="anchor" id="{{ post.short }}"><span class="octicon octicon-link"></span></a>
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> ({{ post.tags }})<br>
{% endfor %}
</blockquote>
</p>
</span>
</label>

View File

@ -16,11 +16,11 @@ title: arcanis
<span class="box">
<a href="/ru/feed.xml" title="RSS"><img src="/resources/feed-icon-14x14.png" alt="RSS"></a>
<a href="/ru/blog/" title="Блог">Блог</a> <span class="close">(скрыть)</span><span class="open">(показать)</span>
<blockquote>
<p class="spoilerbody">
{% for post in site.categories.ru limit:3 %}
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a><br>
{% endfor %}
</blockquote>
</p>
</span>
</label>
<p class="view"><a href="/ru/projects/" title="Проекты">Проекты</a><br>