Skip to content

Commit

Permalink
Add a print style sheet (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
xfq committed Aug 25, 2022
1 parent 83350d5 commit 0346cfa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Expand Up @@ -5,6 +5,7 @@
<title>Requirements for Chinese Text Layout - 中文排版需求</title>

<link rel="stylesheet" href="./local.css" />
<link rel="stylesheet" href="./print.css" />

<script defer class="remove" src="https://www.w3.org/Tools/respec/respec-w3c"></script>
<script defer src="./built/script.js"></script>
Expand Down
9 changes: 9 additions & 0 deletions print.css
@@ -0,0 +1,9 @@
@media print {
#langSwitch {
display: none;
}
details > summary {
font-size: 110%;
list-style: none;
}
}

0 comments on commit 0346cfa

Please sign in to comment.