Files
start9.com/src/assets/styles/dev.scss
2022-07-28 13:55:52 +02:00

60 lines
1.1 KiB
SCSS

#dev {
display: flex;
flex-direction: column;
align-items: center;
padding: 6rem;
h2{
margin: 0;
text-align: center;
}
.cols{
margin-top: 3rem;
display: flex;
align-items: center;
justify-content: center;
gap:1rem;
}
.wrapper{
background-color: var(--c-1);
max-width: 35ch;
.content {
padding: 1rem;
h3{
margin: 0;
font-family: var(--f-accent);
font-weight: 300;
font-size: 2rem;
line-height: 1.1em;
color: var(--c-3);
text-transform: none;
padding-bottom: 1rem;
}
}
.footer{
padding: 1rem;
background: var(--c-spacer);
display: flex;
justify-content: center;
}
}
.code-wrapper{
position: relative;
&::before{
position: absolute;
top: 17rem;
left: -4rem;
content: '';
display: block;
width: 0;
height: 0;
border-top: 2rem transparent solid;
border-right: 2rem #1e1e1e solid;
border-bottom: 2rem transparent solid;
border-left: 2rem transparent solid;
}
}
img {
width: 20rem;
}
}