wagtail/docs/_static/css/custom.css

113 wiersze
1.9 KiB
CSS
Czysty Zwykły widok Historia

2017-12-04 06:29:10 +00:00
body.wy-body-for-nav {
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
Arial, sans-serif;
line-height: 1.5em;
color: #333; /*$color-grey-1*/
background-color: #e6e6e6; /*$color-grey-4*/
2017-12-04 06:29:10 +00:00
}
nav.wy-nav-side {
background-color: #333; /*color-grey-1*/
}
.body--autocomplete-open .wy-nav-side {
position: absolute;
overflow: visible;
}
.body--autocomplete-open .wy-side-scroll {
overflow: visible;
2017-12-04 06:29:10 +00:00
}
div.wy-side-nav-search {
background-color: #007d7e; /*color-teal*/
2017-12-04 06:29:10 +00:00
}
.wy-nav-top {
background-color: #007d7e; /*color-teal*/
2017-12-04 06:29:10 +00:00
}
.wy-side-nav-search > a:hover,
.wy-side-nav-search .wy-dropdown > a:hover {
background: None; /*background for logo*/
2017-12-04 06:29:10 +00:00
}
.wy-side-nav-search > div.version {
color: white;
2017-12-04 06:29:10 +00:00
}
.wy-side-nav-search input[type='text'] {
border-color: #d9d9d9; /*color-grey-3*/
2017-12-04 06:29:10 +00:00
}
.logo {
transition: all 0.25s cubic-bezier(0.28, 0.15, 0, 2.1);
}
.logo:hover {
transform: rotate(4deg);
}
details {
margin-bottom: 1em;
}
/* Wagtail Space */
.wagtailspace {
background: #00676a;
color: white;
border-radius: 6px;
margin-bottom: 2em;
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.wagtailspace svg {
margin-right: 1em;
width: 56px;
}
.wagtailspace a {
display: flex;
color: inherit;
padding: 15px;
text-align: left;
flex-grow: 2;
border: 0;
}
.wagtailspace strong {
font-size: 1.25em;
}
.wagtailspace .wagtailspace-close {
padding: 10px;
width: 56px;
cursor: pointer;
font-weight: bold;
font-size: 1.5em;
color: inherit;
border: 0;
background: none;
}
/* Bounce the UFO on hover */
@keyframes bounce {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
}
.wagtailspace a:hover svg {
animation-duration: 0.5s;
animation-fill-mode: both;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-name: bounce;
}