website/sass/project.scss

75 lines
988 B
SCSS
Raw Normal View History

//.language-yaml {
pre {
2024-12-14 23:03:19 +01:00
display: block;
max-width: 100%;
2024-10-14 01:15:41 +02:00
overflow-x: auto;
2024-12-14 23:03:19 +01:00
overflow-y: auto;
padding: 0.5rem;
margin: 0.5rem 0;
border-radius: 5px;
2024-12-14 23:03:19 +01:00
white-space: pre;
}
code {
display: inline-block;
word-break: break-word;
white-space: pre-wrap;
2024-10-14 01:15:41 +02:00
}
2023-08-29 10:08:14 +02:00
.project-wrapper {
2024-10-14 01:15:41 +02:00
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 {
2024-10-14 19:24:42 +02:00
text-align: left;
2024-10-14 01:15:41 +02:00
}
2023-08-29 10:08:14 +02:00
}
2024-10-14 01:15:41 +02:00
2024-10-14 16:52:45 +02:00
.link-back {
margin: 2rem 0;
}
2024-10-15 11:11:08 +02:00
.copy-code-wrapper {
position: relative;
}
.copy-code {
position: absolute;
top: .5rem;
right: .5rem;
cursor: pointer;
background-color: #1b1f26;
padding: .3rem ;
border-radius: 5px;
}
2024-10-14 01:15:41 +02:00
@media (max-width: 768px) {
.project-wrapper {
max-width: 100%;
padding: 1rem;
2024-10-14 01:15:41 +02:00
}
}
@media (max-width: 480px) {
.project-wrapper {
padding: 5px;
}
}