mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge pull request #68 from brendo/fix-edit-uri
Build the assets so the edit link work
This commit is contained in:
commit
a74a025f47
@ -414,6 +414,12 @@ hr {
|
|||||||
padding: 0 2.0rem;
|
padding: 0 2.0rem;
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
line-height: 4.8rem; }
|
line-height: 4.8rem; }
|
||||||
|
.md-header-nav__parent {
|
||||||
|
color: rgba(255, 255, 255, 0.7); }
|
||||||
|
.md-header-nav__parent::after {
|
||||||
|
display: inline;
|
||||||
|
color: rgba(255, 255, 255, 0.3);
|
||||||
|
content: "/"; }
|
||||||
.md-header-nav__source {
|
.md-header-nav__source {
|
||||||
display: none; }
|
display: none; }
|
||||||
|
|
||||||
@ -1556,8 +1562,8 @@ hr {
|
|||||||
padding-right: 1.2rem; }
|
padding-right: 1.2rem; }
|
||||||
|
|
||||||
.md-search {
|
.md-search {
|
||||||
padding: 0.4rem;
|
margin-right: 2.8rem;
|
||||||
padding-right: 3.2rem; }
|
padding: 0.4rem; }
|
||||||
|
|
||||||
.md-search__inner {
|
.md-search__inner {
|
||||||
display: table;
|
display: table;
|
||||||
@ -1710,13 +1716,11 @@ hr {
|
|||||||
.md-sidebar__inner {
|
.md-sidebar__inner {
|
||||||
border-right: 0.1rem solid rgba(0, 0, 0, 0.07); } }
|
border-right: 0.1rem solid rgba(0, 0, 0, 0.07); } }
|
||||||
|
|
||||||
@media only screen and (min-width: 30em) {
|
|
||||||
|
|
||||||
.md-footer-nav__link {
|
|
||||||
width: 50%; } }
|
|
||||||
|
|
||||||
@media only screen and (max-width: 29.9375em) {
|
@media only screen and (max-width: 29.9375em) {
|
||||||
|
|
||||||
|
.md-header-nav__parent {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
.md-footer-nav__link--prev .md-footer-nav__title {
|
.md-footer-nav__link--prev .md-footer-nav__title {
|
||||||
display: none; }
|
display: none; }
|
||||||
|
|
||||||
@ -1724,6 +1728,11 @@ hr {
|
|||||||
-webkit-transform: scale(45);
|
-webkit-transform: scale(45);
|
||||||
transform: scale(45); } }
|
transform: scale(45); } }
|
||||||
|
|
||||||
|
@media only screen and (min-width: 30em) {
|
||||||
|
|
||||||
|
.md-footer-nav__link {
|
||||||
|
width: 50%; } }
|
||||||
|
|
||||||
@media only screen and (min-width: 30em) and (max-width: 44.9375em) {
|
@media only screen and (min-width: 30em) and (max-width: 44.9375em) {
|
||||||
|
|
||||||
[data-md-toggle="search"]:checked ~ .md-header .md-search__overlay {
|
[data-md-toggle="search"]:checked ~ .md-header .md-search__overlay {
|
||||||
|
@ -74,8 +74,8 @@
|
|||||||
<div class="md-content">
|
<div class="md-content">
|
||||||
<article class="md-content__inner md-typeset">
|
<article class="md-content__inner md-typeset">
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if edit_uri %}
|
{% if config.edit_uri %}
|
||||||
<a class="md-button md-button--edit" href="{{ edit_uri }}">
|
<a class="md-button md-button--edit" href="{{ page.edit_url }}">
|
||||||
Edit
|
Edit
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -27,7 +27,7 @@ site_url: http://squidfunk.github.io/mkdocs-material/
|
|||||||
# Repository
|
# Repository
|
||||||
repo_name: squidfunk/mkdocs-material
|
repo_name: squidfunk/mkdocs-material
|
||||||
repo_url: https://github.com/squidfunk/mkdocs-material
|
repo_url: https://github.com/squidfunk/mkdocs-material
|
||||||
edit_uri: edit/master/docs/
|
edit_uri: edit/rework/docs/
|
||||||
|
|
||||||
# Copyright
|
# Copyright
|
||||||
copyright: 'Copyright © 2016 Martin Donath'
|
copyright: 'Copyright © 2016 Martin Donath'
|
||||||
|
Loading…
Reference in New Issue
Block a user