Improve styles

This commit is contained in:
Victor Zverovich 2024-05-26 20:08:42 -07:00
parent 4a368625e8
commit 7e4fac3f4f
2 changed files with 15 additions and 8 deletions

View File

@ -78,7 +78,7 @@
</nav>
{% if pagename == "index" %}
{% set download_url = 'https://github.com/fmtlib/fmt/releases/download' %}
<div class="tb-container jumbotron p-5">
<div class="tb-container fmt-banner p-5">
<h1>{fmt}</h1>
<p class="lead">A modern formatting library</p>
<div class="btn-group">

View File

@ -1,6 +1,6 @@
$header-bg: #094d75;
.jumbotron {
.fmt-banner {
background-image:
linear-gradient(to bottom, $header-bg 50%, darken($header-bg, 2%) 50%);
background-size: 100% 4px;
@ -10,6 +10,13 @@ $header-bg: #094d75;
text-align: center;
}
.content, .fmt-navbar-content {
@extend .col-md-10;
@extend .offset-md-1;
@extend .col-lg-8;
@extend .offset-lg-2;
}
@import 'bootstrap/scss/bootstrap';
/*$icon-font-path: "fonts/";
@ -29,12 +36,12 @@ div.sphinxsidebar {
}
// Keep content not too wide for better readability.
//.navbar-content, .content {
// @include make-md-column-offset(1);
// @include make-md-column(10);
// @include make-lg-column-offset(2);
// @include make-lg-column(8);
//}
.navbar-content, .content {
@include make-md-column-offset(1);
@include make-md-column(10);
@include make-lg-column-offset(2);
@include make-lg-column(8);
}
.footer {
padding-top: 20px;