mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
112 lines
1.8 KiB
112 lines
1.8 KiB
/* Article */
|
|
|
|
article {
|
|
padding-bottom: 2rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
article header {
|
|
position: relative;
|
|
}
|
|
|
|
article header h1 {
|
|
font-size: 4rem;
|
|
line-height: 12rem;
|
|
}
|
|
|
|
article header h2 {
|
|
line-height: 3.75rem;
|
|
}
|
|
|
|
article section {
|
|
font-size: 2rem;
|
|
line-height: 3rem;
|
|
font-weight: 500;
|
|
padding: 0 2rem;
|
|
text-align: justify;
|
|
}
|
|
|
|
article img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
article section p {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
article section content ul li,
|
|
article section content ol li {
|
|
font-size: 2rem;
|
|
line-height: 3rem;
|
|
padding-left: 2rem;
|
|
list-style-position: inside;
|
|
min-height: 4rem;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
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,
|
|
article section content q {
|
|
display: block;
|
|
border-radius: 2px;
|
|
border: 1px solid rgba(0, 0, 0, 0.12);
|
|
padding: 2rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
article section content q:before,
|
|
article section content q:after {
|
|
content: '';
|
|
display: none;
|
|
}
|
|
|
|
article section content q ul {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
}
|
|
|
|
article section content q li {
|
|
flex: 1 50%;
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
article section content q li {
|
|
flex: 1 100%;
|
|
}
|
|
}
|
|
|
|
article section content q li img {
|
|
max-height: 40rem;
|
|
max-width: 100%;
|
|
}
|