website/sass/project.scss

70 lines
931 B
SCSS
Raw Normal View History

//.language-yaml {
pre {
display:flex;
align-items: center;
min-height: 3rem;
2024-10-14 01:15:41 +02:00
white-space: pre-wrap;
word-wrap: break-word;
overflow-x: auto;
padding: .5rem;
margin: .5rem 0;
border-radius: 5px;
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;
}
}