1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2025-01-18 00:46:47 +01:00

Merge branch 'master' into refactor/rxjs-typescript

This commit is contained in:
squidfunk 2020-02-10 12:34:58 +01:00
parent 26313cd607
commit 41dc846753
132 changed files with 321 additions and 297 deletions

View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to

2
.env
View File

@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to

View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to

View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to

View File

@ -1,3 +1,16 @@
mkdocs-material 4.6.2 (2020-02-08)
* Added Romanian translations
* Fixed #1451: Inconsistent spacing for fenced code blocks
mkdocs-material 4.6.1 (2020-02-08)
* Fixed #1324: Metadata author only rendering first character
* Fixed #1393: Set tabindex to 0 for skip to content link
* Fixed code blocks after Markdown 3.2 release
* Fixed errors in Japanese translations
* Improved Google Lighthouse score
mkdocs-material 4.6.0 (2019-12-11)
* Added support for mkdocs-git-revision-date-localized-plugin

View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to

View File

@ -1,4 +1,4 @@
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
IN THE SOFTWARE.

View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to

View File

@ -42,7 +42,7 @@ theme:
## What to expect
* Responsive design and fluid layout for all kinds of screens and devices,
designed to serve your project documentation in a user-friendly way in 40
designed to serve your project documentation in a user-friendly way in 41
languages with optimal readability.
* Easily customizable primary and accent color, fonts, favicon and logo;
@ -67,7 +67,7 @@ you may check out squidfunk's [Amazon wish list][3].
**MIT License**
Copyright (c) 2016-2019 Martin Donath
Copyright (c) 2016-2020 Martin Donath
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -3,10 +3,12 @@
## Hi, I'm Martin ([@squidfunk][1])
I'm a freelance polyglot software engineer and entrepreneur from Cologne,
Germany with more than 12 years of experience in full-stack web development and
system programming.
Germany with more than 13 years of experience in full-stack web development and
system programming. I'm currently working full time on an exciting new venture,
an __analytical browser engine__ called [Ginseng][2].
[1]: https://github.com/squidfunk
[2]: https://ginseng.ai
## Why another theme?

View File

@ -915,6 +915,27 @@ module Finity
end
```
### Scala
```scala
// Every record of this DataFrame contains the label and
// features represented by a vector.
val df = sqlContext.createDataFrame(data).toDF("label", "features")
// Set parameters for the algorithm.
// Here, we limit the number of iterations to 10.
val lr = new LogisticRegression().setMaxIter(10)
// Fit the model to the data.
val model = lr.fit(df)
// Inspect the model: get the feature weights.
val weights = model.weights
// Given a dataset, predict each point's label, and show the results.
model.transform(df).show()g
```
### XML
``` xml

View File

@ -356,31 +356,32 @@ translations for all template variables and labels in the following languages:
<td><code>fa</code> / Persian</td>
<td><code>pl</code> / Polish</td>
<td><code>pt</code> / Portugese</td>
<td><code>ru</code> / Russian</td>
<td><code>ro</code> / Romanian</td>
</tr>
<tr>
<td><code>ru</code> / Russian</td>
<td><code>sr</code> / Serbian</td>
<td><code>sh</code> / Serbo-Croatian</td>
<td><code>sk</code> / Slovak</td>
<td><code>si</code> / Slovenian</td>
</tr>
<tr>
<td><code>si</code> / Slovenian</td>
<td><code>es</code> / Spanish</td>
<td><code>sv</code> / Swedish</td>
<td><code>th</code> / Thai</td>
</tr>
<td><code>tr</code> / Turkish</td>
</tr>
<td><code>uk</code> / Ukrainian</td>
<td><code>vi</code> / Vietnamese</td>
<td colspan="2"><code>vi</code> / Vietnamese</td>
<tr>
</tr>
<tr>
<td colspan="2"><code>zh</code> / Chinese (Simplified)</td>
<tr>
</tr>
<tr>
<td colspan="2"><code>zh-Hant</code> / Chinese (Traditional)</td>
<td colspan="2"><code>zh-TW</code> / Chinese (Taiwanese)</td>
</tr>
<tr>
<td colspan="4" align="right">
<td colspan="2"><code>zh-TW</code> / Chinese (Taiwanese)</td>
<td colspan="2" align="right">
<a href="https://github.com/squidfunk/mkdocs-material/issues/new?template=translate.md">Submit a new language</a>
</td>
</tr>

View File

@ -29,7 +29,7 @@ theme:
## What to expect
* Responsive design and fluid layout for all kinds of screens and devices,
designed to serve your project documentation in a user-friendly way in 40
designed to serve your project documentation in a user-friendly way in 41
languages with optimal readability.
* Easily customizable primary and accent color, fonts, favicon and logo;

View File

@ -2,7 +2,7 @@
**MIT License**
Copyright &copy; 2016 - 2019 Martin Donath
Copyright &copy; 2016 - 2020 Martin Donath
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -64,6 +64,19 @@ pip show mkdocs-material
## Changelog
### 4.6.2 <small>_ February 8, 2020</small>
* Added Romanian translations
* Fixed #1451: Inconsistent spacing for fenced code blocks
### 4.6.1 <small>_ February 8, 2020</small>
* Fixed #1324: Metadata author only rendering first character
* Fixed #1393: Set `tabindex` to `0` for skip to content link
* Fixed code blocks after Markdown 3.2 release
* Fixed errors in Japanese translations
* Improved Google Lighthouse score
### 4.6.0 <small>_ December 11, 2019</small>
* Added support for [mkdocs-git-revision-date-localized-plugin][3]

File diff suppressed because one or more lines are too long

View File

@ -1549,49 +1549,8 @@ hr {
padding: 0 0.6rem;
background-color: rgba(255, 235, 59, 0.5); }
.md-typeset .codehilite, .md-typeset .highlight {
position: relative;
margin: 1em 0;
padding: 0;
border-radius: 0.1rem;
background-color: rgba(236, 236, 236, 0.5);
color: #37474F;
line-height: 1.4;
-webkit-overflow-scrolling: touch; }
.md-typeset .codehilite pre, .md-typeset .highlight pre,
.md-typeset .codehilite code,
.md-typeset .highlight code {
display: block;
margin: 0;
padding: 0.525rem 0.6rem;
background-color: transparent;
overflow: auto; }
.md-typeset .codehilite pre::-webkit-scrollbar, .md-typeset .highlight pre::-webkit-scrollbar,
.md-typeset .codehilite code::-webkit-scrollbar,
.md-typeset .highlight code::-webkit-scrollbar {
width: 0.2rem;
height: 0.2rem; }
.md-typeset .codehilite pre::-webkit-scrollbar-thumb, .md-typeset .highlight pre::-webkit-scrollbar-thumb,
.md-typeset .codehilite code::-webkit-scrollbar-thumb,
.md-typeset .highlight code::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.26); }
.md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover, .md-typeset .highlight pre::-webkit-scrollbar-thumb:hover,
.md-typeset .codehilite code::-webkit-scrollbar-thumb:hover,
.md-typeset .highlight code::-webkit-scrollbar-thumb:hover {
background-color: #536dfe; }
.md-typeset pre.codehilite, .md-typeset pre.highlight {
overflow: visible; }
.md-typeset pre.codehilite code, .md-typeset pre.highlight code {
display: block;
padding: 0.525rem 0.6rem;
overflow: auto; }
.md-typeset .codehilitetable, .md-typeset .highlighttable {
display: block;
margin: 1em 0;
border-radius: 0.2em;
font-size: 0.8rem;
overflow: hidden; }
.md-typeset .codehilitetable tbody, .md-typeset .highlighttable tbody,
.md-typeset .codehilitetable td,
@ -1601,7 +1560,7 @@ hr {
.md-typeset .codehilitetable tr, .md-typeset .highlighttable tr {
display: -webkit-box;
display: flex; }
.md-typeset .codehilitetable .codehilite, .md-typeset .highlighttable .codehilite, .md-typeset .codehilitetable .highlight, .md-typeset .highlighttable .highlight,
.md-typeset .codehilitetable pre, .md-typeset .highlighttable pre,
.md-typeset .codehilitetable .linenodiv,
.md-typeset .highlighttable .linenodiv {
margin: 0;
@ -1618,8 +1577,6 @@ hr {
-ms-user-select: none;
user-select: none; }
.md-typeset .codehilitetable .linenos pre, .md-typeset .highlighttable .linenos pre {
margin: 0;
padding: 0;
background-color: transparent;
color: inherit;
text-align: right; }
@ -1629,7 +1586,8 @@ hr {
overflow: hidden; }
.md-typeset > .codehilitetable, .md-typeset > .highlighttable {
box-shadow: none; }
margin: 1em 0;
border-radius: 0.2em; }
.md-typeset [id^="fnref:"] {
display: inline-block; }
@ -1952,7 +1910,7 @@ hr {
order: 99;
width: 100%;
background-color: white; }
.md-typeset .superfences-content > * {
.md-typeset .superfences-content pre {
margin: 0;
border-radius: 0; }
@ -2037,11 +1995,11 @@ hr {
display: none; } }
@media only screen and (max-width: 44.9375em) {
.md-typeset pre {
margin: 1em -0.8rem;
border-radius: 0; }
.md-typeset pre > code {
padding: 0.525rem 0.8rem; }
.md-typeset > pre {
margin: 1em -0.8rem;
border-radius: 0; }
.md-typeset > pre > code {
padding: 0.525rem 0.8rem; }
.md-footer-nav__link--prev .md-footer-nav__title {
display: none; }
.md-search-result__teaser {
@ -2051,23 +2009,14 @@ hr {
margin: 0 -0.8rem;
padding: 0 0.8rem; }
.md-typeset > .codehilite, .md-typeset > .highlight {
margin: 1em -0.8rem; }
.md-typeset > .codehilite code, .md-typeset > .highlight code {
padding: 0.525rem 0.8rem; }
.md-typeset > .codehilitetable, .md-typeset > .highlighttable {
margin: 1em -0.8rem;
border-radius: 0; }
.md-typeset > .codehilite pre, .md-typeset > .highlight pre,
.md-typeset > .codehilite code,
.md-typeset > .highlight code {
padding: 0.525rem 0.8rem; }
.md-typeset > .codehilitetable, .md-typeset > .highlighttable {
margin: 1em -0.8rem;
border-radius: 0; }
.md-typeset > .codehilitetable .codehilite > pre, .md-typeset > .highlighttable .codehilite > pre, .md-typeset > .codehilitetable .highlight > pre, .md-typeset > .highlighttable .highlight > pre,
.md-typeset > .codehilitetable .codehilite > code,
.md-typeset > .highlighttable .codehilite > code,
.md-typeset > .codehilitetable .highlight > code,
.md-typeset > .highlighttable .highlight > code,
.md-typeset > .codehilitetable .linenodiv,
.md-typeset > .highlighttable .linenodiv {
padding: 0.5rem 0.8rem; }
.md-typeset > .codehilitetable .linenodiv, .md-typeset > .highlighttable .linenodiv {
padding: 0.5rem 0.8rem; }
.md-typeset > p > .MJXc-display {
margin: 0.75em -0.8rem;
padding: 0.25em 0.8rem; }
@ -2076,9 +2025,10 @@ hr {
border: 0;
border-top: 0.05rem solid rgba(0, 0, 0, 0.07);
border-radius: 0; }
.md-typeset > .superfences-tabs pre,
.md-typeset > .superfences-tabs code {
padding: 0.525rem 0.8rem; } }
padding: 0.525rem 0.8rem; }
.md-typeset > .superfences-tabs input:first-child + label {
margin-left: 0.2rem; } }
@media only screen and (min-width: 100em) {
html {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to

View File

@ -18,6 +18,6 @@
"search.result.other": "#件見つかりました",
"search.tokenizer": "[\s\- 、。,.]+",
"source.link.title": "リポジトリへ",
"source.revision.date": "最後の更新",
"source.revision.date": "最終更新日",
"toc.title": "目次"
}[key] }}{% endmacro %}

View File

@ -0,0 +1,23 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "ro",
"clipboard.copy": "Copiază în clipboard",
"clipboard.copied": "Copiat în clipboard",
"edit.link.title": "Editeaza această pagină",
"footer.previous": "Anterior",
"footer.next": "Următor",
"meta.comments": "Comentarii",
"meta.source": "Sursă",
"search.language": "ro",
"search.placeholder": "Căutare",
"search.result.placeholder": "Tastează pentru a începe căutarea",
"search.result.none": "Nu a fost găsit niciun document",
"search.result.one": "1 document găsit",
"search.result.other": "# documente găsite",
"skip.link.title": "Sari la conținut",
"source.link.title": "Accesează repository-ul",
"source.revision.date": "Ultima actualizare",
"toc.title": "Cuprins"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
@ -30,7 +30,7 @@ repo_url: https://github.com/squidfunk/mkdocs-material
edit_uri: ""
# Copyright
copyright: 'Copyright &copy; 2016 - 2019 Martin Donath'
copyright: 'Copyright &copy; 2016 - 2020 Martin Donath'
# Configuration
theme:

View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
@ -19,8 +19,8 @@
# IN THE SOFTWARE.
# Direct dependencies
mkdocs>=1
mkdocs>=1.0
mkdocs-minify-plugin>=0.2
Pygments>=2.2
markdown<3.2
pymdown-extensions>=6.2,<6.3
markdown>=3.2
pymdown-extensions>=6.3

View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
* Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
* Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
* Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
* Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
* Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
* Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
* Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to

View File

@ -208,7 +208,16 @@ function setupWorkers(config: Config) {
withCredentials: true
})
.pipe<SearchIndexOptions>(
pluck("response")
pluck("response"),
// map(res => {
// // search language... default for theme language...
// const override = translate("search.tokenizer")
// // TODO: ???
// if (override.length)
// res.config.separator = override
// return res
// })
// take(1)
)

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
* Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
* Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
* Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),
@ -224,12 +224,6 @@ kbd {
line-height: 1.4;
-webkit-overflow-scrolling: touch;
// [mobile -]: Stretch to whole width
@include break-to-device(mobile) {
margin: 1em px2rem(-16px);
border-radius: 0;
}
// Actual container with code, overflowing
> code {
display: block;
@ -241,11 +235,6 @@ kbd {
box-decoration-break: slice;
overflow: auto;
// [mobile -]: Increase padding to match text
@include break-to-device(mobile) {
padding: px2rem(10.5px) px2rem(16px);
}
// Override native scrollbar styles
&::-webkit-scrollbar {
width: px2rem(4px);
@ -264,6 +253,21 @@ kbd {
}
}
// [mobile -]: Stretch to whole width
@include break-to-device(mobile) {
// Stretch top-level containers
> pre {
margin: 1em px2rem(-16px);
border-radius: 0;
// Actual container with code, overflowing
> code {
padding: px2rem(10.5px) px2rem(16px);
}
}
}
// Keystrokes
kbd {
$correct: 1 / 0.85;

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),
@ -213,63 +213,9 @@ $codehilite-whitespace: transparent;
// Scoped in typesetted content to match specificity of regular content
.md-typeset {
// If code blocks are wrapped with codehilite, the styles must be adjusted
// so the marker stretches to the whole width and the padding is respected
.codehilite {
position: relative;
margin: 1em 0;
padding: 0;
border-radius: px2rem(2px);
background-color: $md-code-background;
color: $md-code-color;
line-height: 1.4;
-webkit-overflow-scrolling: touch;
// Actual container with code, overflowing
pre,
code {
display: block;
margin: 0;
padding: px2rem(10.5px) px2rem(12px);
background-color: transparent;
overflow: auto;
// Override native scrollbar styles
&::-webkit-scrollbar {
width: px2rem(4px);
height: px2rem(4px);
}
// Style scrollbar thumb
&::-webkit-scrollbar-thumb {
background-color: $md-color-black--lighter;
// Hovered scrollbar thumb
&:hover {
background-color: $md-color-accent;
}
}
}
}
// If not using Pygments, code will be under pre > code
pre.codehilite {
overflow: visible;
// Actual container with code, overflowing
code {
display: block;
padding: px2rem(10.5px) px2rem(12px);
overflow: auto;
}
}
// Block with line numbers
.codehilitetable {
display: block;
margin: 1em 0;
border-radius: 0.2em;
font-size: ms(0);
overflow: hidden;
// Set table elements to block layout, because otherwise the whole flexbox
@ -288,7 +234,7 @@ $codehilite-whitespace: transparent;
// The pre tags are nested inside a table, so we need to remove the
// margin because it collapses below all the overflows
.codehilite,
pre,
.linenodiv {
margin: 0;
border-radius: 0;
@ -308,8 +254,6 @@ $codehilite-whitespace: transparent;
// Reset spacings
pre {
margin: 0;
padding: 0;
background-color: transparent;
color: inherit;
text-align: right;
@ -324,34 +268,31 @@ $codehilite-whitespace: transparent;
}
}
// Full-width container
> .codehilite {
// Block with line numbers
> .codehilitetable {
margin: 1em 0;
border-radius: 0.2em;
}
// [mobile -]: Stretch to whole width
@include break-to-device(mobile) {
// [mobile -]: Stretch to whole width
@include break-to-device(mobile) {
// Full-width container
> .codehilite {
margin: 1em px2rem(-16px);
border-radius: 0;
// Actual container with code, overflowing
pre,
code {
padding: px2rem(10.5px) px2rem(16px);
}
}
}
// Full-width container on top-level
> .codehilitetable {
box-shadow: none;
// [mobile -]: Stretch to whole width
@include break-to-device(mobile) {
// Full-width container on top-level
> .codehilitetable {
margin: 1em px2rem(-16px);
border-radius: 0;
// Increase spacing
.codehilite > pre,
.codehilite > code,
.linenodiv {
padding: px2rem(10px) px2rem(16px);
}

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),
@ -69,8 +69,8 @@
// Un-targeted anchor
&::before {
display: block;
margin-top: -$delta;
padding-top: $delta;
margin-top: -1 * px2rem($delta);
padding-top: px2rem($delta);
content: "";
}

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),
@ -35,7 +35,7 @@
background-color: $md-color-white;
// Actual content
> * {
pre {
margin: 0;
border-radius: 0
}
@ -91,10 +91,14 @@
border-radius: 0;
// Actual container with code, overflowing
pre,
code {
padding: px2rem(10.5px) px2rem(16px);
}
// First tab label
input:first-child + label {
margin-left: px2rem(4px);
}
}
}
}

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
////
/// Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
/// Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,4 +1,4 @@
# Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
@ -38,6 +38,6 @@
"search.result.other": "#件見つかりました",
"search.tokenizer": "[\s\- 、。,.]+",
"source.link.title": "リポジトリへ",
"source.revision.date": "最後の更新",
"source.revision.date": "最終更新日",
"toc.title": "目次"
}[key] }}{% endmacro %}

Some files were not shown because too many files have changed in this diff Show More