156 lines
2.6 KiB
SCSS
156 lines
2.6 KiB
SCSS
.ps-page {
|
|
display: flex;
|
|
width: 100vw;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
padding: 0;
|
|
pointer-events: none;
|
|
padding-top: 4rem;
|
|
|
|
@media screen and (min-width: 1200px) {
|
|
padding: 1vw;
|
|
padding-top: 4rem;
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
&_home {
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
&--header {
|
|
width: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: auto;
|
|
position: fixed;
|
|
}
|
|
|
|
&--title {
|
|
font-size: 2rem;
|
|
border-bottom: 0.5rem solid var(--foreground);
|
|
padding-bottom: 0.5rem;
|
|
margin: 2rem;
|
|
}
|
|
|
|
&--subtitle {
|
|
padding-bottom: 0.25rem;
|
|
margin: 2rem;
|
|
};
|
|
|
|
&--section {
|
|
border: 12px solid black;
|
|
margin-top: 2rem;
|
|
margin-bottom: 2rem;
|
|
max-width: 700px;
|
|
flex-basis: 100%;
|
|
flex-shrink: 1;
|
|
pointer-events: all;
|
|
color: var(--foreground);
|
|
background: var(--background);
|
|
overflow-wrap: break-word;
|
|
hyphens: auto;
|
|
pointer-events: all;
|
|
|
|
@media screen and (min-width: 1200px) {
|
|
margin: 1vw;
|
|
}
|
|
|
|
&_home {
|
|
padding: 5vw;
|
|
}
|
|
|
|
&_full {
|
|
max-width: unset;
|
|
width: calc(100vw - 1.6rem);
|
|
margin: 0.8rem;
|
|
|
|
@media screen and (min-width: 1200px) {
|
|
width: 96vw;
|
|
margin: 1vw;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: var(--accent);
|
|
border-bottom: 1px solid transparent;
|
|
transition: border-bottom 0.1s ease;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
border-bottom: 4px solid var(--accent);
|
|
}
|
|
}
|
|
|
|
img {
|
|
width: 230px;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
&--section-link {
|
|
position: sticky;
|
|
top: 0;
|
|
background-color: var(--background);
|
|
padding: 1rem;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
text-align: right;
|
|
padding-left: 132px;
|
|
|
|
@media screen and (min-width: 1200px) {
|
|
display: none;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
&-icon {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
|
|
&--section-contents {
|
|
margin: 2rem;
|
|
margin-bottom: 0;
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
|
|
&:last-child {
|
|
margin-bottom: 5vw;
|
|
}
|
|
|
|
pre,
|
|
code {
|
|
background-color: var(--background-darker-2);
|
|
border-radius: 4px;
|
|
padding: 4px;
|
|
}
|
|
|
|
pre {
|
|
border: 1px solid var(--foreground-lighter-2);
|
|
}
|
|
|
|
> * {
|
|
margin-bottom: 0;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
> .ps-table {
|
|
margin-top: 1rem;
|
|
|
|
+ * {
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
> h2, h3, h4 {
|
|
margin-top: 1.5rem;
|
|
line-height: 1.5;
|
|
}
|
|
}
|
|
}
|
|
|