2082001ff8
* Initial tests set up This adds tests using uvu (we can switch if people want) and restructures things a bit so that it's easier to test. Like in snowpack you set up a little project. In our tests you can say: ```js const result = await runtime.load('/blog/hello-world') ``` And analyze the result. I included a `test-helpers.js` which has a function that will turn HTML into a cheerio instance, for inspecting the result HTML. * Bring snowpack example in * Formatting
46 lines
769 B
SCSS
46 lines
769 B
SCSS
@use '../var' as *;
|
|
// A long feature list in columns
|
|
.feature-list {
|
|
|
|
&-top {
|
|
text-align: left;
|
|
}
|
|
|
|
&-bullets {
|
|
display: grid;
|
|
grid-row-gap: 1em;
|
|
grid-column-gap: 2em;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
margin: 2.5em 0 !important;
|
|
padding: .1em !important;
|
|
list-style: none;
|
|
|
|
h3 {
|
|
margin: 0 0 .25em 0;
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
}
|
|
&-bullet {
|
|
display: list-item;
|
|
padding: 0.25em;
|
|
border-radius: 4px;
|
|
|
|
&::before {
|
|
display: block;
|
|
float: left;
|
|
margin-right: 6px;
|
|
color: green !important;
|
|
content: '✅';
|
|
|
|
}
|
|
}
|
|
&-buttons {
|
|
margin: 2em 0;
|
|
text-align: center;
|
|
}
|
|
&-button {
|
|
display: inline-block;
|
|
margin: 0.5em;
|
|
}
|
|
}
|