Add .s2-docs-home to "home" layout, add partial for homepage CSS.
This commit is contained in:
parent
e0e79dbc4e
commit
eef50c9b94
@ -1,14 +1,7 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html class="s2-docs-home">
|
||||||
<head>
|
<head>
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.navbar, .jumbotron { margin-bottom: 0; }
|
|
||||||
.jumbotron-side { padding-top: 2em; }
|
|
||||||
.notice-previous { background-color: #d9edf7; border-top: 1px solid #bce8f1; border-bottom: 1px solid #bce8f1; color: #31708f; padding: 0.5em; margin-bottom: 1em; text-align: center; }
|
|
||||||
.notice-previous a { font-weight: bold; }
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% include navigation.html %}
|
{% include navigation.html %}
|
||||||
|
14
docs/_sass/_s2-docs-home.scss
Normal file
14
docs/_sass/_s2-docs-home.scss
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
.notice-previous {
|
||||||
|
padding: 15px 20px;
|
||||||
|
color: #777;
|
||||||
|
background-color: #FAFAFA;
|
||||||
|
border-top: 1px solid #FFF;
|
||||||
|
border-bottom: 1px solid #E5E5E5;
|
||||||
|
a {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.s2-docs-home .jumbotron {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user