50 lines
935 B
CSS
Executable file
50 lines
935 B
CSS
Executable file
/*****************************
|
|
* CHAPTER
|
|
* Styling for chapter pages.
|
|
*****************************/
|
|
|
|
/* Removing all padding, margins, etc. The content covers the entire viewing area */
|
|
body,
|
|
.md-content__inner,
|
|
.md-main__inner,
|
|
.md-grid {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
max-width: none;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
min-height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
article,
|
|
.md-container,
|
|
div.md-content {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
article.md-content__inner.md-typeset:before,
|
|
article.md-content__inner.md-typeset:after {
|
|
content: none;
|
|
}
|
|
|
|
/* Hide announcements bar on chapter pages */
|
|
header,
|
|
[data-md-component="skip"],
|
|
[data-md-component="announce"],
|
|
.md-content .md-typeset h1 {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Hide the repo stuff */
|
|
.md-source {
|
|
display: none !important;
|
|
}
|