You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2020/10/23 13:58:07 UTC
[lucenenet] 03/08: website: Updated code padding to prevent wrapping
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit cfd06b0240c48a9af38e7a1bc7dc1b2708706c79
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Fri Oct 23 16:12:26 2020 +0700
website: Updated code padding to prevent wrapping
---
websites/site/lucenetemplate/styles/site.css | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/websites/site/lucenetemplate/styles/site.css b/websites/site/lucenetemplate/styles/site.css
index 709c269..78f4891 100644
--- a/websites/site/lucenetemplate/styles/site.css
+++ b/websites/site/lucenetemplate/styles/site.css
@@ -66,7 +66,7 @@ pre.clean {
background-color: #f8f8f8;
overflow: auto;
display: block;
- padding: 9.5px;
+ padding: 5px;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.42857143;
@@ -75,6 +75,12 @@ pre.clean {
word-wrap: break-word;
}
+@media screen and (max-width: 1200px) {
+ pre.clean {
+ padding: 9.5px;
+ }
+}
+
#intro {
margin-top: 80px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2c5fa3+0,4096ee+100 */