Commit f3978a73 by Matt Martz

Properly indent @media blocks

parent 626f0f13
...@@ -291,53 +291,53 @@ big, small { ...@@ -291,53 +291,53 @@ big, small {
@media print { @media print {
html, body, section { html, body, section {
background: none !important; background: none !important;
} }
* { * {
box-shadow: none !important; box-shadow: none !important;
text-shadow: none !important; text-shadow: none !important;
filter: none !important; filter: none !important;
-ms-filter: none !important; -ms-filter: none !important;
} }
a, a:visited { a, a:visited {
text-decoration: underline; text-decoration: underline;
} }
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
content: ""; content: "";
} }
pre, blockquote { pre, blockquote {
page-break-inside: avoid; page-break-inside: avoid;
} }
thead { thead {
display: table-header-group; display: table-header-group;
} }
tr, img { tr, img {
page-break-inside: avoid; page-break-inside: avoid;
} }
img { img {
max-width: 100% !important; max-width: 100% !important;
} }
@page { @page {
margin: 0.5cm; margin: 0.5cm;
} }
p, h2, h3 { p, h2, h3 {
orphans: 3; orphans: 3;
widows: 3; widows: 3;
} }
h2, h3 { h2, h3 {
page-break-after: avoid; page-break-after: avoid;
}
} }
}
.font-smooth, .icon:before, .wy-inline-validate.wy-inline-validate-success .wy-input-context:before, .wy-inline-validate.wy-inline-validate-danger .wy-input-context:before, .wy-inline-validate.wy-inline-validate-warning .wy-input-context:before, .wy-inline-validate.wy-inline-validate-info .wy-input-context:before, .wy-tag-input-group .wy-tag .wy-tag-remove:before, .rst-content .admonition-title:before, .rst-content h1 .headerlink:before, .rst-content h2 .headerlink:before, .rst-content h3 .headerlink:before, .rst-content h4 .headerlink:before, .rst-content h5 .headerlink:before, .rst-content h6 .headerlink:before, .rst-content dl dt .headerlink:before, .wy-alert, .rst-content .note, .rst-content .attention, .rst-content .caution, .rst-content .danger, .rst-content .error, .rst-content .hint, .rst-content .important, .rst-content .tip, .rst-content .warning, .btn, input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"], select, textarea, .wy-tag-input-group, .wy-menu-vertical li.on a, .wy-menu-vertical li.current>a, .wy-side-nav-search>a, .wy-side-nav-search .wy-dropdown>a, .wy-nav-top a { .font-smooth, .icon:before, .wy-inline-validate.wy-inline-validate-success .wy-input-context:before, .wy-inline-validate.wy-inline-validate-danger .wy-input-context:before, .wy-inline-validate.wy-inline-validate-warning .wy-input-context:before, .wy-inline-validate.wy-inline-validate-info .wy-input-context:before, .wy-tag-input-group .wy-tag .wy-tag-remove:before, .rst-content .admonition-title:before, .rst-content h1 .headerlink:before, .rst-content h2 .headerlink:before, .rst-content h3 .headerlink:before, .rst-content h4 .headerlink:before, .rst-content h5 .headerlink:before, .rst-content h6 .headerlink:before, .rst-content dl dt .headerlink:before, .wy-alert, .rst-content .note, .rst-content .attention, .rst-content .caution, .rst-content .danger, .rst-content .error, .rst-content .hint, .rst-content .important, .rst-content .tip, .rst-content .warning, .btn, input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"], select, textarea, .wy-tag-input-group, .wy-menu-vertical li.on a, .wy-menu-vertical li.current>a, .wy-side-nav-search>a, .wy-side-nav-search .wy-dropdown>a, .wy-nav-top a {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
...@@ -2618,9 +2618,9 @@ select[disabled], textarea[disabled], input[readonly], select[readonly], textare ...@@ -2618,9 +2618,9 @@ select[disabled], textarea[disabled], input[readonly], select[readonly], textare
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
.wy-form-upload { .wy-form-upload {
width: 100%; width: 100%;
}
} }
}
.wy-form-upload .image-drop { .wy-form-upload .image-drop {
display: none; display: none;
} }
...@@ -2656,9 +2656,9 @@ select[disabled], textarea[disabled], input[readonly], select[readonly], textare ...@@ -2656,9 +2656,9 @@ select[disabled], textarea[disabled], input[readonly], select[readonly], textare
.wy-form-upload .wy-form-upload-image { .wy-form-upload .wy-form-upload-image {
width: 100%; width: 100%;
margin-bottom: 24px; margin-bottom: 24px;
}
} }
}
.wy-form-upload img { .wy-form-upload img {
max-width: 125px; max-width: 125px;
max-height: 125px; max-height: 125px;
...@@ -2675,9 +2675,9 @@ select[disabled], textarea[disabled], input[readonly], select[readonly], textare ...@@ -2675,9 +2675,9 @@ select[disabled], textarea[disabled], input[readonly], select[readonly], textare
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
.wy-form-upload .wy-form-upload-content { .wy-form-upload .wy-form-upload-content {
width: 100%; width: 100%;
}
} }
}
.wy-form-upload:hover { .wy-form-upload:hover {
border-color: #b3b3b3; border-color: #b3b3b3;
color: #404040; color: #404040;
...@@ -2826,15 +2826,15 @@ select[disabled], textarea[disabled], input[readonly], select[readonly], textare ...@@ -2826,15 +2826,15 @@ select[disabled], textarea[disabled], input[readonly], select[readonly], textare
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.wy-form-gallery-manage li { .wy-form-gallery-manage li {
width: 25%; width: 25%;
}
} }
}
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
.wy-form-gallery-manage li { .wy-form-gallery-manage li {
width: 50%; width: 50%;
}
} }
}
.wy-form-gallery-manage li:active { .wy-form-gallery-manage li:active {
cursor: move; cursor: move;
} }
...@@ -2890,52 +2890,52 @@ li.wy-form-gallery-edit .arrow { ...@@ -2890,52 +2890,52 @@ li.wy-form-gallery-edit .arrow {
@media only screen and (max-width: 480px) { @media only screen and (max-width: 480px) {
.wy-form button[type="submit"] { .wy-form button[type="submit"] {
margin: 0.7em 0 0; margin: 0.7em 0 0;
} }
.wy-form input[type="text"], .wy-form input[type="password"], .wy-form input[type="email"], .wy-form input[type="url"], .wy-form input[type="date"], .wy-form input[type="month"], .wy-form input[type="time"], .wy-form input[type="datetime"], .wy-form input[type="datetime-local"], .wy-form input[type="week"], .wy-form input[type="number"], .wy-form input[type="search"], .wy-form input[type="tel"], .wy-form input[type="color"] { .wy-form input[type="text"], .wy-form input[type="password"], .wy-form input[type="email"], .wy-form input[type="url"], .wy-form input[type="date"], .wy-form input[type="month"], .wy-form input[type="time"], .wy-form input[type="datetime"], .wy-form input[type="datetime-local"], .wy-form input[type="week"], .wy-form input[type="number"], .wy-form input[type="search"], .wy-form input[type="tel"], .wy-form input[type="color"] {
margin-bottom: 0.3em; margin-bottom: 0.3em;
display: block; display: block;
} }
.wy-form label { .wy-form label {
margin-bottom: 0.3em; margin-bottom: 0.3em;
display: block; display: block;
} }
.wy-form input[type="password"], .wy-form input[type="email"], .wy-form input[type="url"], .wy-form input[type="date"], .wy-form input[type="month"], .wy-form input[type="time"], .wy-form input[type="datetime"], .wy-form input[type="datetime-local"], .wy-form input[type="week"], .wy-form input[type="number"], .wy-form input[type="search"], .wy-form input[type="tel"], .wy-form input[type="color"] { .wy-form input[type="password"], .wy-form input[type="email"], .wy-form input[type="url"], .wy-form input[type="date"], .wy-form input[type="month"], .wy-form input[type="time"], .wy-form input[type="datetime"], .wy-form input[type="datetime-local"], .wy-form input[type="week"], .wy-form input[type="number"], .wy-form input[type="search"], .wy-form input[type="tel"], .wy-form input[type="color"] {
margin-bottom: 0; margin-bottom: 0;
} }
.wy-form-aligned .wy-control-group label { .wy-form-aligned .wy-control-group label {
margin-bottom: 0.3em; margin-bottom: 0.3em;
text-align: left; text-align: left;
display: block; display: block;
width: 100%; width: 100%;
} }
.wy-form-aligned .wy-controls { .wy-form-aligned .wy-controls {
margin: 1.5em 0 0 0; margin: 1.5em 0 0 0;
} }
.wy-form .wy-help-inline, .wy-form-message-inline, .wy-form-message { .wy-form .wy-help-inline, .wy-form-message-inline, .wy-form-message {
display: block; display: block;
font-size: 80%; font-size: 80%;
padding: 0.2em 0 0.8em; padding: 0.2em 0 0.8em;
}
} }
}
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.tablet-hide { .tablet-hide {
display: none; display: none;
}
} }
}
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
.mobile-hide { .mobile-hide {
display: none; display: none;
}
} }
}
.float-left { .float-left {
float: left; float: left;
} }
...@@ -3464,9 +3464,9 @@ pre.literal-block { ...@@ -3464,9 +3464,9 @@ pre.literal-block {
@media print { @media print {
.codeblock, div[class^='highlight'], div[class^='highlight'] pre { .codeblock, div[class^='highlight'], div[class^='highlight'] pre {
white-space: pre-wrap; white-space: pre-wrap;
}
} }
}
.hll { .hll {
background-color: #f8f8f8; background-color: #f8f8f8;
border: 1px solid #ccc; border: 1px solid #ccc;
...@@ -3765,19 +3765,19 @@ pre.literal-block { ...@@ -3765,19 +3765,19 @@ pre.literal-block {
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
.wy-breadcrumbs-extra { .wy-breadcrumbs-extra {
display: none; display: none;
} }
.wy-breadcrumbs li.wy-breadcrumbs-aside { .wy-breadcrumbs li.wy-breadcrumbs-aside {
display: none; display: none;
}
} }
}
@media print { @media print {
.wy-breadcrumbs li.wy-breadcrumbs-aside { .wy-breadcrumbs li.wy-breadcrumbs-aside {
display: none; display: none;
}
} }
}
.wy-affix { .wy-affix {
position: fixed; position: fixed;
top: 1.618em; top: 1.618em;
...@@ -4136,60 +4136,60 @@ footer p { ...@@ -4136,60 +4136,60 @@ footer p {
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.wy-body-for-nav { .wy-body-for-nav {
background: #fcfcfc; background: #fcfcfc;
} }
.wy-nav-top { .wy-nav-top {
display: block; display: block;
} }
.wy-nav-side { .wy-nav-side {
left: -300px; left: -300px;
} }
.wy-nav-side.shift { .wy-nav-side.shift {
width: 85%; width: 85%;
left: 0; left: 0;
} }
.wy-nav-content-wrap { .wy-nav-content-wrap {
margin-left: 0; margin-left: 0;
} }
.wy-nav-content-wrap .wy-nav-content { .wy-nav-content-wrap .wy-nav-content {
padding: 1.618em; padding: 1.618em;
} }
.wy-nav-content-wrap.shift { .wy-nav-content-wrap.shift {
position: fixed; position: fixed;
min-width: 100%; min-width: 100%;
left: 85%; left: 85%;
top: 0; top: 0;
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
}
} }
}
@media screen and (min-width: 1400px) { @media screen and (min-width: 1400px) {
.wy-nav-content-wrap { .wy-nav-content-wrap {
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
} }
.wy-nav-content { .wy-nav-content {
margin: 0; margin: 0;
background: #fcfcfc; background: #fcfcfc;
}
} }
}
@media print { @media print {
.wy-nav-side { .wy-nav-side {
display: none; display: none;
} }
.wy-nav-content-wrap { .wy-nav-content-wrap {
margin-left: 0; margin-left: 0;
}
} }
}
.rst-versions { .rst-versions {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
...@@ -4309,18 +4309,18 @@ footer p { ...@@ -4309,18 +4309,18 @@ footer p {
.rst-versions { .rst-versions {
width: 85%; width: 85%;
display: none; display: none;
} }
.rst-versions.shift { .rst-versions.shift {
display: block; display: block;
} }
img { img {
width: 100%; width: 100%;
height: auto; height: auto;
}
} }
}
.rst-content img { .rst-content img {
max-width: 100%; max-width: 100%;
height: auto !important; height: auto !important;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment