css - Make font-width larger only on desktop

This commit is contained in:
2020-10-16 12:25:04 +05:30
parent 83646d35ec
commit fbadd49d15
+6 -1
View File
@@ -7,7 +7,6 @@
/* You can override the default Infima variables here. */
:root {
--ifm-font-size-base: 106.25%;
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: rgb(33, 175, 144);
--ifm-color-primary-darker: rgb(31, 165, 136);
@@ -18,6 +17,12 @@
--ifm-code-font-size: 95%;
}
@media screen and (min-width: 1024px) {
:root {
--ifm-font-size-base: 106.25%;
}
}
.docusaurus-highlight-code-line {
background-color: rgb(72, 77, 91);
display: block;