75 lines
988 B
SCSS
75 lines
988 B
SCSS
//.language-yaml {
|
|
pre {
|
|
display: block;
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
overflow-y: auto;
|
|
padding: 0.5rem;
|
|
margin: 0.5rem 0;
|
|
border-radius: 5px;
|
|
white-space: pre;
|
|
}
|
|
|
|
code {
|
|
display: inline-block;
|
|
word-break: break-word;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.project-wrapper {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
|
|
h1 {
|
|
margin-top: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
h2 {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
h3, h4, h5, h6, p {
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
p {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
.link-back {
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.copy-code-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.copy-code {
|
|
position: absolute;
|
|
top: .5rem;
|
|
right: .5rem;
|
|
cursor: pointer;
|
|
background-color: #1b1f26;
|
|
padding: .3rem ;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.project-wrapper {
|
|
max-width: 100%;
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.project-wrapper {
|
|
padding: 5px;
|
|
}
|
|
}
|
|
|