mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
285 lines
7.3 KiB
CSS
285 lines
7.3 KiB
CSS
@-webkit-keyframes tx-heart {
|
|
0%, 40%, 80%, 100% {
|
|
transform: scale(1);
|
|
}
|
|
20%, 60% {
|
|
transform: scale(1.15);
|
|
}
|
|
}
|
|
@keyframes tx-heart {
|
|
0%, 40%, 80%, 100% {
|
|
transform: scale(1);
|
|
}
|
|
20%, 60% {
|
|
transform: scale(1.15);
|
|
}
|
|
}
|
|
.md-typeset figure > p + figcaption {
|
|
margin-top: -1.2rem;
|
|
}
|
|
.md-typeset .twitter {
|
|
color: #00acee;
|
|
}
|
|
.md-typeset .tx-video {
|
|
width: auto;
|
|
}
|
|
.md-typeset .tx-video__inner {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 0;
|
|
padding-bottom: 56.138%;
|
|
}
|
|
.md-typeset .tx-video iframe {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
border: none;
|
|
}
|
|
.md-typeset .tx-heart {
|
|
-webkit-animation: tx-heart 1000ms infinite;
|
|
animation: tx-heart 1000ms infinite;
|
|
}
|
|
.md-typeset .tx-insiders {
|
|
color: #e91e63;
|
|
}
|
|
.md-typeset .tx-insiders-button {
|
|
font-weight: 400;
|
|
}
|
|
.md-typeset .tx-insiders-count {
|
|
font-weight: 700;
|
|
}
|
|
.md-typeset .tx-insiders-list {
|
|
margin: 2em 0;
|
|
overflow: auto;
|
|
}
|
|
.md-typeset .tx-insiders-list__item {
|
|
display: block;
|
|
float: left;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
margin: 0.2rem;
|
|
overflow: hidden;
|
|
border-radius: 100%;
|
|
transform: scale(1);
|
|
transition: color 125ms, transform 125ms;
|
|
}
|
|
.md-typeset .tx-insiders-list__item img {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
-webkit-filter: grayscale(100%);
|
|
filter: grayscale(100%);
|
|
transition: -webkit-filter 125ms;
|
|
transition: filter 125ms;
|
|
transition: filter 125ms, -webkit-filter 125ms;
|
|
}
|
|
.md-typeset .tx-insiders-list__item:focus, .md-typeset .tx-insiders-list__item:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
.md-typeset .tx-insiders-list__item:focus img, .md-typeset .tx-insiders-list__item:hover img {
|
|
-webkit-filter: grayscale(0%);
|
|
filter: grayscale(0%);
|
|
}
|
|
.md-typeset .tx-insiders-list__item--private {
|
|
color: var(--md-default-fg-color--lighter);
|
|
font-weight: 700;
|
|
font-size: 1.2rem;
|
|
line-height: 3rem;
|
|
text-align: center;
|
|
background: var(--md-default-fg-color--lightest);
|
|
}
|
|
.md-typeset .tx-switch button {
|
|
cursor: pointer;
|
|
transition: opacity 250ms;
|
|
}
|
|
.md-typeset .tx-switch button:focus, .md-typeset .tx-switch button:hover {
|
|
opacity: 0.75;
|
|
}
|
|
.md-typeset .tx-switch button > code {
|
|
display: block;
|
|
color: var(--md-primary-bg-color);
|
|
background-color: var(--md-primary-fg-color);
|
|
}
|
|
.md-typeset .tx-columns ol,
|
|
.md-typeset .tx-columns ul {
|
|
-moz-columns: 2;
|
|
columns: 2;
|
|
}
|
|
@media screen and (max-width: 29.9375em) {
|
|
.md-typeset .tx-columns ol,
|
|
.md-typeset .tx-columns ul {
|
|
-moz-columns: initial;
|
|
columns: initial;
|
|
}
|
|
}
|
|
.md-typeset .tx-columns li {
|
|
-moz-column-break-inside: avoid;
|
|
break-inside: avoid;
|
|
}
|
|
|
|
.md-announce a,
|
|
.md-announce a:focus,
|
|
.md-announce a:hover {
|
|
color: currentColor;
|
|
}
|
|
.md-announce strong {
|
|
white-space: nowrap;
|
|
}
|
|
.md-announce .twitter {
|
|
margin-left: 0.2em;
|
|
}
|
|
|
|
.tx-content__footer {
|
|
margin-top: 1rem;
|
|
text-align: center;
|
|
}
|
|
.tx-content__footer a {
|
|
display: inline-block;
|
|
color: #e91e63;
|
|
transition: transform 250ms cubic-bezier(0.1, 0.7, 0.1, 1), color 125ms;
|
|
}
|
|
.tx-content__footer a:focus, .tx-content__footer a:hover {
|
|
transform: scale(1.2);
|
|
}
|
|
.tx-content__footer hr {
|
|
display: inline-block;
|
|
width: 2rem;
|
|
margin: 1em;
|
|
vertical-align: middle;
|
|
background-color: currentColor;
|
|
border: none;
|
|
}
|
|
|
|
.tx-container {
|
|
padding-top: 1rem;
|
|
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: hsla(0, 0%, 100%, 1)' /></svg>") no-repeat bottom, linear-gradient(to bottom, var(--md-primary-fg-color), #a63fd9 99%, var(--md-default-bg-color) 99%);
|
|
}
|
|
[data-md-color-scheme=slate] .tx-container {
|
|
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: hsla(232, 15%, 21%, 1)' /></svg>") no-repeat bottom, linear-gradient(to bottom, var(--md-primary-fg-color), #a63fd9 99%, var(--md-default-bg-color) 99%);
|
|
}
|
|
|
|
.tx-hero {
|
|
margin: 0 0.8rem;
|
|
color: var(--md-primary-bg-color);
|
|
}
|
|
.tx-hero h1 {
|
|
margin-bottom: 1rem;
|
|
color: currentColor;
|
|
font-weight: 700;
|
|
}
|
|
@media screen and (max-width: 29.9375em) {
|
|
.tx-hero h1 {
|
|
font-size: 1.4rem;
|
|
}
|
|
}
|
|
.tx-hero__content {
|
|
padding-bottom: 6rem;
|
|
}
|
|
@media screen and (min-width: 60em) {
|
|
.tx-hero {
|
|
display: flex;
|
|
align-items: stretch;
|
|
}
|
|
.tx-hero__content {
|
|
max-width: 19rem;
|
|
margin-top: 3.5rem;
|
|
padding-bottom: 14vw;
|
|
}
|
|
.tx-hero__image {
|
|
order: 1;
|
|
width: 38rem;
|
|
transform: translateX(4rem);
|
|
}
|
|
}
|
|
@media screen and (min-width: 76.25em) {
|
|
.tx-hero__image {
|
|
transform: translateX(8rem);
|
|
}
|
|
}
|
|
.tx-hero .md-button {
|
|
margin-top: 0.5rem;
|
|
margin-right: 0.5rem;
|
|
color: var(--md-primary-bg-color);
|
|
}
|
|
.tx-hero .md-button:focus, .tx-hero .md-button:hover {
|
|
color: var(--md-default-bg-color);
|
|
background-color: var(--md-accent-fg-color);
|
|
border-color: var(--md-accent-fg-color);
|
|
}
|
|
.tx-hero .md-button--primary {
|
|
color: #894da8;
|
|
background-color: var(--md-primary-bg-color);
|
|
border-color: var(--md-primary-bg-color);
|
|
}
|
|
|
|
.md-typeset .mdx-icon-search {
|
|
position: relative;
|
|
background-color: var(--md-default-bg-color);
|
|
border-radius: 0.1rem;
|
|
box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1), 0 0.025rem 0.05rem rgba(0, 0, 0, 0.1);
|
|
transition: box-shadow 125ms;
|
|
}
|
|
.md-typeset .mdx-icon-search:focus-within, .md-typeset .mdx-icon-search:hover {
|
|
box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.15), 0 0.025rem 0.05rem rgba(0, 0, 0, 0.15);
|
|
}
|
|
.md-typeset .mdx-icon-search .md-input {
|
|
background: var(--md-default-bg-color);
|
|
box-shadow: 0 0 0.6rem rgba(0, 0, 0, 0.07);
|
|
}
|
|
[data-md-color-scheme=slate] .md-typeset .mdx-icon-search .md-input {
|
|
background: var(--md-code-bg-color);
|
|
}
|
|
.md-typeset .mdx-icon-search-result {
|
|
max-height: 50vh;
|
|
overflow-y: auto;
|
|
-webkit-backface-visibility: hidden;
|
|
backface-visibility: hidden;
|
|
touch-action: pan-y;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--md-default-fg-color--lighter) transparent;
|
|
}
|
|
.md-typeset .mdx-icon-search-result::-webkit-scrollbar {
|
|
width: 0.2rem;
|
|
height: 0.2rem;
|
|
}
|
|
.md-typeset .mdx-icon-search-result::-webkit-scrollbar-thumb {
|
|
background-color: var(--md-default-fg-color--lighter);
|
|
}
|
|
.md-typeset .mdx-icon-search-result::-webkit-scrollbar-thumb:hover {
|
|
background-color: var(--md-accent-fg-color);
|
|
}
|
|
.md-typeset .mdx-icon-search-result__meta {
|
|
position: absolute;
|
|
top: 0.4rem;
|
|
right: 0.6rem;
|
|
color: var(--md-default-fg-color--lighter);
|
|
font-size: 0.64rem;
|
|
}
|
|
.md-typeset .mdx-icon-search-result__list {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
.md-typeset .mdx-icon-search-result__item {
|
|
margin: 0;
|
|
padding: 0.2rem 0.6rem;
|
|
border-bottom: 0.05rem solid var(--md-default-fg-color--lightest);
|
|
}
|
|
.md-typeset .mdx-icon-search-result__item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.md-typeset .mdx-icon-search-result__item > * {
|
|
margin-right: 0.6rem;
|
|
}
|
|
.md-typeset .mdx-icon-search-result__item img {
|
|
width: 0.9rem;
|
|
height: 0.9rem;
|
|
}
|
|
[data-md-color-scheme=slate] .md-typeset .mdx-icon-search-result__item img[src*=squidfunk] {
|
|
-webkit-filter: invert(1);
|
|
filter: invert(1);
|
|
}
|
|
/*# sourceMappingURL=main.css.map */ |