mirror of
https://github.com/fmtlib/fmt.git
synced 2024-09-15 15:13:22 +00:00
Improve styles
This commit is contained in:
parent
4a368625e8
commit
7e4fac3f4f
2
doc/_templates/layout.html
vendored
2
doc/_templates/layout.html
vendored
@ -78,7 +78,7 @@
|
|||||||
</nav>
|
</nav>
|
||||||
{% if pagename == "index" %}
|
{% if pagename == "index" %}
|
||||||
{% set download_url = 'https://github.com/fmtlib/fmt/releases/download' %}
|
{% 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>
|
<h1>{fmt}</h1>
|
||||||
<p class="lead">A modern formatting library</p>
|
<p class="lead">A modern formatting library</p>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
|
21
doc/fmt.scss
21
doc/fmt.scss
@ -1,6 +1,6 @@
|
|||||||
$header-bg: #094d75;
|
$header-bg: #094d75;
|
||||||
|
|
||||||
.jumbotron {
|
.fmt-banner {
|
||||||
background-image:
|
background-image:
|
||||||
linear-gradient(to bottom, $header-bg 50%, darken($header-bg, 2%) 50%);
|
linear-gradient(to bottom, $header-bg 50%, darken($header-bg, 2%) 50%);
|
||||||
background-size: 100% 4px;
|
background-size: 100% 4px;
|
||||||
@ -10,6 +10,13 @@ $header-bg: #094d75;
|
|||||||
text-align: center;
|
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';
|
@import 'bootstrap/scss/bootstrap';
|
||||||
|
|
||||||
/*$icon-font-path: "fonts/";
|
/*$icon-font-path: "fonts/";
|
||||||
@ -29,12 +36,12 @@ div.sphinxsidebar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Keep content not too wide for better readability.
|
// Keep content not too wide for better readability.
|
||||||
//.navbar-content, .content {
|
.navbar-content, .content {
|
||||||
// @include make-md-column-offset(1);
|
@include make-md-column-offset(1);
|
||||||
// @include make-md-column(10);
|
@include make-md-column(10);
|
||||||
// @include make-lg-column-offset(2);
|
@include make-lg-column-offset(2);
|
||||||
// @include make-lg-column(8);
|
@include make-lg-column(8);
|
||||||
//}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
Loading…
Reference in New Issue
Block a user