Compare commits

...

5 Commits

Author SHA1 Message Date
Georg Krause 505be9315e
Open header links in new tabs 2021-10-15 12:26:21 +02:00
Georg Krause 56448ef765
Add rel=me to links 2021-10-15 12:26:21 +02:00
Pierre-Antoine Champin fd70e764b4 added style for RST admonitions 2021-05-31 14:50:02 +02:00
Vitaly Potyarkin 74825583e1 Update screenshot for old style 2020-08-21 11:22:40 +03:00
Vitaly Potyarkin a25b97836d Fix oldstyle.css inconsistencies
Thanks to @moorepants for reporting!
https://github.com/nairobilug/pelican-alchemy/pull/79#issuecomment-678055920
2020-08-21 10:38:44 +03:00
4 changed files with 42 additions and 2 deletions

View File

@ -31,6 +31,10 @@ blockquote {
border-bottom: 1px solid rgba(0,0,0,.1)
}
.main {
background-color: #fff;
}
.footer {
border-top: 1px solid rgba(0,0,0,.1)
}
@ -38,3 +42,7 @@ blockquote {
.highlight pre {
border: 1px solid rgba(0,0,0,.1)
}
.pagination .page-link {
color: #333;
}

View File

@ -90,6 +90,38 @@ hr {
text-decoration: underline
}
.admonition {
border: thin solid gray;
background-color: lightgrey;
padding: .25em .5em;
margin-bottom: 1rem;
}
.admonition .admonition-title {
font-weight: bold;
background-color: rgba(255,255,255,0.66);
text-align: center;
}
.admonition p.last {
margin-bottom: 0;
}
.admonition.important, .admonition.note, .admonition.warning {
border-color: goldenrod;
background-color: lightgoldenrodyellow;
}
.admonition.attention, .admonition.caution, .admonition.danger, .admonition.error {
border-color: red;
background-color: lightpink;
}
.admonition.hint, .admonition.tip {
border-color: limegreen;
background-color: palegreen;
}
@media (min-width: 576px) {
.header .title {
font-size: 3rem;
@ -109,4 +141,4 @@ hr {
.teaser header li:not(:last-child) {
margin-right: 10px;
}
}
}

View File

@ -41,7 +41,7 @@ fab fa-{{icon}}
{% if (LINKS or (DISPLAY_PAGES_ON_MENU and pages)) and loop.first %}
<li class=" list-inline-item text-muted">|</li>
{% endif %}
<li class="list-inline-item"><a class="{{ fa(icon) }}" href="{{ url(link) }}" target="_blank"></a></li>
<li class="list-inline-item"><a rel="me" class="{{ fa(icon) }}" href="{{ url(link) }}" target="_blank"></a></li>
{% endfor %}
</ul>
{% endif %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 136 KiB