Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kduske committed Jan 21, 2024
1 parent 119fcd5 commit c36b241
Show file tree
Hide file tree
Showing 14 changed files with 4,145 additions and 4,103 deletions.
20 changes: 10 additions & 10 deletions latest/_reset.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/* ##### Reset ########## */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: unset;
vertical-align: baseline;
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: unset;
vertical-align: baseline;
box-sizing: border-box;
}

body {
line-height: 1;
line-height: 1;
}

ol, ul {
Expand All @@ -28,6 +28,6 @@ blockquote::before, blockquote::after, q::before, q::after {
}

table {
border-collapse: collapse;
border-spacing: 0;
border-collapse: collapse;
border-spacing: 0;
}
134 changes: 70 additions & 64 deletions latest/_responsive.css
Original file line number Diff line number Diff line change
@@ -1,89 +1,95 @@
/* ##### Responsive ########## */

@media only screen and (max-width: 930px) {
/* Code, Figure and Table */
@media only screen and (max-width: 1024px) {
/* Code, Figure and Table */

pre, figure, table {
max-width: max-content;
margin-left: auto;
margin-right: auto;
}
pre, figure, table {
max-width: max-content;
margin-left: auto;
margin-right: auto;
}

/* List */
/* List */

dl dd {
margin-left: var(--spacing-x15000);
}
ol, ul {
margin-left: var(--spacing-x15000);
}
dl dd {
margin-left: var(--spacing-x15000);
}

ol, ul {
margin-left: var(--spacing-x15000);
}

/* Figure */
/* Figure */

figure {
display: block;
}
figure {
display: block;
}

/* Image */
/* Image */

p img {
display: block;
float: inherit;
margin: 0 auto var(--spacing-x10000);
}
p img {
display: block;
float: inherit;
margin: 0 auto var(--spacing-x10000);
}

/* Table of Contents & Content */
/* Table of Contents and Content */

body #toc, body #content {
margin-left: 50px;
}
body #toc_toggler, body #toc, body #content {
padding: var(--spacing-x10000);
}

/* Table of Contents */
/* Table of Contents & Content */

body #toc_toggler {
display: flex;
}
body #toc, body #content {
margin-left: 50px;
}

body #toc {
display: none;
min-width: calc(100vw - 50px);
max-width: calc(100vw - 50px);
right: 0;
}
/* Table of Contents */

body.toc_toggled #toc {
display: block;
}
body #toc_toggler {
display: flex;
}

/* Content Version */
body #toc {
display: none;
min-width: calc(100vw - 50px);
max-width: calc(100vw - 50px);
right: 0;
}

body #content_version #content_version_details img {
display: none;
}
body.toc_toggled #toc {
display: block;
}

body #content_version #content_version_details div, body #content_version #content_version_links {
align-items: center;
}
/* Content Version */

body #content_version {
flex-direction: column;
}
body #content_version #content_version_details img {
display: none;
}

body #content_version #content_version_links {
margin-top: var(--spacing-x05000);
margin-left: inherit;
}
body #content_version #content_version_details div, body #content_version #content_version_links {
align-items: center;
}

/* Table of Contents and Content */
body #content_version {
flex-direction: column;
}

body #toc_toggler, body #toc, body #content {
padding: var(--spacing-x10000);
}
body #content_version #content_version_links {
margin-top: var(--spacing-x05000);
margin-left: inherit;
}

/* Back to Top */
/* Content Body */

body #content_body {
margin: 0;
}

body #content a[href="#"] {
display: none;
}
/* Back to Top */

body #content a[href="#"] {
display: none;
}
}
Loading

0 comments on commit c36b241

Please sign in to comment.