revises styles for <figure>
This commit is contained in:
parent
09d87e1da0
commit
16514cf1bc
4 changed files with 20 additions and 8 deletions
|
@ -28,6 +28,12 @@ h5 {
|
||||||
font-size: $h5-font-size;
|
font-size: $h5-font-size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
width: 100%;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
%quotebox {
|
%quotebox {
|
||||||
padding: .8889rem;
|
padding: .8889rem;
|
||||||
margin-top: 1.4em;
|
margin-top: 1.4em;
|
||||||
|
|
|
@ -19,7 +19,7 @@ $blue: #268bd2;
|
||||||
$brown: #8f5536;
|
$brown: #8f5536;
|
||||||
|
|
||||||
//https://www.client9.com/css-system-font-stack-sans-serif-v3
|
//https://www.client9.com/css-system-font-stack-sans-serif-v3
|
||||||
$root-font-family: system, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Droid Sans", "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
|
$root-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Droid Sans", "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
$root-font-size: 17px;
|
$root-font-size: 17px;
|
||||||
$root-line-height: 1.5;
|
$root-line-height: 1.5;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
* {
|
* {
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
box-sizing: border-box; }
|
box-sizing: border-box; }
|
||||||
|
|
||||||
html,
|
html,
|
||||||
|
@ -9,7 +7,7 @@ body {
|
||||||
padding: 0; }
|
padding: 0; }
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-family: system, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Droid Sans", "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Droid Sans", "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
line-height: 1.5; }
|
line-height: 1.5; }
|
||||||
@media (min-width: 38em) {
|
@media (min-width: 38em) {
|
||||||
|
@ -132,6 +130,9 @@ h4 {
|
||||||
h5 {
|
h5 {
|
||||||
font-size: 1rem; }
|
font-size: 1rem; }
|
||||||
|
|
||||||
|
figure {
|
||||||
|
width: 100%; }
|
||||||
|
|
||||||
blockquote, .important, .warning {
|
blockquote, .important, .warning {
|
||||||
padding: .8889rem;
|
padding: .8889rem;
|
||||||
margin-top: 1.4em;
|
margin-top: 1.4em;
|
||||||
|
@ -159,7 +160,7 @@ blockquote {
|
||||||
border-left-color: #ae272f; }
|
border-left-color: #ae272f; }
|
||||||
|
|
||||||
kbd {
|
kbd {
|
||||||
font-family: system, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Droid Sans", "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Droid Sans", "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
padding: 2px 7px;
|
padding: 2px 7px;
|
||||||
border: 1px solid #bbb;
|
border: 1px solid #bbb;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
|
@ -427,6 +428,8 @@ a {
|
||||||
font-size: 0.9rem; }
|
font-size: 0.9rem; }
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
-moz-tab-size: 2;
|
||||||
|
-o-tab-size: 2;
|
||||||
tab-size: 2; }
|
tab-size: 2; }
|
||||||
pre code {
|
pre code {
|
||||||
white-space: pre-wrap; }
|
white-space: pre-wrap; }
|
||||||
|
@ -611,6 +614,9 @@ body .gist td {
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
|
-webkit-text-size-adjust: none;
|
||||||
|
-moz-text-size-adjust: none;
|
||||||
|
-ms-text-size-adjust: none;
|
||||||
text-size-adjust: none;
|
text-size-adjust: none;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue