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:08 UTC
[lucenenet] 04/08: website: Added fix for padding disappearing on
gradient in the middle two viewport sizes
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 8b9afae03e797b95df23464437fbdce1c7cdd8ed
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Fri Oct 23 16:53:36 2020 +0700
website: Added fix for padding disappearing on gradient in the middle two viewport sizes
---
websites/site/lucenetemplate/styles/site.css | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/websites/site/lucenetemplate/styles/site.css b/websites/site/lucenetemplate/styles/site.css
index 78f4891..ce05225 100644
--- a/websites/site/lucenetemplate/styles/site.css
+++ b/websites/site/lucenetemplate/styles/site.css
@@ -112,6 +112,20 @@ pre.clean {
margin: 0 0 10px;
margin-bottom: 2rem;
}
+/* hack for issue with padding disappearing in middle 2 sizes */
+@media screen and (max-width: 1200px) {
+ #intro .container {
+ padding-top: 50px;
+ }
+}
+@media screen and (max-width: 750px) {
+ #intro {
+ margin-top: 0px;
+ }
+ #intro .container {
+ padding-top: 0px;
+ }
+}
.project-links {
margin-top: 20px;