mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 11:25:41 +03:00
121 lines
2.0 KiB
CSS
121 lines
2.0 KiB
CSS
#p-docs {
|
|
& .content-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
flex: 1 0 auto;
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
@media (min-width: 940px) {
|
|
flex-direction: row;
|
|
margin-top: 72px;
|
|
margin-bottom: 24px;
|
|
}
|
|
}
|
|
|
|
& #inner {
|
|
margin: 64px 0;
|
|
overflow: auto;
|
|
width: 100%;
|
|
|
|
@media (min-width: 940px) {
|
|
flex: 1;
|
|
margin: 0;
|
|
}
|
|
|
|
& .g-content {
|
|
@media (max-width: 939px) {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
& > h1:first-child {
|
|
margin-top: 0;
|
|
|
|
&.has-jts {
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
& .g-section-header {
|
|
margin-bottom: 100px;
|
|
}
|
|
|
|
/* TODO: this should be applied in global styles, temporary override here */
|
|
& pre,
|
|
& code {
|
|
font-size: 0.875em;
|
|
}
|
|
|
|
& pre code {
|
|
font-size: 1em;
|
|
}
|
|
}
|
|
|
|
& #edit-this-page {
|
|
margin-bottom: 48px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
|
|
& a {
|
|
color: var(--gray-1);
|
|
display: flex;
|
|
align-items: center;
|
|
opacity: 0.5;
|
|
transition: opacity 0.4s ease;
|
|
padding-right: 32px;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
& > div {
|
|
margin-right: 9px;
|
|
width: 23px;
|
|
height: 22px;
|
|
}
|
|
}
|
|
}
|
|
|
|
& table tr.warning td {
|
|
background: #fcf8e3;
|
|
}
|
|
|
|
& #jump-to-section {
|
|
margin-bottom: 20px;
|
|
margin-left: 5px;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
position: relative;
|
|
z-index: 3;
|
|
user-select: none;
|
|
|
|
& .trigger {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
& svg {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
& .dropdown {
|
|
display: none;
|
|
position: absolute;
|
|
background: white;
|
|
width: 500px;
|
|
z-index: 2;
|
|
margin: 10px 0 0 0;
|
|
padding: 0 0 0 30px;
|
|
box-shadow: 0 5px 8px rgba(0, 0, 0, 0.25);
|
|
border-radius: 3px;
|
|
|
|
&.active {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|