mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-23 23:51:08 +02:00
82 lines
1.3 KiB
CSS
82 lines
1.3 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 {
|
|
@media screen {
|
|
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;
|
|
}
|
|
}
|
|
|
|
& .g-section-header {
|
|
margin-bottom: 100px;
|
|
}
|
|
|
|
/* TODO: this should be applied in global styles, temporary override here */
|
|
& pre,
|
|
& code {
|
|
@media screen {
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|