2
0
mirror of https://github.com/offen/website.git synced 2024-10-18 20:20:24 +02:00

articles and images

This commit is contained in:
Hendrik Niefeld 2019-12-23 16:08:40 +01:00
parent 566364449b
commit 321d2424a8
4 changed files with 29 additions and 6 deletions

View File

@ -5,7 +5,9 @@ slug: laying-foundation-for-fair-web-analytics
sitemap_priority: 0.7 sitemap_priority: 0.7
sm_image_url: /theme/images/offen-blog-0010-milestone1.jpg sm_image_url: /theme/images/offen-blog-0010-milestone1.jpg
<div class="larger-image">
<img alt="Milestone 1 - Laying the foundation for fair web analytics" class="mb5" src="/theme/images/offen-blog-0010-milestone1.jpg"/> <img alt="Milestone 1 - Laying the foundation for fair web analytics" class="mb5" src="/theme/images/offen-blog-0010-milestone1.jpg"/>
</div>
###### 12 Dec 2019, Hendrik Niefeld ###### 12 Dec 2019, Hendrik Niefeld
## Episode One — Laying the foundation for fair web analytics ## Episode One — Laying the foundation for fair web analytics

View File

@ -56,7 +56,7 @@ DECORATE_CONTENT = {
'p': ['ma0', 'pb3'], 'p': ['ma0', 'pb3'],
'a': ['link', 'b', 'dim', 'gray'], 'a': ['link', 'b', 'dim', 'gray'],
'blockquote': ['f5', 'i', 'ma0', 'ml4'], 'blockquote': ['f5', 'i', 'ma0', 'ml4'],
'hr': ['m0a', 'mt5', 'mb3', 'b--black-05'] 'hr': ['mt5', 'mb3', 'b--black-05']
} }
GITHUB_ORG = 'https://github.com/offen' GITHUB_ORG = 'https://github.com/offen'

View File

@ -74,7 +74,7 @@ LAYOUT
/* --------------------------------------------------- /* ---------------------------------------------------
TYPO TYPO AND LAYOUT ELEMENTS
----------------------------------------------------*/ ----------------------------------------------------*/
/* Custom Tachyons class */ /* Custom Tachyons class */
.f25 { .f25 {
@ -93,7 +93,10 @@ em {
background: linear-gradient(transparent 66%, #fde28c 66%); background: linear-gradient(transparent 66%, #fde28c 66%);
font-style: normal; font-style: normal;
} }
hr {
margin-left: -1rem;
margin-right: -1rem;
}
/* --------------------------------------------------- /* ---------------------------------------------------
@ -109,7 +112,6 @@ MENU
position: absolute; position: absolute;
padding: 12px 0 0 20px; padding: 12px 0 0 20px;
float: left; float: left;
line-height: 4rem;
} }
body.index .icon { body.index .icon {
opacity: 0; opacity: 0;
@ -179,7 +181,7 @@ nav ul li ul li a {
} }
nav { nav {
width: 100%; width: 100%;
padding: 0 0 15px 0; padding: 0;
padding-top: 4rem; padding-top: 4rem;
} }
nav ul { nav ul {
@ -254,6 +256,25 @@ nav ul li ul li a {
} }
/* ---------------------------------------------------
IMAGES
----------------------------------------------------*/
/* Put article image outside of container margins */
.larger-image {
margin-top: -4rem;
margin-left: -1rem;
margin-right: -1rem;
}
/* Custom media query - extra small */
@media only screen and (min-width: 30em) {
.larger-image {
margin-top: -4rem;
margin-left: -4rem;
margin-right: -4rem;
}
}
/* --------------------------------------------------- /* ---------------------------------------------------
GRAPHICS GRAPHICS
----------------------------------------------------*/ ----------------------------------------------------*/

View File

@ -11,7 +11,7 @@
{% if loop.index != 1 %} {% if loop.index != 1 %}
<hr> <hr>
{% endif %} {% endif %}
<div class="content"> <div class="content bg-red">
<div class="container-reader"> <div class="container-reader">
{{ article.content }} {{ article.content }}
</div> </div>