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;
|
||||
}
|
||||
|
||||
figure {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
%quotebox {
|
||||
padding: .8889rem;
|
||||
margin-top: 1.4em;
|
||||
|
|
|
@ -19,7 +19,7 @@ $blue: #268bd2;
|
|||
$brown: #8f5536;
|
||||
|
||||
//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-line-height: 1.5;
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box; }
|
||||
|
||||
html,
|
||||
|
@ -9,7 +7,7 @@ body {
|
|||
padding: 0; }
|
||||
|
||||
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;
|
||||
line-height: 1.5; }
|
||||
@media (min-width: 38em) {
|
||||
|
@ -132,6 +130,9 @@ h4 {
|
|||
h5 {
|
||||
font-size: 1rem; }
|
||||
|
||||
figure {
|
||||
width: 100%; }
|
||||
|
||||
blockquote, .important, .warning {
|
||||
padding: .8889rem;
|
||||
margin-top: 1.4em;
|
||||
|
@ -159,7 +160,7 @@ blockquote {
|
|||
border-left-color: #ae272f; }
|
||||
|
||||
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;
|
||||
border: 1px solid #bbb;
|
||||
font-size: 0.8em;
|
||||
|
@ -427,7 +428,9 @@ a {
|
|||
font-size: 0.9rem; }
|
||||
|
||||
pre {
|
||||
tab-size: 2; }
|
||||
-moz-tab-size: 2;
|
||||
-o-tab-size: 2;
|
||||
tab-size: 2; }
|
||||
pre code {
|
||||
white-space: pre-wrap; }
|
||||
|
||||
|
@ -611,7 +614,10 @@ body .gist td {
|
|||
@media (min-width: 992px) {
|
||||
html,
|
||||
body {
|
||||
text-size-adjust: none;
|
||||
-webkit-text-size-adjust: none;
|
||||
-moz-text-size-adjust: none;
|
||||
-ms-text-size-adjust: none;
|
||||
text-size-adjust: none;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 1.611em; }
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue