start9-landing/src/assets/styles/dev.scss

64 lines
1.3 KiB
SCSS
Raw Normal View History

2022-07-19 14:25:29 +00:00
#dev {
display: flex;
flex-direction: column;
align-items: center;
//min-height: calc(100vh - 2 * var(--section-padding));
padding: 0 6rem;
2022-07-19 14:25:29 +00:00
h2{
margin: 0;
text-align: center;
}
.cols{
margin-top: 3rem;
display: flex;
align-items: center;
justify-content: center;
2022-07-28 11:55:52 +00:00
gap:1rem;
2022-07-19 14:25:29 +00:00
}
.wrapper{
background: linear-gradient(45deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.05));
2022-07-19 14:25:29 +00:00
max-width: 35ch;
padding: 2rem;
2022-07-19 14:25:29 +00:00
.content {
//padding: 1rem;
2022-07-19 14:25:29 +00:00
h3{
margin: 0;
2022-07-28 11:55:52 +00:00
font-family: var(--f-accent);
font-weight: 300;
font-size: 2rem;
2022-07-19 14:25:29 +00:00
line-height: 1.1em;
2022-07-28 11:55:52 +00:00
color: var(--c-3);
text-transform: none;
padding-bottom: 1rem;
2022-07-19 14:25:29 +00:00
}
}
.footer{
padding: 1rem;
//background: var(--c-spacer);
2022-07-19 14:25:29 +00:00
display: flex;
justify-content: center;
}
}
2022-07-28 11:55:52 +00:00
.code-wrapper{
position: relative;
&::before{
position: absolute;
top: 15rem;
2022-07-28 11:55:52 +00:00
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;
}
}
2022-07-19 14:25:29 +00:00
img {
width: 20rem;
box-shadow: 0 3rem 2rem 0rem rgb(0 0 0 / 40%);
border-radius: 1.3rem;
2022-07-19 14:25:29 +00:00
}
}