Browse Source

font-size: 100%;

visuddhinanda 1 day ago
parent
commit
cb0469cf7c
1 changed files with 4 additions and 10 deletions
  1. 4 10
      api-v12/resources/css/tufte.css

+ 4 - 10
api-v12/resources/css/tufte.css

@@ -161,7 +161,7 @@ img {
     width: 50%;
     margin-top: 0.3rem;
     margin-bottom: 0;
-    font-size: 1.1rem;
+    font-size: 100%;
     line-height: 1.3;
     vertical-align: baseline;
     position: relative;
@@ -180,14 +180,14 @@ img {
 
 .sidenote-number:after {
     content: counter(sidenote-counter);
-    font-size: 1rem;
+    font-size: 100%;
     top: -0.5rem;
     left: 0.1rem;
 }
 
 .sidenote:before {
     content: counter(sidenote-counter) " ";
-    font-size: 1rem;
+    font-size: 100%;
     top: -0.5rem;
 }
 
@@ -233,7 +233,7 @@ h3 > code {
 
 .marginnote > code,
 .sidenote > code {
-    font-size: 1rem;
+    font-size: 100%;
 }
 
 pre > code {
@@ -287,12 +287,6 @@ label.margin-toggle:not(.sidenote-number) {
 }
 
 @media (max-width: 760px) {
-    body {
-        width: 84%;
-        padding-left: 8%;
-        padding-right: 8%;
-    }
-
     hr,
     section > p,
     section > footer,