Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/brycematheson/allegiant.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Matheson <brycematheson@gmail.com>2016-01-28 05:55:40 +0300
committerBryce Matheson <brycematheson@gmail.com>2016-01-28 05:55:40 +0300
commit456ea1c215bd3580943245d2148e8963a534639d (patch)
treeeb6b9cb27dd59d1f94f859881c62181a0a6c7a75
parent9fd42864a96bea776432d86f57cff5392fe90a8c (diff)
Improved top nav responsive pieces
Previously, the top nav bar wouldn't look very good on mid-sized screens (such as an iPad). It was too wide and there were no margins on either side. This should now be improved.
-rw-r--r--static/css/style.css7
1 files changed, 4 insertions, 3 deletions
diff --git a/static/css/style.css b/static/css/style.css
index acf8de3..d68fe41 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -326,10 +326,11 @@ footer .menu-item a:hover {
text-decoration: none
}
#branding {
- margin-left: 0;
+ margin: 0 auto;
height: 80px;
- padding-left: calc(55% - 62.5rem * .5);
- padding-right: calc(55% - 62.5rem * .5)
+ max-width: 1000px;
+ padding-left: 7%;
+ padding-right: 7%;
}
#site-title {
margin-top: 25px;