mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-28 22:41:28 +08:00
updating sticky footer, finishing off doc update sans responsive layout
This commit is contained in:
parent
4ad04663f8
commit
daa478d346
@ -14,7 +14,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<h4><a href="#stacked">Stacked Icons</a></h4>
|
<h4><a href="#stacked">Stacked Icons</a></h4>
|
||||||
<div class="well well-transparent stacked">
|
<div class="well well-transparent">
|
||||||
|
<div class="margin-top margin-bottom">
|
||||||
<span class="fa-stack">
|
<span class="fa-stack">
|
||||||
<i class="fa fa-unchecked fa-stack-base"></i>
|
<i class="fa fa-unchecked fa-stack-base"></i>
|
||||||
<i class="fa fa-twitter"></i>
|
<i class="fa fa-twitter"></i>
|
||||||
@ -32,6 +33,7 @@
|
|||||||
fa-terminal on fa-sign-blank
|
fa-terminal on fa-sign-blank
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<h4><a href="#bulleted-lists">Better Bulleted Lists</a></h4>
|
<h4><a href="#bulleted-lists">Better Bulleted Lists</a></h4>
|
||||||
<div class="well well-transparent">
|
<div class="well well-transparent">
|
||||||
|
@ -45,12 +45,11 @@
|
|||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body data-spy="scroll" data-target=".navbar">
|
<body>
|
||||||
<div id="wrap"> <!-- necessary for sticky footer. wrap all content except footer -->
|
<div id="wrap"> <!-- necessary for sticky footer. wrap all content except footer -->
|
||||||
{% include navbar.html %}
|
{% include navbar.html %}
|
||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
<div class="push"><!-- necessary for sticky footer --></div>
|
|
||||||
</div>
|
</div>
|
||||||
{% include footer.html %}
|
{% include footer.html %}
|
||||||
|
|
||||||
|
@ -11,9 +11,12 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
padding-top: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
color: mix(@red, #fff, 35%);
|
color: mix(@red, #fff, 35%);
|
||||||
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
||||||
margin-top: 60px;
|
|
||||||
.project { margin-top: 10px; }
|
.project { margin-top: 10px; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -21,10 +24,8 @@
|
|||||||
// Sticky Footer Styles
|
// Sticky Footer Styles
|
||||||
// --------------------
|
// --------------------
|
||||||
|
|
||||||
@footer-height: 160px;
|
@footer-height: 165px;
|
||||||
@footer-padding-top: 40px;
|
@footer-margin: 60px;
|
||||||
@footer-padding-bottom: 40px;
|
|
||||||
@wrap-padding-bottom: 60px; // also known as the margin above the footer
|
|
||||||
|
|
||||||
html, body { height: 100%; }
|
html, body { height: 100%; }
|
||||||
|
|
||||||
@ -33,10 +34,9 @@ html, body { height: 100%; }
|
|||||||
height: auto !important;
|
height: auto !important;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 auto -(@footer-height);
|
margin: 0 auto -(@footer-height);
|
||||||
padding: 0 0 (@footer-height + @wrap-padding-bottom);
|
padding: 0 0 (@footer-height + @footer-margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
height: @footer-height;
|
height: @footer-height;
|
||||||
padding: @footer-padding-top 0 @footer-padding-bottom;
|
|
||||||
}
|
}
|
||||||
|
@ -10,10 +10,10 @@
|
|||||||
|
|
||||||
//.navbar .nav > li > a { padding: 12px 10px 9px; }
|
//.navbar .nav > li > a { padding: 12px 10px 9px; }
|
||||||
|
|
||||||
.navbar-nav > li > a {
|
//.navbar-nav > li > a {
|
||||||
padding-top: 16px;
|
// padding-top: 16px;
|
||||||
padding-bottom: 14px;
|
// padding-bottom: 14px;
|
||||||
}
|
//}
|
||||||
|
|
||||||
// makes dropdowns closer for split dropdown
|
// makes dropdowns closer for split dropdown
|
||||||
.navbar-nav > li {
|
.navbar-nav > li {
|
||||||
|
@ -30,6 +30,10 @@
|
|||||||
@state-info-bg: @blue-lighter;
|
@state-info-bg: @blue-lighter;
|
||||||
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
||||||
|
|
||||||
|
// Navbar
|
||||||
|
@navbar-height: 40px;
|
||||||
|
@navbar-inverse-brand-color: #fff;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// SITE VARIABLES
|
// SITE VARIABLES
|
||||||
|
Loading…
Reference in New Issue
Block a user