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"> <span class="box">
<p> <p>
The connection information The connection information
<blockquote> <p class="spoilerbody">
User is <code>music</code>, password is the same. User is <code>music</code>, password is the same.
</blockquote> </p>
</p> </p>
</span> </span>
</label> </label>

View File

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

View File

@ -15,11 +15,11 @@ title: arcanis' homepage
<span class="box"> <span class="box">
<a href="/feed.xml" title="RSS"><img src="/resources/feed-icon-14x14.png" alt="RSS"></a> <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> <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 %} {% for post in site.categories.en limit:3 %}
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a><br> <a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a><br>
{% endfor %} {% endfor %}
</blockquote> </p>
</span> </span>
</label> </label>
<p class="view"><a href="/projects/" title="Projects">Projects</a><br> <p class="view"><a href="/projects/" title="Projects">Projects</a><br>

View File

@ -82,10 +82,10 @@ figure.img figcaption {
} }
/* spoiler */ /* spoiler */
.spoiler > input + .box > blockquote { .spoiler > input + .box > p.spoilerbody {
display: none; display: none;
} }
.spoiler > input:checked + .box > blockquote { .spoiler > input:checked + .box > p.spoilerbody {
display: block; display: block;
} }
.spoiler > input[type="checkbox"] { .spoiler > input[type="checkbox"] {
@ -111,7 +111,7 @@ figure.img figcaption {
.spoiler > input + .box > span.open { .spoiler > input + .box > span.open {
display: inline; display: inline;
} }
.spoiler blockquote, .spoiler p.spoilerbody,
.spoiler { .spoiler {
border-radius: 5px; border-radius: 5px;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
@ -123,7 +123,7 @@ figure.img figcaption {
.spoiler { .spoiler {
overflow-x: hidden; overflow-x: hidden;
} }
.spoiler blockquote { .spoiler p.spoilerbody {
min-height: 23px; min-height: 23px;
margin: 0; margin: 0;
padding: 4px 4px 4px 10px; 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"> <span class="box">
<p> <p>
Информация по подключению Информация по подключению
<blockquote> <p class="spoilerbody">
Пользователь <code>music</code>, пароль такой же. Пользователь <code>music</code>, пароль такой же.
</blockquote> </p>
</p> </p>
</span> </span>
</label> </label>

View File

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

View File

@ -16,11 +16,11 @@ title: arcanis
<span class="box"> <span class="box">
<a href="/ru/feed.xml" title="RSS"><img src="/resources/feed-icon-14x14.png" alt="RSS"></a> <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> <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 %} {% for post in site.categories.ru limit:3 %}
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a><br> <a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a><br>
{% endfor %} {% endfor %}
</blockquote> </p>
</span> </span>
</label> </label>
<p class="view"><a href="/ru/projects/" title="Проекты">Проекты</a><br> <p class="view"><a href="/ru/projects/" title="Проекты">Проекты</a><br>