* Add frontmatter to docs files (prep to move) * Move docs into position for website migration * Migrate website from netlify-cms-www Some modifications, including most of the changes in https://github.com/netlify/netlify-cms-www/pull/58 (previously reverted). Also updated the readme and added hugo-bin for quicker onboarding of new docs contributors. * Remove netlify.toml This allows separate build commands for cms-demo and netlifycms.org. * Remove website/netlify.toml May re-add later, but it's not doing anything for now. * Remove unused content file
81 lines
1.5 KiB
CSS
81 lines
1.5 KiB
CSS
.features {
|
|
@neat-row;
|
|
overflow: hidden;
|
|
padding-top: $large;
|
|
position: relative;
|
|
margin: 0 auto $medium auto;
|
|
|
|
@media screen and (min-width: $mobile) {
|
|
margin: 0 auto $large auto;
|
|
padding-top: calc($xl * 1.2);
|
|
}
|
|
|
|
@media screen and (min-width: $tablet) {
|
|
margin-bottom: $medium;
|
|
}
|
|
|
|
&:before {
|
|
background: url('/img/wavy-divider.svg') no-repeat top center;
|
|
background-size: contain;
|
|
top: 0;
|
|
content: '';
|
|
height: $xl;
|
|
left: -$xl;
|
|
position: absolute;
|
|
right: -$xl;
|
|
width: calc(100% + ($xl * 2));
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin-bottom: calc($large * .9);
|
|
padding: 0 $small;
|
|
|
|
@media screen and (min-width: $tablet) {
|
|
padding: 0;
|
|
}
|
|
|
|
+ .features-column .feature {
|
|
@media screen and (min-width: $desktop) {
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|
|
|
|
.features-column {
|
|
@media screen and (min-width: $mobile) {
|
|
@neat-span-columns 6;
|
|
}
|
|
|
|
@media screen and (min-width: $desktop) {
|
|
@neat-span-columns 4;
|
|
}
|
|
}
|
|
|
|
.feature {
|
|
margin-bottom: $small;
|
|
padding: 0 $small;
|
|
text-align: left;
|
|
|
|
@media screen and (min-width: $desktop) {
|
|
margin-bottom: calc($large * 1.37);
|
|
padding: 0;
|
|
}
|
|
|
|
p {
|
|
font-size: 14px;
|
|
line-height: 26px;
|
|
}
|
|
}
|
|
|
|
.features-graphic {
|
|
display: none;
|
|
padding-top: $tiny;
|
|
|
|
|
|
@media screen and (min-width: $desktop) {
|
|
display: inline-block;
|
|
@neat-span-columns 4;
|
|
}
|
|
}
|
|
} |