mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Slight facelifting of tabbed blocks
This commit is contained in:
parent
b6657bccda
commit
e3127489ca
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.49424ed7.min.js",
|
"assets/javascripts/bundle.js": "assets/javascripts/bundle.dbd3a7bd.min.js",
|
||||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.49424ed7.min.js.map",
|
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.dbd3a7bd.min.js.map",
|
||||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.f6bd1725.min.js",
|
"assets/javascripts/vendor.js": "assets/javascripts/vendor.f6bd1725.min.js",
|
||||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.f6bd1725.min.js.map",
|
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.f6bd1725.min.js.map",
|
||||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.542c1c70.min.js",
|
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.542c1c70.min.js",
|
||||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.542c1c70.min.js.map",
|
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.542c1c70.min.js.map",
|
||||||
"assets/stylesheets/main.css": "assets/stylesheets/main.7930c394.min.css",
|
"assets/stylesheets/main.css": "assets/stylesheets/main.678c4af4.min.css",
|
||||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
|
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.7930c394.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.678c4af4.min.css' | url }}">
|
||||||
{% if palette.primary or palette.accent %}
|
{% if palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -178,7 +178,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/vendor.f6bd1725.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/vendor.f6bd1725.min.js' | url }}"></script>
|
||||||
<script src="{{ 'assets/javascripts/bundle.49424ed7.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.dbd3a7bd.min.js' | url }}"></script>
|
||||||
{%- set translations = {} -%}
|
{%- set translations = {} -%}
|
||||||
{%- for key in [
|
{%- for key in [
|
||||||
"clipboard.copy",
|
"clipboard.copy",
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
order: 99;
|
order: 99;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
box-shadow: 0 px2rem(-1px) var(--md-default-fg-color--lightest);
|
||||||
|
|
||||||
// Actual content
|
// Actual content
|
||||||
pre {
|
pre {
|
||||||
@ -72,6 +73,7 @@
|
|||||||
|
|
||||||
// Tab label
|
// Tab label
|
||||||
> label {
|
> label {
|
||||||
|
z-index: 1;
|
||||||
width: auto;
|
width: auto;
|
||||||
padding: px2rem(12px) 1.25em px2rem(10px);
|
padding: px2rem(12px) 1.25em px2rem(10px);
|
||||||
color: var(--md-default-fg-color--light);
|
color: var(--md-default-fg-color--light);
|
||||||
@ -79,9 +81,7 @@
|
|||||||
font-size: ms(-1);
|
font-size: ms(-1);
|
||||||
border-bottom: px2rem(2px) solid transparent;
|
border-bottom: px2rem(2px) solid transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition:
|
transition: color 125ms;
|
||||||
color 125ms,
|
|
||||||
border 250ms;
|
|
||||||
|
|
||||||
// Hovered tab label
|
// Hovered tab label
|
||||||
html &:hover {
|
html &:hover {
|
||||||
|
Loading…
Reference in New Issue
Block a user