You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2020/06/22 18:57:14 UTC
[wicket-site] 06/12: Added responsive font sizing and TOC
This is an automated email from the ASF dual-hosted git repository.
adelbene pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/wicket-site.git
commit 9a22a86a5d69120a2d82c71026dca89db8e5c45b
Author: Andrea Del Bene <ad...@apache.org>
AuthorDate: Mon Jun 22 11:13:02 2020 +0200
Added responsive font sizing and TOC
---
_sass/modules/_toc.scss | 4 ++++
_sass/taiga/_base.scss | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/_sass/modules/_toc.scss b/_sass/modules/_toc.scss
index 12adeb3..92dde3d 100644
--- a/_sass/modules/_toc.scss
+++ b/_sass/modules/_toc.scss
@@ -6,4 +6,8 @@
&>ul > li+li {
margin-top: 1rem;
}
+
+ @include breakpoint($breakpoint-20) {
+ display: none;
+ }
}
diff --git a/_sass/taiga/_base.scss b/_sass/taiga/_base.scss
index 6abd3f5..edb4fda 100644
--- a/_sass/taiga/_base.scss
+++ b/_sass/taiga/_base.scss
@@ -18,6 +18,10 @@ html {
-moz-osx-font-smoothing: grayscale;
text-rendering: auto;
-webkit-text-size-adjust: 100%;
+
+ @include breakpoint($breakpoint-20) {
+ font-size: $font-size-base + 2;
+ }
}
body {