2015-08-03 11:35:01 +02:00
|
|
|
/* Article */
|
|
|
|
|
|
|
|
article {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
article header {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* We hide the main title because it's already here ? */
|
|
|
|
|
|
|
|
article section {
|
|
|
|
font-size: 2rem;
|
|
|
|
line-height: 3rem;
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 0 2rem;
|
2015-12-21 22:59:03 +01:00
|
|
|
padding-top: 2rem;
|
2015-08-03 11:35:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
article img,
|
|
|
|
article video {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
article section p {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
max-height: initial;
|
|
|
|
color: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
article section content ul li,
|
|
|
|
article section content ol li {
|
|
|
|
font-size: 2rem;
|
|
|
|
line-height: 3rem;
|
|
|
|
padding-left: 2rem;
|
|
|
|
list-style-position: inside;
|
2015-11-13 13:37:39 +01:00
|
|
|
min-height: 3rem;
|
|
|
|
font-weight: 300;
|
2015-08-03 11:35:01 +02:00
|
|
|
margin: 1rem auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
article section content li > * {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
article section content ul li {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
article section content ol li {
|
|
|
|
list-style-type: decimal;
|
|
|
|
}
|
|
|
|
|
|
|
|
article section content strong,
|
|
|
|
article section content b {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
article section content code,
|
|
|
|
article section content pre {
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
2015-12-21 22:59:03 +01:00
|
|
|
article section content pre {
|
|
|
|
color: white;
|
|
|
|
padding: 1rem;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
margin: 1rem 0;
|
|
|
|
background-color: #333;
|
|
|
|
}
|
|
|
|
|
2015-08-03 11:35:01 +02:00
|
|
|
article section content cite,
|
|
|
|
article section content blockquote {
|
|
|
|
padding-left: 4rem;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
article section content em {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Some CSS to style the quote XHTML generated by Movim */
|
|
|
|
|
|
|
|
article section content blockquote,
|
2015-09-10 15:41:45 +02:00
|
|
|
article section content q,
|
|
|
|
article section content div.quote {
|
2015-08-03 11:35:01 +02:00
|
|
|
display: block;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.12);
|
2016-02-12 10:02:32 +01:00
|
|
|
padding: 1rem 2rem;
|
|
|
|
margin-bottom: 1rem;
|
2015-08-03 11:35:01 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2015-09-10 15:41:45 +02:00
|
|
|
article section content div.quote:before,
|
|
|
|
article section content div.quote:after {
|
2015-08-03 11:35:01 +02:00
|
|
|
content: '';
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-09-10 15:41:45 +02:00
|
|
|
article section content div.quote ul {
|
2015-08-03 11:35:01 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
}
|
|
|
|
|
2015-09-10 15:41:45 +02:00
|
|
|
article section content div.quote li {
|
2015-08-03 11:35:01 +02:00
|
|
|
flex: 1 25%;
|
|
|
|
list-style-type: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2015-11-13 13:37:39 +01:00
|
|
|
article section content div.quote ul li > * {
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
|
|
|
|
2015-09-10 15:41:45 +02:00
|
|
|
article section content div.quote li:first-child {
|
2015-08-03 11:35:01 +02:00
|
|
|
flex: 1 75%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 1024px) {
|
2015-09-10 15:41:45 +02:00
|
|
|
article section content div.quote li {
|
2015-08-03 11:35:01 +02:00
|
|
|
flex: 1 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-10 15:41:45 +02:00
|
|
|
article section content div.quote li img {
|
2015-08-03 11:35:01 +02:00
|
|
|
max-height: 10rem;
|
|
|
|
max-width: 100%;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2015-09-10 15:41:45 +02:00
|
|
|
article section content img.big_picture {
|
|
|
|
display: block;
|
|
|
|
margin: 0rem auto;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2015-12-15 11:54:49 +01:00
|
|
|
article section content div.video_embed {
|
|
|
|
position: relative;
|
|
|
|
padding-bottom: 56.25%; /* 16:9 */
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
article section content div.video_embed iframe {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2015-08-03 11:35:01 +02:00
|
|
|
article ul li.pic img {
|
|
|
|
max-width: 30rem;
|
|
|
|
max-height: 30rem;
|
|
|
|
}
|